<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tim Reynolds : Mobile/Web Developer</title>
	<atom:link href="http://timreynolds.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://timreynolds.org</link>
	<description>web and mobile developer</description>
	<lastBuildDate>Tue, 13 Mar 2012 16:44:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Using Grep Efficiently Inside SVN Repositories</title>
		<link>http://timreynolds.org/2012/03/11/using-grep-efficiently-inside-svn-repositories/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-grep-efficiently-inside-svn-repositories</link>
		<comments>http://timreynolds.org/2012/03/11/using-grep-efficiently-inside-svn-repositories/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 01:12:26 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://timreynolds.org/?p=212</guid>
		<description><![CDATA[I&#8217;ve had issues grepping for text inside SVN repositories. The main issue is that grepping inside SVN codebases will return binary and .svn results. I&#8217;ve run into this probably most &#8230;]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had issues grepping for text inside SVN repositories.  The main issue is that grepping inside SVN codebases will return binary and .svn results. I&#8217;ve run into this probably most frequently when using Mac OS X.  For some reason the &#8211;exclude argument doesn&#8217;t work for me and &#8211;exclude-dir is not supported in a default Mac OS X installation ( at least on Lion ).</p>
<p>Here&#8217;s an example of output from grep that&#8217;s irrelevant and should be removed:</p>
<p>Binary file bin/classes/com/android/Class.class matches<br />
src/com/android/.svn/text-base/Dialog.java.svn-base:</p>
<p>So instead of using the &#8211;exclude argument, I&#8217;ve chosen the -v option or &#8211;invert-match </p>
<pre><code>#!/bin/sh
if test -z "$1"
then
          echo "1st argument must be set to your search term";
else
        grep -R $1 * | grep -v 'svn' | grep -v 'Binary*'
fi
</pre>
<p></code></p>
<p>You can copy and paste this code and have it be globally accessible in the Mac OS X terminal by doing the following.  If /usr/local/bin has not been created yet then issue this command:</p>
<p>NOTE: I'm using sudo to execute these commands as the relevant directories are owned by root.</p>
<p># sudo mkdir -p /usr/local/bin</p>
<p>Otherwise create the shell script</p>
<p># sudo vim /usr/local/bin/svngrep</p>
<p>Then cd to the directory and make sure the file is executable.</p>
<p># cd /usr/local/bin/<br />
# chmod 755 svngrep</p>
<p>Now open a new terminal window and cd to the area where you want to search in your SVN repository. From there call the script like so and pass your search argument as the first and only argument.</p>
<p>svngrep MyMethod</p>
<p>Additional search terms can be excluded by adding more | grep -v 'search-term' clauses.</p>
]]></content:encoded>
			<wfw:commentRss>http://timreynolds.org/2012/03/11/using-grep-efficiently-inside-svn-repositories/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>WebDAV Breaks After Installing WordPress</title>
		<link>http://timreynolds.org/2011/12/26/webdav-breaks-after-installing-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=webdav-breaks-after-installing-wordpress</link>
		<comments>http://timreynolds.org/2011/12/26/webdav-breaks-after-installing-wordpress/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 13:58:18 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://timreynolds.org/?p=186</guid>
		<description><![CDATA[If you are using WebDAV with WordPress then most likely the WordPress .htaccess file will break the WebDAV configuration. One basic work around for this is to turn off the &#8230;]]></description>
			<content:encoded><![CDATA[<p>If you are using WebDAV with WordPress then most likely the WordPress .htaccess file will break the WebDAV configuration.  One basic work around for this is to turn off the Apache Rewrite Engine for the directories that you want to enable WebDAV for. </p>
<p># cd into a directory within your html root where you want to enable WebDAV<br />
$ cd /var/www/path/source</p>
<p># then create a .htaccess file and disable the Rewrite Engine<br />
$ vim .htaccess</p>
<p># paste this into the vim file:</p>
<pre><code>&lt;IfModule mod_rewrite.c&gt;
RewriteEngine Off
&lt;/IfModule&gt;
</pre>
<p></code><br />
Then follow the same steps for any other directories you would like to enable. </p>
]]></content:encoded>
			<wfw:commentRss>http://timreynolds.org/2011/12/26/webdav-breaks-after-installing-wordpress/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Centos New MySQL Package Names and PHP/MySQL conflicts</title>
		<link>http://timreynolds.org/2011/12/06/centos-and-phpmysql-conflicts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=centos-and-phpmysql-conflicts</link>
		<comments>http://timreynolds.org/2011/12/06/centos-and-phpmysql-conflicts/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 21:26:41 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://timreynolds.org/wp/wordpress/?p=144</guid>
		<description><![CDATA[I&#8217;m noticing in my version of Centos on AWS that there are new package names for the installation of mysql: yum install MySQL-client-community MySQL-devel-community MySQL-server-community In addition there is a &#8230;]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m noticing in my version of Centos on AWS that there are new package names for the installation of mysql:</p>
<p>yum install MySQL-client-community MySQL-devel-community MySQL-server-community</p>
<p>In addition there is a conflict in getting php to work with mysql.</p>
<p>Install the MySQL-shared-compat-5.1.47-1.rhel4.i386.rpm, it resolves the need for the old mysql lib dependencies for php-mysql, install first this rpm and after this, php-mysql.  So performing these yum installs should get php and mysql working:</p>
<p>yum install MySQL-shared-compat<br />
yum install php-mysql</p>
]]></content:encoded>
			<wfw:commentRss>http://timreynolds.org/2011/12/06/centos-and-phpmysql-conflicts/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>iptables firewall script for bittorrent-curses</title>
		<link>http://timreynolds.org/2011/11/23/iptables-firewall-script-for-aws-bittorrent-curses/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=iptables-firewall-script-for-aws-bittorrent-curses</link>
		<comments>http://timreynolds.org/2011/11/23/iptables-firewall-script-for-aws-bittorrent-curses/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 01:14:54 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://timreynolds.org/wp/wordpress/?p=76</guid>
		<description><![CDATA[This is a basic iptables firewall script for downloading bittorrents: #!/bin/sh iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle &#8230;]]></description>
			<content:encoded><![CDATA[<p>This is a basic iptables firewall script for downloading bittorrents:</p>
<pre><code>
#!/bin/sh
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
#modprobe ip_conntrack
#modprobe ip_conntrack_ftp

# Setting default filter policy
#iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT

# Unlimited access to loop back
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT

# Allow UDP, DNS and Passive FTP
iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT

#allow bittorent incomming client request
iptables -A INPUT -p tcp --destination-port 6881:6999 -j ACCEPT

#Uncomment below to allow sshd incoming client request
#iptables -A INPUT -p tcp -dport 22 -j ACCEPT

# DROP everything and Log it
iptables -A INPUT -j LOG
#iptables -A INPUT -j DROP
</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://timreynolds.org/2011/11/23/iptables-firewall-script-for-aws-bittorrent-curses/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
	</channel>
</rss>

