<?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>Not Geekly Correct &#187; Tools</title>
	<atom:link href="http://www.notgeeklycorrect.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.notgeeklycorrect.com</link>
	<description>Blog of a freelance web developer</description>
	<lastBuildDate>Wed, 14 Apr 2010 11:35:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Superswitcher, a super alternative to alt+tab</title>
		<link>http://www.notgeeklycorrect.com/english/2010/01/08/superswitcher-a-super-alternative-to-alttab/</link>
		<comments>http://www.notgeeklycorrect.com/english/2010/01/08/superswitcher-a-super-alternative-to-alttab/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 14:38:39 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=581</guid>
		<description><![CDATA[I recently came across a fantastic alternative to the alt+tab command on Linux, it&#8217;s called Superswitcher.

Nice features on it
Press the command touch (Windows touch on the keyboard) to display Superswitcher.
To switch from a desktop to another press Command + arrow left or right
To switch from available windows in a desktop press Command + arrow up [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across a fantastic alternative to the alt+tab command on Linux, it&#8217;s called <a href="http://code.google.com/p/superswitcher/">Superswitcher</a>.</p>
<p style="text-align: center;"><a href="http://www.notgeeklycorrect.com/wp-content/uploads/superswitcher.png"><img class="size-medium wp-image-582    aligncenter" title="superswitcher" src="http://www.notgeeklycorrect.com/wp-content/uploads/superswitcher-300x187.png" alt="superswitcher" width="300" height="187" /></a></p>
<h3>Nice features on it</h3>
<p>Press the command touch (Windows touch on the keyboard) to display Superswitcher.</p>
<p>To switch from a desktop to another press <strong>Command + arrow left or right</strong></p>
<p>To switch from available windows in a desktop press <strong>Command + arrow up or down</strong></p>
<p>To move a window into another desktop press <strong>Command + shift + arrow left or right</strong></p>
<p>To search within all windows name <strong>Command + [any text]</strong></p>
<h3>Screencast</h3>
<p>I&#8217;ve just recorded a quick screencast to show all these functionalities</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/AGaSatCyxTY&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/AGaSatCyxTY&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h3>So?</h3>
<p>For me it&#8217;s now a must have on every computer I use, because it make organizing my desktops really easily.</p>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/english/2010/01/08/superswitcher-a-super-alternative-to-alttab/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Caffeine for Linux, now available in version 1.0</title>
		<link>http://www.notgeeklycorrect.com/geek-stuff/2009/10/23/caffeine-for-linux-now-available-in-version-1-0/</link>
		<comments>http://www.notgeeklycorrect.com/geek-stuff/2009/10/23/caffeine-for-linux-now-available-in-version-1-0/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 12:34:44 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/english/2009/10/23/caffeine-for-linux-now-available-in-version-1-0/</guid>
		<description><![CDATA[After Shutter, the Skitch like for Linux, I would like to spot the light to a very useful Linux app called Caffeine.
Why is it use for?
Caffeine stop your computer for going to sleep, or just to switch your back light off.
Really useful when watching a video, or during a meting.
You can also add process, that [...]]]></description>
			<content:encoded><![CDATA[<p>After <a href="http://www.notgeeklycorrect.com/tools/2009/10/20/shutter-a-skitch-for-linux/" target="_blank">Shutter</a>, the Skitch like for Linux, I would like to spot the light to a very useful Linux app called Caffeine.</p>
<h3>Why is it use for?</h3>
<p>Caffeine stop your computer for going to sleep, or just to switch your back light off.<br />
Really useful when watching a video, or during a meting.</p>
<p>You can also add process, that will automaticaly enable Caffeine. (Like VLC, OpenOffice, what ever ..).</p>
<h3>How to get it?</h3>
<p>On the <a href="http://www.blastfromthepast.se/blabbermouth/2009/10/caffeine-for-linux-1-released/" target="_blank">Caffeine developer blog</a>, you can find a good introduction to the software.</p>
<p>To install it, just follow the instructions for the <a href="http://www.blastfromthepast.se/caffeine/index.php?title=Downloads" target="_blank">Caffeine Wiki</a>.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=59cfce66-ba77-8256-9200-fb4a7368596d" alt="" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/geek-stuff/2009/10/23/caffeine-for-linux-now-available-in-version-1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shutter, a skitch for linux</title>
		<link>http://www.notgeeklycorrect.com/tools/2009/10/20/shutter-a-skitch-for-linux/</link>
		<comments>http://www.notgeeklycorrect.com/tools/2009/10/20/shutter-a-skitch-for-linux/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 09:25:10 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[alternatives]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/tools/2009/10/20/shutter-a-skitch-for-linux/</guid>
		<description><![CDATA[Yesterday, during a meeting I saw one of a mac addict using Skitch. Like every time I saw someone using a good proper Mac Os only tool, I try to find a proper Linux alternative.
Shutter is the Skitch Linux alternative:
Then I found Shutter. Shutter is the Skitch Linux alternative.To install it on Ubuntu, just download [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, during a meeting I saw one of a mac addict using <a target="_blank" href="http://skitch.com/">Skitch</a>. Like every time I saw someone using a good proper Mac Os only tool, I try to find a proper Linux alternative.<br />
<h3>Shutter is the Skitch Linux alternative:</h3>
<p>Then I found <a href="http://shutter-project.org/" target="_blank">Shutter</a>. Shutter is the Skitch Linux alternative.<br />To install it on Ubuntu, just <a href="http://shutter-project.org/downloads/" target="_blank">download</a> the last version or add the <a href="https://launchpad.net/%7Eshutter/+archive/ppa" target="_blank">Shutter PPA repository</a> to your sources.<br />
<h3>Features:</h3>
<p>As far as I&#8217;ve tested, <a href="http://shutter-project.org/" target="_blank">Shutter</a> is full of goodness. It makes screenshots on Linux easy.</p>
<p>You&#8217;ll be able to capture a entire window, or a portion of you desktop. Multiple capture history is supported.<br />Then you be able to basically edit this image with the built in image editor.<br />And finally you&#8217;ll be able save or upload your screenshot to image sharing website.</p>
<p>I you want to upload your image from Shutter to Flickr, you&#8217;ll need to install Postr. Just read <a href="http://shutter-project.org/faq-help/upload-to-flickr/" target="_blank">Shutter upload to flickr about page</a> to see how easy it is.</p>
<p>I really like when developers come with good solutions for every day problem like this. And definitely <a href="http://shutter-project.org/" target="_blank">Shutter</a> is one of them.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=98e07c0a-05fe-840c-bdec-dcb275f60e9e" /></div>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/tools/2009/10/20/shutter-a-skitch-for-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>My tools of the trade</title>
		<link>http://www.notgeeklycorrect.com/english/2009/10/14/my-tools-of-the-trade/</link>
		<comments>http://www.notgeeklycorrect.com/english/2009/10/14/my-tools-of-the-trade/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 08:53:15 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=510</guid>
		<description><![CDATA[Rubyflow blog started yesterday a thread called Tools of the Trade, so to reply here is my main tools, I use everyday.

Hardware
As described in a previous post I now use a netbook as main development machine until September this year.
Machine1: Medion E1312,11.6&#8243;,Athlon 1.6 Ghz single core, 2 Gig Ram . For all task, it&#8217;s really [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://rubyflow.com/">Rubyflow</a> blog started yesterday a thread called <a href="http://rubyflow.com/items/2865">Tools of the Trade</a>, so to reply here is my main tools, I use everyday.</p>
<p style="text-align: center;"><a href="http://www.notgeeklycorrect.com/wp-content/uploads/DSC00316.JPG"><img class="size-medium wp-image-518  aligncenter" title="DSC00316" src="http://www.notgeeklycorrect.com/wp-content/uploads/DSC00316-300x225.jpg" alt="DSC00316" width="300" height="225" /></a></p>
<h3>Hardware</h3>
<p>As described in a <a href="http://www.notgeeklycorrect.com/english/2009/09/04/netbook-for-webdevelopers/">previous post</a> I now use a netbook as main development machine until September this year.</p>
<p><strong>Machine1:</strong> Medion E1312,11.6&#8243;,Athlon 1.6 Ghz single core, 2 Gig Ram . For all task, it&#8217;s really responsive, but when you run tests, the single core is as slow as a dead cow unfortunately. The screen can sometime be a bit small, but it&#8217;s ok most of the time.</p>
<p><strong>Machine2:</strong> At home, an old P4 is used to backup everything on 1,5 TB hard drive. (Ubuntu server)</p>
<p><strong>Screen:</strong> At home I&#8217;ve got a second monitor, 19&#8243; from HP.</p>
<p><strong>Headphones:</strong> Sennheiser HD215</p>
<p><strong>External mini western digital HD:</strong> 360 Gig in a small pocket size.</p>
<h3>Software</h3>
<p><a href="http://www.ubuntu.com/">Ubuntu</a>, because it&#8217;s efficient and easy. If you want to learn more about my setup you can see my <a href="http://www.notgeeklycorrect.com/english/2009/05/04/2009-rubyists-guide-to-linux-development-environment/">Rubyists guide to Linux development environment</a>.</p>
<p><a href="http://projects.gnome.org/gedit/">Gedit</a> combined with <a href="http://projects.gnome.org/gedit/">Gmate</a> makes my editor of choice under Linux. One day, I&#8217;ll learn to master Vim &#8230;</p>
<p><a href="http://do.davebsd.com/">Gnome-do</a>, a Quicksilver like.</p>
<p><a href="http://banshee-project.org/">Banshee media player</a>, really good at managing music collection and screencast/podcast feeds.</p>
<p><a href="http://www.firefox.com">Firefox 3.5</a>, with web developer extension, bugzilla, Yslow, Delicious.</p>
<p><strong>Tweetcetera</strong> is now my twitter client of choice. Normal you would as I&#8217;m the developer <img src='http://www.notgeeklycorrect.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Should be released in beta soon.</p>
<p><a href="http://liferea.sourceforge.net/">Liferea</a> is my main <acronym title="Really Simple Syndication">RSS</acronym> reader. Needed to do some tricks to make it quick in Ubuntu.</p>
<p><a href="http://projects.gnome.org/evolution/">Gnome-evolution</a> for all my different emails accounts.</p>
<p><strong>Gnome terminal</strong>.</p>
<p><a href="http://github.com/jessevdk/gitg">Gitg</a>, a git desktop app, better than the old gitk.</p>
<p><a href="http://www.gimp.org/">The Gimp</a>, I&#8217;m not a designer, so, that fit my needs.</p>
<p><a href="http://www.inkscape.org/">Inkscape</a>, same as The Gimp. Fits my needs.</p>
<h3>Other</h3>
<p><strong>Bike:</strong> I use an old Raleigh racer bike, transformed into a single speed after an accident.</p>
<p><strong>Bag:</strong> <a href="http://www.amazon.co.uk/Targus-Carry-Case-Messenger-Charcoal/dp/B0013F98PO/ref=sr_1_10?ie=UTF8&amp;s=electronics&amp;qid=1255508744&amp;sr=8-10">Targus messenger bag</a> that can all my life, and carrying it around the city.</p>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/english/2009/10/14/my-tools-of-the-trade/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Netbook for webdevelopers</title>
		<link>http://www.notgeeklycorrect.com/english/2009/09/04/netbook-for-webdevelopers/</link>
		<comments>http://www.notgeeklycorrect.com/english/2009/09/04/netbook-for-webdevelopers/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 15:06:58 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[crazy]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[freelance]]></category>
		<category><![CDATA[medion]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=483</guid>
		<description><![CDATA[I leaved HP 2 days ago, and in the same time I had to give back my laptop. This laptop was nice, powerful, but a bit heavy for my use (nearly 3 Kg).
I&#8217;m now moving into a full time freelancing position, for the first month I&#8217;ll start with a contract where I&#8217;ll work in the [...]]]></description>
			<content:encoded><![CDATA[<p>I leaved HP 2 days ago, and in the same time I had to give back my laptop. This laptop was nice, powerful, but a bit heavy for my use (nearly 3 Kg).</p>
<p>I&#8217;m now moving into a full time freelancing position, for the first month I&#8217;ll start with a contract where I&#8217;ll work in the <a href="http://jivatechnology.com/">Jiva</a> office. So I&#8217;ll need to carry my laptop everyday on my bike. But I also like to have a beer outside in the evening, so I&#8217;ll again carry my laptop everywhere with me. When I said carrying I mean on my bike, as it&#8217;s now becoming my principal mode of transportation.</p>
<p>I also like to have my 2.5&#8243; external hard drive with me, and sometime an external mouse.</p>
<p>At home and office, I&#8217;ll always have a second monitor + keyboard + mouse.</p>
<p>Looking for something to start with, for less than £ 400, I had 2 options :</p>
<ol>
<li>A cheap laptop, with a dual core processor, 15.4&#8243; display (1280&#215;800) and would weight around 3Kg</li>
<li>Looking around these crazy netbooks, with a weight less than 1.5 Kg, but will have a cheap ATOM processor</li>
</ol>
<h3>What do I <strong>REALLY</strong> need</h3>
<p>Yes, that would be lovely to have a spaceship controller computer, but if I don&#8217;t need the its power, why would I spend a fortune.<br />
So my question was, why do I really need?</p>
<p>First this is a secret for nobody, I&#8217;m a Linux guy, and would not consider having an Apple laptop. So all the Mac range is out.<br />
Secondly, even if I spend all day on my computer, it&#8217;s for doing the same thing, web development!<br />
So what to I do everyday, what software I use with my laptop</p>
<ol>
<li>Web development, conding on Gedit or Vim, services open apache/mysql/postgresql/passenger &#8230;</li>
<li>Email (Gnome Evolution), Internet (Firefox, Opera, Chromium)</li>
<li>While I code, I love listening to music in my headphones (using Banshee)</li>
<li>Bluetooth / Wifi</li>
</ol>
<p>I&#8217;ll sometime look at some videos, doing a bit of design with the GIMP, using Skype. Rarely play any games.<br />
I never do any videos montage, music montage or anything like that.</p>
<p>So basically, I just need a text editor, 3 terminals, a music player and an internet browser. Playing time to time a <a href="http://www.wesnoth.org/">Battle for Wesnoth</a>.</p>
<p>I started looking during holidays for laptop/netbook benchmarks, and I already have an ACER ASPIRE ONE, with an ATOM N270 processor and a 8.9&#8243; screen. So I did reinstall it from scratch and installed everything I need for developing. The poor ATOM processor wasn&#8217;t able to cope with GEDIT + Banshee + Firefox all in one time, and was really struggling to give a smooth experience. So the ATOM processor was out for me.</p>
<h3>The rare pearl</h3>
<p><a href="http://www.notgeeklycorrect.com/wp-content/uploads/DSC002751.JPG"><img src="http://www.notgeeklycorrect.com/wp-content/uploads/DSC002751-300x225.jpg" alt="e1312 medion akoya" title="e1312 medion akoya" width="300" height="225" class="aligncenter size-medium wp-image-489" /></a></p>
<p><a href="http://www.notgeeklycorrect.com/wp-content/uploads/DSC00276.JPG"><img src="http://www.notgeeklycorrect.com/wp-content/uploads/DSC00276-300x225.jpg" alt="e1312" title="e1312" width="300" height="225" class="aligncenter size-medium wp-image-490" /></a></p>
<p>I found it in ALDI (I know it&#8217;s strange, but in the UK they are the only MEDION resellers). Medion, is a German brand, quite known in France. They sell cheap electronic stuff, usually good value.</p>
<p>So I found the Medion Akoya E1312 for £339 in ALDI with very good specs :</p>
<ul>
<li>AMD Sempron U 210 (1.5 <acronym title="Gigahertz">GHz</acronym>) processor</li>
<li>1 Go ram</li>
<li>11.6&#8243; screen (1366&#215;768)</li>
<li>ATI Radeon XPRESS 1250 3D card</li>
<li>Wifi n</li>
<li>External HDMI and VGA</li>
<li>1.4 Kg with battery</li>
<li>3 Years warranty</li>
<li>30 Days money back</li>
<li>Windows licence</li>
<li>Full size keyboard, with real Home/PgUp/PgDown/End touch (not the FN + combination)</li>
</ul>
<p>Was really promising, so I decided to give it a try, and using it from a few days, test it during the 48 Hours of the Rails Rumble competition to see how it can cope with an extensive use. If it doesn&#8217;t pass the test, I&#8217;ll use the 30 days money back to return it.</p>
<h3>My Verdict</h3>
<p><strong>The pros</strong><br />
This netbook is just awesome. While it was on windows I tried the 3D card with trackmania nation, and the game just run smoothly. 720P HD video are perfect in full screen.<br />
The keyboard is ok for little bit of work on the move, touch are quite big, so that&#8217;s good for my fingers, real Home / End and PgUp/PgDn touches are a plus.<br />
The 1368&#215;768 resolution is a really plus on this screen, the colour rendering is very good.</p>
<p>I had some problem for the Ubuntu Linux installation (see bellow) but now it&#8217;s all ok. Before the Rails Rumble I upgraded it to 2 Gig ram, and the computer did the 2 days without any restart, even if, in the average I had, 6 used workspaces, 2 Firefox instances, each with more than 10 tabs, 2 Gedit instances, 3 terminals, the GIMP, banshee + streaming radio music, all open at the same time, everything was running smoothly, and the heat generated by the processor was ok.<br />
The suspend and hibernate are working out of the box under Linux.<br />
The power cable has a little on/off button, really smart when you switch off for the night.<br />
No paper inside the machine, so you can open it without breaking the warranty!.</p>
<p><strong>The cons</strong></p>
<p>I had to change the Wifi card for one with better drivers under Linux (but should be fixed soon in future kernel).<br />
The 6 cells battery will give you (Wifi + Internet/Dev) a max of 2H45 under linux. But an optional 9 cells battery cost less than £ 70. The eco and the plane button help you to find the best option to keep the battery running.</p>
<p><strong>So ?</strong></p>
<p>I used this laptop for the Rails Rumble, without external monitor! I wanted to give it a heavy try, and give it back if any problems appears.<br />
Finally the 48 Hours went really good, no headache, no particular problem with the machine.<br />
So, my verdict is, if you are looking a machine to use on the go, or as a cheap development station, go for this machine, at £339, it&#8217;s really a bargain.<br />
The screen resolution made it really usable, the Sempron processor is powerful enough when it&#8217;s it&#8217;s time to multitasking, and the 1,4 Kg (with battery) are wonderful in a laptop bag.</p>
<p>I&#8217;ve found a video with a test (under windows XP) with HD videos and 3D games. But it&#8217;s in German.</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/fryY08Vuj-g&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fryY08Vuj-g&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<h3>Linux tricks for the Medion E1312</h3>
<p><strong>1. 3D drivers</strong></p>
<p>My trick would be to WAIT!. ATI dropped support for this range of 3D card, and they stopped working with the current version of Xorg. But they open the specifications so the open source driver developers are working on an open source implementation of it.<br />
I tried multiple thing to install the 3D drivers, one was to downgrade Xorg to a previous version. Was working quite well, and the 3D drivers made every single game I tested working smoothly. But I had multiple problems regarding the downgrade to, my trick, would be waiting for Karmic and the new Radeon HD drivers with full 3D support (Available in the lastet git branch).</p>
<p><strong>2. Wifi</strong></p>
<p>Hum, I had to use Ndiswrapper to have my card working. But was unable to connect to a WPA2 network. I just changed the card for another Half size mini pci one. Works now like a charm.</p>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/english/2009/09/04/netbook-for-webdevelopers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Starting with backup-manager, or how to never loose data again!</title>
		<link>http://www.notgeeklycorrect.com/english/2009/06/20/starting-with-backup-manager-or-how-to-never-loose-data-again/</link>
		<comments>http://www.notgeeklycorrect.com/english/2009/06/20/starting-with-backup-manager-or-how-to-never-loose-data-again/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 08:11:14 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=423</guid>
		<description><![CDATA[
Loosing data can be quite &#8230; annoying. (Photo on Flickr)
The last thing you want is to have a disaster on your server and being unable to recover your data.
I run all my projects and different blogs on one server, hosted by OVH. So I have multiple databases, gems, websites and configurations that I want to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.flickr.com/photos/11543883@N06/2370375218/"><img class="aligncenter" title="Prevent loosing data!" src="http://farm3.static.flickr.com/2207/2370375218_36a889afe2.jpg" alt="Loosing data can be quite ... annoying." width="500" height="333" /></a></p>
<p style="text-align: center;"><strong><em>Loosing data can be quite &#8230; annoying. (<a href="http://www.flickr.com/photos/11543883@N06/2370375218/" target="_blank">Photo on Flickr</a>)</em></strong></p>
<p style="text-align: justify;">The last thing you want is to have a disaster on your server and being unable to recover your data.<br />
I run all my projects and different blogs on one server, hosted by OVH. So I have multiple databases, gems, websites and configurations that I want to backup.<br />
Hopefully, OVH provide with every dedicated server an external <acronym title="File Transfer Protocol">FTP</acronym> server dedicated to backups.<br />
So I’ve installed backup-manager and make it runs twice a day.</p>
<h2>Warning</h2>
<p style="text-align: justify;">Because backup-manager compress your files into archives, it will cost you some space on the disk, so be sure to change the default value of the target and do your backup on a proper partition.<br />
If you don’t, backup-manager will do the backups in / by default, so when it’ll be full, your sever will not work properly.</p>
<h2>Installation</h2>
<pre class="brush: plain;">
sudo apt-get install backup-manager
</pre>
<h2>Tweacking</h2>
<p>Installation create a default config file. You&#8217;ll need to edit it to match you configuration.</p>
<pre class="brush: plain;">
sudo vi /etc/backup-manager.conf
</pre>
<p>Before I explain you my config file, here is how I&#8217;ve config my server:</p>
<ol>
<li>I have 4 <acronym title="Pre-Hypertext Processing">PHP</acronym> Applications (Blogs/apps) and 3 Ruby on Rails apps running on it.</li>
<li>Each application has it own directory in /home/ .</li>
<li>REE is installed in /opt, and so are the gems.</li>
<li>I keep an automatic backup of my server configurations (<acronym title="Domain Name Server">DNS</acronym>/Host/Users/Right&#8230;) in /home/config (Only accessible by root).</li>
<li>I&#8217;ve created an new partitions call &#8220;/backups&#8221;.</li>
</ol>
<p>So basically, want I want is:</p>
<p>Save my /home/*, /etc/*, /opt/*, all my databases to an external partition then an external <acronym title="File Transfer Protocol">FTP</acronym>.</p>
<p>In backup-manager.conf, you&#8217;ll need to set:</p>
<p><strong>Local Storage</strong></p>
<ul>
<li> BM_REPOSITORY_ROOT 	&#8220;/backups&#8221; 	Where to store local backups</li>
<li> BM_ARCHIVE_TTL 	&#8220;3&#8243; 	Local archive time to live</li>
<li> BM_ARCHIVE_METHOD 	&#8220;tarball&#8221; 	Which archive method do you want to use (You can mix and match different types)</li>
</ul>
<p><strong>Backup directories</strong></p>
<ul>
<li> BM_TARBALL_DIRECTORIES 	&#8220;/etc /home /opt&#8221; 	Directories to backup.</li>
<li> BM_TARBALL_BLACKLIST 	&#8220;/home/nobackup&#8221; 	Exclude some directories</li>
</ul>
<p><strong>Backup transfer</strong></p>
<ul>
<li> BM_UPLOAD_METHOD 	&#8220;ftp&#8221; 	Backups transfer method</li>
<li> BM_UPLOAD_FTP_USER 	&#8220;myftpusername&#8221; 	<acronym title="File Transfer Protocol">FTP</acronym> login</li>
<li> BM_UPLOAD_FTP_PASSWORD 	&#8220;myFtpPassw0rd&#8221; 	<acronym title="File Transfer Protocol">FTP</acronym> Password</li>
<li> BM_UPLOAD_FTP_HOSTS 	&#8220;ftp.backups.com&#8221; 	<acronym title="File Transfer Protocol">FTP</acronym> Server</li>
<li> BM_UPLOAD_FTP_PURGE 	&#8220;true&#8221; 	Clear the remote directory before to upload</li>
<li> BM_UPLOAD_FTP_DESTINATION 	&#8220;/&#8221; 	Upload existing directory.</li>
</ul>
<p><strong>Incremental Archives (set BM_ARCHIVE_METHOD = tarball-incremental)</strong></p>
<ul>
<li> BM_TARBALLINC_MASTERDATETYPE 	&#8220;monthly&#8221; 	Complete archive creation frequency (daily or monthly)</li>
<li> BM_TARBALLINC_MASTERDATEVALUE 	&#8220;23&#8243; 	Creation day of the complete archive</li>
</ul>
<p><strong>Mysql databases</strong></p>
<ul>
<li> BM_MYSQL_DATABASES 	&#8220;mysql1 db2 db3&#8243;&#8221;_ALL_&#8221; 	mysql db names separate by space or _ALL_</li>
<li> BM_MYSQL_ADMINLOGIN 	&#8220;backupuser&#8221; 	Mysql user (DO NOT USE ROOT!, see below)</li>
<li> BM_MYSQL_ADMINPASS 	&#8220;backuppassword&#8221; 	Mysql user password</li>
<li> BM_MYSQL_HOST 	&#8220;localhost&#8221; 	Mysql Server</li>
<li> BM_MYSQL_PORT 	&#8220;3306&#8243; 	Mysql port</li>
<li> BM_MYSQL_FILETYPE 	&#8220;bzip2&#8243; 	Backup compression method</li>
</ul>
<p><strong>Others</strong></p>
<ul>
<li> BM_PRE_BACKUP_COMMAND 	&#8220;&#8221; 	Execute a command before the backup</li>
<li> BM_POST_BACKUP_COMMAND 	&#8220;&#8221; 	Execute a command after the backup</li>
</ul>
<h3>BM_MYSQL_DATABASES</h3>
<p>Please be careful, as you&#8217;ll need to write in this file the login and password of a user to procede to dabases backups.<br />
Don&#8217;t use root!, neither an existing user. You&#8217;re going to create a new user, with limited right on databases and tables, and you&#8217;ll protect the backup manager config file.</p>
<pre class="brush: plain;">
mysql -u root -p
GRANT SHOW DATABASES,SELECT,LOCK TABLES ON *.* TO 'backupuser'@'localhost' IDENTIFIED BY 'secretpassword';
exit;
sudo chown root:root /etc/backup-manager.conf
sudo chmod 640 /etc/backup-manager.conf
</pre>
<p>Now you can set the 2 values in the backup-manager config file.<br />
<strong><br />
export BM_MYSQL_ADMINLOGIN=&#8221;backupuser&#8221;<br />
export BM_MYSQL_ADMINPASS=&#8221;secretpassword&#8221;<br />
</strong></p>
<h3>BM_MYSQL_FILETYPE</h3>
<p>Mysql database compression after dump.</p>
<p><strong>export BM_MYSQL_FILETYPE=&#8221;bzip2&#8243;</strong></p>
<p>Make sure that bzip2 is intalled</p>
<pre class="brush: plain;">
sudo apt-get install bzip2
</pre>
<h3>BM_POST_BACKUP_COMMAND</h3>
<p>Execute a command once bakcup done. You can,for example, use this to send an email after the backup.</p>
<h2>Automated backups</h2>
<p>You can use cron to schedule your backups. Before just create a little script</p>
<pre class="brush: plain;">
cat &lt;&lt; &lt;acronym title=&quot;End of file&quot;&gt;<acronym title="End of file">EOF</acronym>&lt;/acronym&gt; &gt; /etc/backup-manager.sh &amp;&amp; chmod 700 /etc/backup-manager.sh
#!/bin/sh
test -x /usr/sbin/backup-manager || exit 0
/usr/sbin/backup-manager
&lt;acronym title=&quot;End of file&quot;&gt;<acronym title="End of file">EOF</acronym>&lt;/acronym&gt;
</pre>
<p>And now you can add this script to your contab</p>
<pre class="brush: plain;">
crontab -e
</pre>
<p>And add</p>
<pre class="brush: plain;">
1 0 * * * /etc/backup-manager.sh
</pre>
<p>Here is ubuntu cron doc, easy to understand <a href="(https://help.ubuntu.com/community/CronHowto" target="_blank">(https://help.ubuntu.com/community/CronHowto</a>)</p>
<h2>Do more</h2>
<p>For example, you can call backup-manager with <em>backup-manager -c /path/to/configfile</em> and by this way, having 2 crons. One running every days, executing backups of files and db, and another one, in the middle of the day, only for the db <img src='http://www.notgeeklycorrect.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>You can do much more than these options (cd/dvd burning for example), please be sure you read the complete wiki at <a href="http://wiki.backup-manager.org/index.php/Main_Page#Documentation" target="_blank">http://wiki.backup-manager.org/index.php/Main_Page#Documentation</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/english/2009/06/20/starting-with-backup-manager-or-how-to-never-loose-data-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tmsnippets2gedit transform textmate snippets bundle to Gedit xml snippet file</title>
		<link>http://www.notgeeklycorrect.com/geek-stuff/2009/05/05/tmsnippets2gedit-transform-textmate-snippets-bundle-to-gedit-xml-snippet-file/</link>
		<comments>http://www.notgeeklycorrect.com/geek-stuff/2009/05/05/tmsnippets2gedit-transform-textmate-snippets-bundle-to-gedit-xml-snippet-file/#comments</comments>
		<pubDate>Tue, 05 May 2009 16:06:49 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Project Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[gedit]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=340</guid>
		<description><![CDATA[This morning I needed to transform  some Textmate snippets to Gedit format.
I&#8217;ve wrote a quick and dirty code for that (tmsnippets2gedit on github)
You just need to copy the script to the textmate bumdle root directory, and run it.
You&#8217;ll have a new file call result.xml that you need to edit to specify the language format (JS,Ruby,XSL, [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I needed to transform  some Textmate snippets to Gedit format.</p>
<p>I&#8217;ve wrote a quick and dirty code for that (<a href="http://github.com/spyou/tmsnippets2gedit/tree/master">tmsnippets2gedit on github</a>)</p>
<p>You just need to copy the script to the textmate bumdle root directory, and run it.</p>
<p>You&#8217;ll have a new file call result.xml that you need to edit to specify the language format (<acronym title="JavaScript">JS</acronym>,Ruby,<acronym title="eXtensible Stylesheet Language">XSL</acronym>, &#8230;).</p>
<p>Then rename it and copy it to your gedit snippets folder.</p>
<p>The code is not pretty, and is certainly perfectible, but for the moment it works. I&#8217;ll to combine it to the <a href="http://github.com/lexrupy/tm2gtksw2/tree/master">tm2gtksw2 </a>project (this one convert Texmate styles to Gedit styles)</p>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/geek-stuff/2009/05/05/tmsnippets2gedit-transform-textmate-snippets-bundle-to-gedit-xml-snippet-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WiseStamp, an easy way to implement HTML signature in your emails</title>
		<link>http://www.notgeeklycorrect.com/english/2008/10/03/wisestamp-an-easy-way-to-implement-html-signature-in-your-emails/</link>
		<comments>http://www.notgeeklycorrect.com/english/2008/10/03/wisestamp-an-easy-way-to-implement-html-signature-in-your-emails/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 11:44:26 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/english/2008/10/03/wisestamp-an-easy-way-to-implement-html-signature-in-your-emails/</guid>
		<description><![CDATA[Are you looking to attach signature on your Gmail / Aol Mail / Hotmail / Yahoo Mail, without pain ?
WiseStamp Firefox Exension is for you.

This little extension will add a new button on the bottom right of your Firefox status bar. You&#8217;ll just have to do a right click, edit, and start your new signature [...]]]></description>
			<content:encoded><![CDATA[<p>Are you looking to attach signature on your Gmail / Aol Mail / Hotmail / Yahoo Mail, <b>without pain ?</p>
<p></b><a target="_blank" href="http://www.wisestamp.com/">WiseStamp Firefox Exension</a> is for you.</p>
<div align="center"><img style="max-width: 800px;" src="http://www.notgeeklycorrect.com/wp-content/uploads/wisestamp1.gif" /></div>
<p>This little extension will add a new button on the bottom right of your Firefox status bar. You&#8217;ll just have to do a right click, edit, and start your new signature creation.</p>
<p>A basic <acronym title="HyperText Markup Language">HTML</acronym> editor (with Bold, Underline, Link, Center, Image &#8230; ) and some very useful Instant Messenger and WebServices helpers icons, like Facebook or linkedin, will be at your disposal on the WiseStamp interface.</p>
<p>Once saved, you&#8217;re new signature will be automatically sent with your emails.</p>
<p>The only problem is that WiseStamp is only available for Firefox for the moment.</p>
<p>I was looking for a simple solution for a long time now, thanks to Eric from <a target="_blank" href="http://www.presse-citron.net/personnalisez-votre-signature-demail-avec-wisestamp">www.presse-citron.net</a>.</p>
<p>Here is my new signature :</p>
<div align="center"><img style="max-width: 800px;" src="http://www.notgeeklycorrect.com/wp-content/uploads/gmail-compose-mail-nicolasalpigmailcom-1223033803007.png" /></div>
<p>
<div align="center">
</div>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/english/2008/10/03/wisestamp-an-easy-way-to-implement-html-signature-in-your-emails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Before starting a new project, take a look.</title>
		<link>http://www.notgeeklycorrect.com/english/2008/10/02/before-starting-a-new-project-take-a-look/</link>
		<comments>http://www.notgeeklycorrect.com/english/2008/10/02/before-starting-a-new-project-take-a-look/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 12:11:32 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Project Development]]></category>
		<category><![CDATA[Project Management]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/english/2008/10/02/before-starting-a-new-project-give-a-look-to-bort/</guid>
		<description><![CDATA[If you&#8217;re planning to start a new project, from scratch, Jim Neath, from Fudge, had the good idea to create Bort, your application skeleton to start without pain.
What is Bort ?
&#160; &#160; &#160; Ruby on Rails popularity brings to it a lot of very good plugins. And it&#8217;s that, on 98 % case, when you [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re planning to start a new project, from scratch, <a target="_blank" href="http://jimneath.org/">Jim Neath</a>, from <a target="_blank" href="http://www.fudgestudios.com/">Fudge</a>, had the good idea to create <a target="_blank" href="http://github.com/fudgestudios/bort/tree/master">Bort</a>, your application skeleton to start without pain.<em></em></p>
<p><b>What is Bort ?</b></p>
<p>&nbsp; &nbsp; &nbsp; Ruby on Rails popularity brings to it a lot of very good plugins. And it&#8217;s that, on 98 % case, when you start a new project from scratch, you&#8217;re going to do every times the same thing.</p>
<p>&nbsp; &nbsp; &nbsp; From starting your test with Rspec to install the lastest version of RESTFUL&nbsp;Authentication, we do all the same thing every time.</p>
<p>&nbsp; &nbsp; &nbsp; So Bort is just an easy to use starting point, like the scaffolds sometimes.</p>
<p><b>How can I play with it ?</b></p>
<p>&nbsp; &nbsp; &nbsp; Open a terminal and clone Bort git repository : clone                                       <a href="git://github.com/fudgestudios/bort.git" class="git_url_facebox" rel="#git-clone">git://github.com/fudgestudios/bort.git</a> &nbsp;(or download it directly from the <a target="_blank" href="http://github.com/fudgestudios/bort/tree/master">GitHub</a> )</p>
<p>&nbsp; &nbsp; &nbsp; Then a Rake db:migrate will do the magic.</p>
<p><b>What&#8217;s inside ?</b></p>
<p>&nbsp; &nbsp; &nbsp; At this time, a Bort fresh installation come with :
<ol>
<li>RESTful Authentication and params</li>
<li>User Roles</li>
<li>Open ID Authentication</li>
<li>Will Paginate</li>
<li>Rspec &amp; Rspec-rails</li>
<li>Exception Notifier</li>
<li>Asset Packager</li>
<li>Capistrano recipes</li>
</ol>
<p>&nbsp; &nbsp; &nbsp; &nbsp;A rake:bort:[plugin name] will help you to an easy install of some useful plugins.</p>
<p><b>How can you help ?</b></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; On his blog, Jim Neath calls for developers ideas, so give a look and report bugs/ideas <a target="_blank" href="http://jimneath.org/">here</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/english/2008/10/02/before-starting-a-new-project-take-a-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Friday fun, bedposted :D</title>
		<link>http://www.notgeeklycorrect.com/english/2008/09/26/friday-fun-bedposted-d/</link>
		<comments>http://www.notgeeklycorrect.com/english/2008/09/26/friday-fun-bedposted-d/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 09:09:30 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.notgeeklycorrect.com/english/2008/09/26/friday-fun-bedposted-d/</guid>
		<description><![CDATA[
I&#8217;m not really sure if my peanut will like this post, but bedpost is clearly an innovating web application.
This web application is a &#8217;sexual performance&#8217; tracker.
Basically, you have access to a calendar were you&#8217;ll track, hours by hours, your different partners.
After that, the web 2.0 magic, will let you access to a bed activity analysis [...]]]></description>
			<content:encoded><![CDATA[<div align="center"><img style="max-width: 800px;" src="http://www.notgeeklycorrect.com/wp-content/uploads/screenshot.png" />
<div align="left">I&#8217;m not really sure if my peanut will like this post, but <a target="_blank" href="http://www.bedposted.com/">bedpost </a>is clearly an innovating web application.</p>
<p>This web application is a &#8217;sexual performance&#8217; tracker.</p>
<p>Basically, you have access to a calendar were you&#8217;ll track, hours by hours, your different partners.</p>
<p>After that, the web 2.0 magic, will let you access to a bed activity analysis with charts and bars for all your data.</p>
<p>It&#8217;s not an application that I&#8217;ll use, but the idea is very good (I&#8217;ll send it to some friends).</p>
<p><i>What about you, do you know some funny web application like <a target="_blank" href="http://www.bedposted.com/">bedpost </a>?</i></p>
<p></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.notgeeklycorrect.com/english/2008/09/26/friday-fun-bedposted-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
