<?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>andr3w.net</title>
	<atom:link href="http://andr3w.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://andr3w.net</link>
	<description>amateur web development...</description>
	<lastBuildDate>Fri, 19 Mar 2010 17:34:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Search Field Text Without a Submit Button</title>
		<link>http://andr3w.net/2010/03/search-field-text-without-a-submit-button/</link>
		<comments>http://andr3w.net/2010/03/search-field-text-without-a-submit-button/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 17:34:25 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[site updates]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=185</guid>
		<description><![CDATA[If you are trying to implement a search field in your website but do not plan on having a submit button (relying on the user to click enter), you&#8217;re going to want to put instructions somewhere.
In my case, I decided to populate the box it self with the words &#8220;Type and press enter to search&#8221;.
1&#60;input [...]]]></description>
			<content:encoded><![CDATA[<p>If you are trying to implement a search field in your website but do not plan on having a submit button (relying on the user to click enter), you&#8217;re going to want to put instructions somewhere.</p>
<p>In my case, I decided to populate the box it self with the words &#8220;Type and press enter to search&#8221;.</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;q&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Type and press enter to search.&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;searchfield&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></div></td></tr></tbody></table></div>
<p>Unfortunately, this left the user with the task of manually deleting the text in the box before searching. Adding a tiny bit of javascript to your HTML element will automatically remove the text when the user clicks on it <em>and</em> if the user doesn&#8217;t enter anything it will add the text back when the user clicks away.</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;q&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Type and press enter to search.&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;searchfield&quot;</span> </span><br />
<span style="color: #009900;"><span style="color: #000066;">onfocus</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;if ( this.value=='Type and press enter to search.' ) { this.value = ''; }&quot;</span></span><br />
<span style="color: #009900;"><span style="color: #000066;">onblur</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;if ( this.value=='' ) { this.value = 'Type and press enter to search.'; }&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></div></td></tr></tbody></table></div>
<p>Hopefully it works for you all, I have only tested it in Firefox and Safari on a Mac.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2010/03/search-field-text-without-a-submit-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending Google Reader Items to Pinboard</title>
		<link>http://andr3w.net/2009/09/sending-google-reader-items-to-pinboard/</link>
		<comments>http://andr3w.net/2009/09/sending-google-reader-items-to-pinboard/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 07:03:28 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[tube tricks]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=181</guid>
		<description><![CDATA[I just started using Pinboard as an alternative to my previous use of Delicious and Instapaper.
One cool thing that I was able to work out (that I had trouble with using Instapaper) is using the new Send To feature in Google Reader, I can now send links directly to Pinboard as unread items or bookmarks.
The [...]]]></description>
			<content:encoded><![CDATA[<p>I just started using <a href="http://pinboard.in">Pinboard</a> as an alternative to my previous use of <a href="http://delicious.com">Delicious</a> and <a href="http://instapaper.com">Instapaper</a>.</p>
<p>One cool thing that I was able to work out (that I had trouble with using Instapaper) is using the new <a href="http://googlereader.blogspot.com/2009/08/flurry-of-features-for-feed-readers.html">Send To</a> feature in <a href="http://www.google.com/reader">Google Reader</a>, I can now send links directly to Pinboard as unread items or bookmarks.</p>
<p>The <a href="http://pingboard.in/blog">Pinboard blog</a> has basic instructions for sending as bookmarks:</p>
<blockquote><p>Go to Settings, and then the &#8220;Send To&#8221; tab. Click the &#8220;Create Custom Link&#8221; and enter the following:</p>
<p>Name: Pinboard</p>
<p>Url: http://pinboard.in/add?url=${url}&amp;title=${title}</p>
<p>Icon Url: http://pinboard.in/favicon.ico</p></blockquote>
<p>But to send it as an unread item just requires changing the URL to:</p>
<blockquote><p>http://pinboard.in/add?later=yes&amp;noui=yes&amp;jump=close&amp;url=${url}&amp;title=${title}</p></blockquote>
<p>If you&#8217;re a Pinboard user, enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/09/sending-google-reader-items-to-pinboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One-way MySQL DB Syncing for Dummies</title>
		<link>http://andr3w.net/2009/06/one-way-mysql-db-syncing/</link>
		<comments>http://andr3w.net/2009/06/one-way-mysql-db-syncing/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 00:05:06 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[syncing]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=161</guid>
		<description><![CDATA[To ease my development while on the move, I have local development copies of my websites running on my MacBook Pro. This has always worked pretty well for me, as content for my websites was created, predominantly, by myself, and when new content was created at a single site I could sync that database manually and get an up to date local content set.

With my recent efforts into lifestreaming, this is no longer the case. My content now comes in whenever I post content on any website. I'm a fairly frequent user of the internet services that feed my lifestream (twitter, delicious, flickr, etc), and keeping the content on my local version up to date was turned into a troublesome task, forcing manual, tedious syncing each time I went to work.

Without further explanation, here are the steps I took to make a one line MySQL database syncing command.]]></description>
			<content:encoded><![CDATA[<p>To ease my development while on the move, I have local development copies of my websites running on my MacBook Pro. This has always worked pretty well for me, as content for my websites was created, predominantly, by myself, and when new content was created at a single site I could sync that database manually and get an up to date local content set.</p>
<p>With my recent efforts into <a href="http://amdavidson.me">lifestreaming</a>, this is no longer the case. My content now comes in whenever I post content on <em>any</em> website. I&#8217;m a fairly frequent user of the internet services that feed my lifestream (<a href="http://twitter.com/amdavidson">Twitter</a>, <a href="http://delicious.com/amdavidson">Delicious</a>, <a href="http://flickr.com/photos/amdavidson">Flickr</a>, etc), and keeping the content on my local version up to date was turned into a troublesome task, forcing manual, tedious syncing each time I went to work.</p>
<p>Without further explanation, here are the steps I took to make a one line MySQL database syncing command. There may be better ways to do this and if you know them, please comment.</p>
<p>1. Setup a MySQL &#8220;dump&#8221; user. Mine is cleverly named &#8220;dump&#8221; and is passwordless, although if you are more security conscious than I am, you can add a password of your choosing. On the server, log into mysql and issue this GRANT statement from a user with the proper permissions.</p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">GRANT</span> <span style="color: #993333; font-weight: bold;">SELECT</span><span style="color: #66cc66;">,</span> <span style="color: #993333; font-weight: bold;">LOCK</span> <span style="color: #993333; font-weight: bold;">TABLES</span> <span style="color: #993333; font-weight: bold;">ON</span> <span style="color: #ff0000;">`dbname_remote`</span><span style="color: #66cc66;">.*</span> <span style="color: #993333; font-weight: bold;">TO</span> <span style="color: #ff0000;">'dump'</span>@<span style="color: #ff0000;">'localhost'</span>;</div></td></tr></tbody></table></div>
<p>2. Create a bash alias<br />
~/.bashrc :</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ALIAS <span style="color: #007800;">clone_lifestream</span>=<span style="color: #ff0000;">'ssh -q -t hostname &quot;mysqldump -u dump dbname_remote&quot; | mysql -u root dbname_local'</span></div></td></tr></tbody></table></div>
<p><strong>Notes:</strong> For this example, you need to replace a few things.</p>
<ol>
<li>dbname = the remote database name</li>
<li>hostname = the remote hostname</li>
<li>dbname_local = the local database name</li>
<li>clone_lifestream = the name of the alias, can be anything.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/06/one-way-mysql-db-syncing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hashtag and Username Linking in Twitter Apps</title>
		<link>http://andr3w.net/2009/05/hashtag-and-username-linking-in-twitter-apps/</link>
		<comments>http://andr3w.net/2009/05/hashtag-and-username-linking-in-twitter-apps/#comments</comments>
		<pubDate>Tue, 12 May 2009 23:44:50 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[site updates]]></category>
		<category><![CDATA[amdavidson.me]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=151</guid>
		<description><![CDATA[Are you trying to add automatic hashtag and username hot linking in your PHP twitter app?
I just tried to do this with my amdavidson.me lifestreaming site. It&#8217;s just two nested regular expressions. If there&#8217;s some problem with nested preg_replace functions, or if any regular expression geniuses have better ideas, feel free to comment.
But if not, [...]]]></description>
			<content:encoded><![CDATA[<p>Are you trying to add automatic <a href="http://hashtags.org">hashtag</a> and username hot linking in your PHP twitter app?</p>
<p>I just tried to do this with my <a href="http://amdavidson.me">amdavidson.me</a> lifestreaming site. It&#8217;s just two nested regular expressions. If there&#8217;s some problem with nested preg_replace functions, or if any regular expression geniuses have better ideas, feel free to comment.</p>
<p>But if not, here&#8217;s a little code for you, should make things super easy. It assumes your tweet variable is $tweet, replace with whatever you&#8217;d need.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">echo</span> <a href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/\#([a-zA-Z0-9_]{1,15})?/'</span><span style="color: #339933;">,</span> <br />
<span style="color: #0000ff;">&quot;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>http://hashtags.org/tag/<span style="color: #006699; font-weight: bold;">$1</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;#<span style="color: #006699; font-weight: bold;">$1</span>&lt;/a&gt;&quot;</span><span style="color: #339933;">,</span> <br />
<a href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/\@([a-zA-Z0-9_]{1,15})?/'</span><span style="color: #339933;">,</span> <br />
<span style="color: #0000ff;">&quot;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>http://twitter.com/<span style="color: #006699; font-weight: bold;">$1</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;@<span style="color: #006699; font-weight: bold;">$1</span>&lt;/a&gt;&quot;</span><span style="color: #339933;">,</span> <br />
<span style="color: #000088;">$tweet</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/05/hashtag-and-username-linking-in-twitter-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minimalism Revisited</title>
		<link>http://andr3w.net/2009/05/minimalism-revisited/</link>
		<comments>http://andr3w.net/2009/05/minimalism-revisited/#comments</comments>
		<pubDate>Tue, 05 May 2009 01:45:12 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[site updates]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[gpl]]></category>
		<category><![CDATA[minimalism]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=135</guid>
		<description><![CDATA[Well, this site just got more tweaking today to make the theme feel a bit more &#8220;andr3w&#8221;. I&#8217;m pretty comfortable with it now, it will certainly still change, but I don&#8217;t think it will be all that much.
The theme that I based my theme on is called Minimalism and it was done by Christian Geneahr. [...]]]></description>
			<content:encoded><![CDATA[<p>Well, this site just got more tweaking today to make the theme feel a bit more &#8220;andr3w&#8221;. I&#8217;m pretty comfortable with it now, it will certainly still change, but I don&#8217;t think it will be all that much.</p>
<p>The theme that I based my theme on is called <a href="http://www.genaehr.com/minimalism/">Minimalism</a> and it was done by <a href="http://www.genaehr.com/">Christian Geneahr</a>. In turn it was based on the classic <a href="http://binarybonsai.com/wordpress/kubrick/">Kubrick</a>, a theme so widely used and appreciated, I would call it the &#8220;Pappy&#8221; of all Wordpress themes.</p>
<p>With Kubrick&#8217;s fine lineage, Christian was able to make quite a nice minimalist theme. It just needed a couple more refinements for me to feel totally comfortable with it and now that my changes are somewhat stable, it&#8217;s time for me to do my GPL duty.</p>
<p>So, without further adieu: <a href="http://andr3w.net/minimalism-revisited/">Minimalism-Revisited</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/05/minimalism-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Length Errors in Apache Bench</title>
		<link>http://andr3w.net/2009/05/length-errors-in-apache-bench/</link>
		<comments>http://andr3w.net/2009/05/length-errors-in-apache-bench/#comments</comments>
		<pubDate>Mon, 04 May 2009 22:42:02 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=126</guid>
		<description><![CDATA[Are you seeing errors for content length in your Apache Bench tests of your webserver?
I had a hell of a time wondering what was going wrong with my webserver under load and finally found the answer here.
Turns out that Apache Bench takes the first pulled request and compares the length to all subsequent requests. Makes [...]]]></description>
			<content:encoded><![CDATA[<p>Are you seeing errors for content length in your <a href="http://httpd.apache.org/docs/2.0/programs/ab.html">Apache Bench</a> tests of your webserver?</p>
<p>I had a hell of a time wondering what was going wrong with my webserver under load and finally found the answer <a href="http://markmail.org/message/6zsvfw67rjy7hu4x#query:apachebench%20requests%20fail%20length+page:1+mid:b7wzpg43n3eiicu5+state:results">here</a>.</p>
<p>Turns out that Apache Bench takes the first pulled request and compares the length to all subsequent requests. Makes sense for a purely static page, but when you have a random image cropping up, you&#8217;re sure to see at least a couple bits difference in length.</p>
<p>So if you&#8217;re serving straight, hand coded HTML, enjoy the feeling of knowing that you&#8217;re getting the same length content each and every time&#8230; but if you&#8217;re like the rest of us (and anyone who would actually be using Apache Bench) feel free to rage that there&#8217;s no <a href="http://httpd.apache.org/docs/2.0/programs/ab.html#options">command line switch</a> to turn off that silly notification.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/05/length-errors-in-apache-bench/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated .mailfilter for Courier Maildrop and SpamAssassin</title>
		<link>http://andr3w.net/2009/04/updated-mailfilter-for-courier-maildrop-and-spamassassin/</link>
		<comments>http://andr3w.net/2009/04/updated-mailfilter-for-courier-maildrop-and-spamassassin/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 05:18:50 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[courier]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[ham]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[maildrop]]></category>
		<category><![CDATA[mailfilter]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spamassassin]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=119</guid>
		<description><![CDATA[My spam count has exploded in the last few days, so I made a decision to adjust my filtering a little more.
Previously, all messages that got more than 5 points in SpamAssassin tests were flagged and sent to my .Spam folder. This got to be a bit of an issue as I still check there [...]]]></description>
			<content:encoded><![CDATA[<p>My spam count has exploded in the last few days, so I made a decision to adjust my filtering a little more.</p>
<p>Previously, all messages that got more than 5 points in <a href="http://spamassassin.apache.org/">SpamAssassin</a> tests were flagged and sent to my .Spam folder. This got to be a bit of an issue as I still check there to make sure that no emails are miscategorized&#8230; Call me crazy, but I&#8217;m a bit anal when it comes to that stuff. (I missed an interview because of Gmail&#8217;s filters, but that&#8217;s a story for another day).</p>
<p>For the last few days, I&#8217;ve been reviewing the spam counts for both the more cleverly hidden spam and the less-than-clever spam. I&#8217;ve come to realize that while the odds are low that any real emails will get marked as spam if they do they&#8217;ll definitely get a score less than 10. So to combat the large amount of spam that&#8217;s now coming through, emails with greater than 10 points will now be sent directly to the trash.</p>
<p>Here&#8217;s what I put in my .mailfilter file for courier-maildrop:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">if ( /^X-Spam-Level: \*\*\*\*\*\*\*\*\*.*$/ )<br />
{<br />
exit<br />
}<br />
<br />
if ( /X-Spam-Flag/ )<br />
{<br />
to &quot;$DEFAULT.Spam&quot;<br />
}</div></td></tr></tbody></table></div>
<p>This way, anything that gets more than won&#8217;t even be delivered, and all other emails that get a spam flag (greater than 5 points) get sent to spam, then the rest of my filters are processed.</p>
<p>Tested the email with the <a href="http://spamassassin.apache.org/gtube/">GTUBE </a>and with a normal message and it seems to work, but we&#8217;ll see if I wake up in the morning and all my email has been dumped in the trash can.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/04/updated-mailfilter-for-courier-maildrop-and-spamassassin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sweetcron Stream Updating Cron Job</title>
		<link>http://andr3w.net/2009/04/sweetcron-stream-updating-cron-job/</link>
		<comments>http://andr3w.net/2009/04/sweetcron-stream-updating-cron-job/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 02:04:49 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[site updates]]></category>
		<category><![CDATA[amdavidson.me]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[lifestream]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sweetcron]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=114</guid>
		<description><![CDATA[So the Sweetcron documentation isn&#8217;t altogether clear on what you should put in cron for it to update automatically, rather than slowing down a user every 30 minutes.
It&#8217;s fairly intuitive, but for those missing this logical step, do the following.
Change the setting in the admin panel from psuedo-cron to true-cron, and take note of the [...]]]></description>
			<content:encoded><![CDATA[<p>So the Sweetcron documentation isn&#8217;t altogether clear on what you should put in cron for it to update automatically, rather than slowing down a user every 30 minutes.</p>
<p>It&#8217;s fairly intuitive, but for those missing this logical step, do the following.</p>
<p>Change the setting in the admin panel from psuedo-cron to true-cron, and take note of the URL.</p>
<p>Then put the following in your crontab file (easily accessed with &#8216;crontab -e&#8217; on a debian machine):</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">*/5 * * * * curl http://your/true-cron/url</div></td></tr></tbody></table></div>
<p>You can change the 5 to be the number of minutes between updates that you want, and you&#8217;ll definitely want to change the URL to the one listed in your Sweetcron&#8217;s admin page.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/04/sweetcron-stream-updating-cron-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lifestreaming via Sweetcron</title>
		<link>http://andr3w.net/2009/04/lifestreaming-via-sweetcron/</link>
		<comments>http://andr3w.net/2009/04/lifestreaming-via-sweetcron/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 02:00:02 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amdavidson.me]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[lifestream]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sweetcron]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tumblr]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=109</guid>
		<description><![CDATA[Had a Tumblr setup for a while at amdavidson.me but I already have a webserver and didn&#8217;t like dealing with another host.
So I searched around a bit and Sweetcron came up as a viable alternative for an aggregator for all my internet activities. It&#8217;s a pretty cool little app, very lightweight and seems to be [...]]]></description>
			<content:encoded><![CDATA[<p>Had a <a href="http://tumblr.com">Tumblr</a> setup for a while at <a href="http://amdavidson.me">amdavidson.me</a> but I already have a webserver and didn&#8217;t like dealing with another host.</p>
<p>So I searched around a bit and <a href="http://www.sweetcron.com">Sweetcron </a>came up as a viable alternative for an aggregator for all my internet activities. It&#8217;s a pretty cool little app, very lightweight and seems to be pretty extensible, if I get around to it.</p>
<p>Anyways, <a href="http://amdavidson.me">check it out</a>, it has a good summary of all the useless stuff that I do on the internet, all three of the blogs, my twitter account, my delicious bookmarks, and my flickr pictures. One stop shopping.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/04/lifestreaming-via-sweetcron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Redesign</title>
		<link>http://andr3w.net/2009/04/site-redesign/</link>
		<comments>http://andr3w.net/2009/04/site-redesign/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 00:53:26 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[site updates]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=103</guid>
		<description><![CDATA[Changed up the site a little. More to come, wanna try my hand at making the typography interesting.
I just thought the old design was a little over done, so thanks to the awesome theming capability of Wordpress&#8230; Here&#8217;s a new one.
]]></description>
			<content:encoded><![CDATA[<p>Changed up the site a little. More to come, wanna try my hand at making the typography interesting.</p>
<p>I just thought the old design was a little over done, so thanks to the awesome theming capability of Wordpress&#8230; Here&#8217;s a new one.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/04/site-redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
