<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Keith Bentrup&#8217;s Portforlio</title>
	<link>http://portfolio.keithbentrup.com</link>
	<description>A brief sampling of my work</description>
	<lastBuildDate>Tue, 02 Mar 2010 23:04:19 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Setting the file mode in svn</title>
		<description><![CDATA[I sometimes keep and share development related scripts in the repository, but by default, svn will not remember file modes. To set the script to execute, simply type:

svn propset svn:executable ON myfile.sh

In TortoiseSVN, just set a new property on the file:

]]></description>
		<link>http://portfolio.keithbentrup.com/archives/258</link>
			</item>
	<item>
		<title>Experimentation in virtualization</title>
		<description><![CDATA[So I&#8217;ve been using virtual machines much more frequently recently, but only new VM&#8217;s that I&#8217;ve created. This weekend was my first attempt at P2V (physical to virtual). I have a decent XP dual core machine that has served me well for the last 2 years, but after my upgrade to a nice I7 Win7 [...]]]></description>
		<link>http://portfolio.keithbentrup.com/archives/245</link>
			</item>
	<item>
		<title>Bookmarklet to modify links on a page</title>
		<description><![CDATA[I recently needed to modify hundreds of links on a wiki page based on a dynamic value, so I created a simple bookmarklet (ModWikiLinks).
I searched for a tool to properly format/shrink it and found: the bookmarklet crunchinator.

var user = prompt('Enter your username');
var links = document.querySelectorAll('a[href*=localhost]');
for (i in links) {
 if (typeof links[i].href !== &#34;undefined&#34;) {
 [...]]]></description>
		<link>http://portfolio.keithbentrup.com/archives/233</link>
			</item>
	<item>
		<title>pcregrep</title>
		<description><![CDATA[I recently learned about pcregrep, a enhanced grep that supports perl regex syntax. This is great for searches that span multiple line. For example, the other day I was looking thru old css files that had a border set to 0 to be removed due to the inclusion of a reset.css lib. So &#8230;.

pcregrep --color [...]]]></description>
		<link>http://portfolio.keithbentrup.com/archives/226</link>
			</item>
	<item>
		<title>More one liners</title>
		<description><![CDATA[Back with more one liners&#8230;
This one converts all html tags in a file to lowercase.
perl -pi.old -e 's/(&#60;\/?)(address&#124;applet&#124;area&#124;a&#124;base&#124;basefont&#124;big&#124;blockquote&#124;body&#124;br&#124;b&#124;caption&#124;center&#124;cite&#124;code&#124;dd&#124;dfn&#124;dir&#124;div&#124;dl&#124;dt&#124;em&#124;font&#124;form&#124;h1&#124;h2&#124;h3&#124;h4&#124;h5&#124;h6&#124;head&#124;hr&#124;html&#124;img&#124;input&#124;isindex&#124;i&#124;kbd&#124;link&#124;li&#124;map&#124;menu&#124;meta&#124;ol&#124;option&#124;param&#124;pre&#124;p&#124;samp&#124;script&#124;select&#124;small&#124;strike&#124;strong&#124;style&#124;sub&#124;sup&#124;table&#124;td&#124;textarea&#124;th&#124;title&#124;tr&#124;tt&#124;ul&#124;u&#124;var)([\s\/&#62;])/$1.lc($2).$3/gie' file
This concatenates all files of a specified type &#8211; prefixed with its title. Useful for quick code review across many files.

for i in $(find -regex &#34;.*\.jsp$&#34;); do echo '&#60;!--' $i '--&#62;'; cat $i; done &#62; combined.jsp

This one [...]]]></description>
		<link>http://portfolio.keithbentrup.com/archives/221</link>
			</item>
</channel>
</rss>
