<?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>picofarad.org &#187; web</title>
	<atom:link href="http://picofarad.org/blog/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://picofarad.org/blog/</link>
	<description>Karl-Martin Skontorp's homepage and blog.</description>
	<lastBuildDate>Sun, 10 Jan 2010 17:28:08 +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>CruiseControl.rb with Apache as front-end</title>
		<link>http://picofarad.org/blog/cruisecontrolrb-with-apache-as-front-end/</link>
		<comments>http://picofarad.org/blog/cruisecontrolrb-with-apache-as-front-end/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 00:51:56 +0000</pubDate>
		<dc:creator>kms</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://picofarad.org/?p=205</guid>
		<description><![CDATA[I run CruiseControl.rb for a few personal projects on a server on the home LAN. CCrb comes with its own web server running by default on port 3333, but I wanted to use my Apache server as a front-end. Doing this through mod_proxy is normally pretty easy. However, I quickly get into trouble with the [...]]]></description>
			<content:encoded><![CDATA[<p>I run <a href="http://cruisecontrolrb.thoughtworks.com/">CruiseControl.rb</a> for a few personal projects on a server on the home LAN. CCrb comes with its own web server running by default on port 3333, but I wanted to use my <a href="http://httpd.apache.org/">Apache</a> server as a front-end. Doing this through <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html">mod_proxy</a> is normally pretty easy. However, I quickly get into trouble with the absolute URLs coming from CCrb as it assumes it is running at the root URL. After some head scratching I find an environment variable for <a href="http://rubyonrails.org/">Rails</a> called RAILS_RELATIVE_URL_ROOT, but setting it doesn&#8217;t change the URLs at all. More head scratching. I finally find <a href="http://inodes.org/blog/2007/04/04/mongrel-rails-and-the-theory-of-relativity/">the solution</a>! Below is the necessary configuration.</p>

<img src="http://picofarad.org/wordpress/wp-content/uploads/2009/01/cc2.png" alt="CruiseControl.rb" title="CruiseControl.rb" width="448" height="256" class="aligncenter size-full wp-image-251" />

<p>
<dl>
<dt>Apache VirtualHost configuration</dt>
<dd>
<pre class="code">
&lt;Proxy *&gt;
    Order deny,allow
    Allow from all
&lt;/Proxy&gt;
ProxyRequests off
ProxyPass /cc/ http://localhost:3333/
ProxyPassReverse /cc/ http://localhost:3333/
</pre>
</dd>

<dt>CruiseControl.rb config/environments/production.rb</dt>
<dd>
<pre class="code">
ActionController::AbstractRequest.relative_url_root = "/cc"
</pre>
</dd>
</dl>
</p>]]></content:encoded>
			<wfw:commentRss>http://picofarad.org/blog/cruisecontrolrb-with-apache-as-front-end/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Must-have Firefox add-ons</title>
		<link>http://picofarad.org/blog/must-have-firefox-add-ons/</link>
		<comments>http://picofarad.org/blog/must-have-firefox-add-ons/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 23:46:17 +0000</pubDate>
		<dc:creator>kms</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://picofarad.org/?p=127</guid>
		<description><![CDATA[Here is my condensed list of the extensions I consider give me the most added value to Mozilla Firefox:

 

tweez 
This is the way to bookmark pages. Just Shift-T, type in a few tags (keywords) and hit enter. Done! I don&#8217;t bother with bookmark categories anymore, I just type tag names directly into the AwesomeBar [...]]]></description>
			<content:encoded><![CDATA[Here is my condensed list of the extensions I consider give me the most added value to <a href="http://www.mozilla.com/firefox/">Mozilla Firefox</a>:

<dl> 

<dt><a href="https://addons.mozilla.org/en-US/firefox/addon/6353">tweez</a></dt> 
<dd>This is <b>the</b> way to bookmark pages. Just Shift-T, type in a few tags (keywords) and hit enter. Done! I don&#8217;t bother with bookmark categories anymore, I just type tag names directly into the <a href="http://ed.agadak.net/2007/11/smartbar-to-awesomebar">AwesomeBar</a> instead of browsing through a hierarchical category system (like, so totally 2007). Unlike categories, multiple tags can also be combined. For example, I add <em>work</em> to anything related to my job which makes it really easy to find later. There are also other tools, such as <a href="https://addons.mozilla.org/en-US/firefox/addon/998">TagSifter</a> which provides a better way to browse bookmarks by tags.</dd> 

<dt><a href="https://addons.mozilla.org/en-US/firefox/addon/2410">Foxmarks Bookmark Synchronizer</a></dt> 
<dd>If you bookmark pages <b>and</b> use multiple computers, you need this one. Once set up, it is completely transparent.</dd> 

<dt><a href="https://addons.mozilla.org/en-US/firefox/addon/748">Greasemonkey</a></dt> 
<dd>I have this for <a href="http://en.wikipedia.org/wiki/User:Cacycle/wikEd">wikiEd</a>. While wikiEd is really great, and by having it as a Greasemonkey script it is instantly available on all <a href="http://www.mediawiki.org/">MediaWiki</a> platforms, it is hardly even the tip of the iceberg of what is possible with Greasemonkey. One starting point is <a href="http://userscripts.org/">userscripts.org</a>.</dd> 

<dt><a href="https://addons.mozilla.org/en-US/firefox/addon/4125">It&#8217;s All Text</a></dt> 
<dd>Just like the <a href="http://www.pragprog.com/the-pragmatic-programmer">Pragmatic Programmer</a> says: <em>&#8220;<strong>Use a Single Editor Well.</strong> The editor should be an extension of your hand; make sure your editor is configurable, extensible, and programmable.&#8221;</em>. How <em>configurable, extensible, and programmable</em> is the default text field? Great book, by the way.</dd>

<dt><a href="https://addons.mozilla.org/en-US/firefox/addon/1956">Tabs Open Relative</a></dt>
<dd>Makes you wonder why this is not the default way to open tags.</dd> 

<dt><a href="https://addons.mozilla.org/firefox/addon/60">Web Developer</a></dt>
<dd>Very useful when working on HTML and CSS. Sometimes slightly useful when browsing the web. Like when you stumble upon a form that should have had its method set to GET.</dd>

<dt><a href="https://addons.mozilla.org/en-US/firefox/addon/433">Flashblock</a></dt> 
<dd>Nice to have on old or slow computers.</dd> 

<dt><a href="http://labs.mozilla.com/projects/ubiquity/">Ubiquity</a></dt>
<dd>I use this mostly for doing Google and Amazon searches by highlighting a term or title in the text. Getting an instant preview of the results saves you for first opening up a search page. Like with Greasemonkey above, there are tons of scripts available.</dd>

</dl>

A pretty big downside to becoming dependent on add-ons is that the compatibility with Firefox beta-versions is pretty poor. At the moment, only Flashblock, It&#8217;s All Text and Ubiquity of the above mentioned are compatible with the latest leading-edge: 3.1b2. Further reading: <a href="https://addons.mozilla.org/en-US/firefox/fashionyourfirefox">Fashion Your Firefox</a> and <a href="https://addons.mozilla.org/en-US/firefox/recommended/">Recommended Add-ons</a>.]]></content:encoded>
			<wfw:commentRss>http://picofarad.org/blog/must-have-firefox-add-ons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
