<?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"
	>

<channel>
	<title>YAB &#187; 2008 &#187; May</title>
	<atom:link href="http://blog.alexgirard.com/2008/05/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alexgirard.com</link>
	<description>Yet Another Blog</description>
	<pubDate>Wed, 26 Nov 2008 23:44:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>[Wordpress] Pressmark: Bookmarks with Wordpress CMS</title>
		<link>http://blog.alexgirard.com/wordpress-pressmark-bookmarks-with-wordpress-cms/</link>
		<comments>http://blog.alexgirard.com/wordpress-pressmark-bookmarks-with-wordpress-cms/#comments</comments>
		<pubDate>Thu, 22 May 2008 15:24:27 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[bookmark]]></category>

		<category><![CDATA[del.icio.us]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[mod]]></category>

		<category><![CDATA[sabrosus]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/?p=163</guid>
		<description><![CDATA[Pressmark with a Wordpress installation with all you need to start a social bookmarking website (like del.icio.us, sabros.us, &#8230;).


You can see a demo of Pressmark installation on bookmark.alexgirard.com
Pressmark includes Wordpress Prologue theme, which has been used by Wordpress team to have a twitter-like dev-blog.
Prologue include Gravatar support, so go to upload your avatar on gravatar.com [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://blog.alexgirard.com/wp-content/uploads/2008/05/icon-big.png'><img src="http://blog.alexgirard.com/wp-content/uploads/2008/05/icon-big-150x150.png" alt="" title="Wordpress" width="150" height="150" class="alignleft size-thumbnail wp-image-164" /></a>Pressmark with a <a href="http://www.wordpress.org">Wordpress</a> installation with all you need to start a social bookmarking website (like <a href="http://del.icio.us">del.icio.us</a>, <a href="http://sabros.us">sabros.us</a>, &#8230;).</p>
<p><a href='http://bookmark.alexgirard.com'><img src="http://blog.alexgirard.com/wp-content/uploads/2008/05/image-1-300x212.png" alt="" title="Demo" width="300" height="212" class="aligncenter size-medium wp-image-165" /></a></p>
<p><strong><br />
You can see a demo of Pressmark installation on <a href="http://bookmark.alexgirard.com">bookmark.alexgirard.com</a></strong></p>
<p>Pressmark includes <a href="http://svn.automattic.com/wpcom-themes/prologue/">Wordpress Prologue theme</a>, which has been used by Wordpress team to have a <a href="http://prologuedemo.wordpress.com/">twitter-like dev-blog</a>.<br/><br />
Prologue include <a href="http://gravatar.com">Gravatar</a> support, so go to upload your avatar on <a href="http://gravatar.com">gravatar.com</a> to have a nicer output!</p>
<p>If you feel like adding your own modification to the code, you can clone/fork the project on Github: <a href="http://github.com/alx/pressmark/">http://github.com/alx/pressmark/</a>. All contributions will be welcomed!</p>
<p><strong>Ideas to extend Pressmark:</strong></p>
<ul>
<li>Bookmarlet, Jabber bot for easy posting;</li>
<li>Import from bigger social-bookmark accounts (delicious, magnolia, &#8230;)</li>
<li>Cross-blogging to decentralized bookmark management in various blog spaces</li>
</ul>
<h3>Installation</h3>
<ul>
<li>Get Pressmark sources:
<ul>
<li><a href='http://github.com/alx/pressmark/tarball/master'>Download it from Github</a></li>
<li>If you&#8217;ve got git installed, clone it from Github (to easily get last updated)<br />
		<code><br />
		git clone git://github.com/alx/pressmark.git pressmark<br />
		</code>
		</li>
</ul>
</li>
<li>Move the source to your webserver, ask a geek how to do it if you don&#8217;t know <img src='http://blog.alexgirard.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Wordpress configuration: copy &#8216;<em>wp-config-sample.php</em>&#8216; to &#8216;<em>wp-config.php</em>&#8216; and fill up the MySQL database information.</li>
<li>Access to the website where you&#8217;ve installed Pressmark, and begin the &#8220;2 min. installation&#8221; from Wordpress</li>
<li>Now that your website is ready, go in the administration pages and activate the following options:
<ul>
<li>In &#8216;<em>Design</em>&#8216;: select &#8216;<em>Prologue</em>&#8216; theme;</li>
<li>In &#8216;<em>Setting</em>&#8216;: select &#8216;<em>Anyone can register</em>&#8216; and set the &#8216;<em>New User Default Role</em>&#8216; to &#8216;<em>Author</em>&#8216; if you want your users to post links;</li>
<li>In &#8216;<em>Plugins</em>&#8216;: activate &#8216;<em>WP-OpenID</em>&#8216; plugin</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/wordpress-pressmark-bookmarks-with-wordpress-cms/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Nginx] fastcgi configuration on Centos</title>
		<link>http://blog.alexgirard.com/nginx-fastcgi-configuration-on-centos/</link>
		<comments>http://blog.alexgirard.com/nginx-fastcgi-configuration-on-centos/#comments</comments>
		<pubDate>Tue, 20 May 2008 10:48:58 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[502]]></category>

		<category><![CDATA[bad gateway]]></category>

		<category><![CDATA[centos]]></category>

		<category><![CDATA[configuration]]></category>

		<category><![CDATA[fastcgi]]></category>

		<category><![CDATA[nginx]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/?p=160</guid>
		<description><![CDATA[After a week of &#8220;502 Bad Gateway&#8221; error on blog.feevy.com, it was time to dive in our new Nginx toy on Feevy server and understand what happened.
First, Nginx is not like Apache or Lighttpd, it doesn&#8217;t support FastCGI by default. So, you need to be sure you&#8217;ve compiled the fcgi module with your PHP installation.
On [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.alexgirard.com/wp-content/uploads/2008/05/nginx_small.png" alt="" title="Nginx" width="150" height="50" class="alignleft size-full wp-image-161" />After a week of &#8220;<em>502 Bad Gateway</em>&#8221; error on <a href="http://blog.feevy.com">blog.feevy.com</a>, it was time to dive in our new <a href="http://wiki.codemongers.com/Main">Nginx</a> toy on Feevy server and understand what happened.</p>
<p>First, Nginx is not like Apache or Lighttpd, it doesn&#8217;t support FastCGI by default. So, you need to be sure you&#8217;ve compiled the fcgi module with your PHP installation.</p>
<p>On Centos, to compile a new PHP, just launch: <strong><em>/scripts/easyapache</em></strong></p>
<p>Then you&#8217;ll need to launch the FastCGI process, <a href='http://blog.alexgirard.com/wp-content/uploads/2008/05/fastcgi_script.txt'>download this FastCGI script</a>, place it in /usr/local/bin, and <a href="http://www.zabbix.com/forum/showthread.php?t=3280">add it to your init.d</a>.</p>
<p>At the end, you just need to configure your php server in nginx, that would be the most simple part:</p>
<pre class="prettyprint">
  server {
      listen 80;
      server_name     blog.feevy.com;
      index           index.php;
      root            /home/wwwfeev/blog;

      if (!-e $request_filename) {
        rewrite  ^(.*)$  /index.php?q=$1  last;
        break;
      }

      location ~ \.php$ {
         fastcgi_pass  127.0.0.1:9999;
         fastcgi_index index.php;
         fastcgi_param SCRIPT_NAME $fastcgi_script_name;
         fastcgi_param REQUEST_URI $request_uri;
         fastcgi_param DOCUMENT_URI $document_uri;
         fastcgi_param DOCUMENT_ROOT $document_root;
         fastcgi_param REMOTE_ADDR $remote_addr;
         fastcgi_param REMOTE_PORT $remote_port;
         fastcgi_param SERVER_ADDR $server_addr;
         fastcgi_param SERVER_PORT $server_port;
         fastcgi_param SERVER_NAME $server_name;
         fastcgi_param SCRIPT_FILENAME  /home/wwwfeev/blog/$fastcgi_script_name;
         fastcgi_param QUERY_STRING $query_string;
         fastcgi_param REQUEST_METHOD $request_method;
         fastcgi_param CONTENT_TYPE $content_type;
         fastcgi_param CONTENT_LENGTH $content_length;
      }
  }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/nginx-fastcgi-configuration-on-centos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[RepRap] Stepper motors ready</title>
		<link>http://blog.alexgirard.com/reprap-stepper-motors-ready/</link>
		<comments>http://blog.alexgirard.com/reprap-stepper-motors-ready/#comments</comments>
		<pubDate>Mon, 19 May 2008 20:10:15 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[3D]]></category>

		<category><![CDATA[cartesian]]></category>

		<category><![CDATA[reprap]]></category>

		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/?p=159</guid>
		<description><![CDATA[Sorry for all the people who couldn&#8217;t watch the Reprap move in 3D last friday in Bilbao, it&#8217;s finally working tonight!
The code to control the robot is really elegant, and it was not really hard to find the missing part to make it work properly.
I&#8217;ve also add a setMax() method on the axises, so the [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for all the people who couldn&#8217;t watch the Reprap move in 3D last friday in Bilbao, it&#8217;s finally working tonight!</p>
<p>The code to control the robot is really elegant, and it was not really hard to find the missing part to make it work properly.<br />
I&#8217;ve also add a setMax() method on the axises, so the hardware opto-endstop are not needed anymore. but it&#8217;ll be cool to keep them just to use them to set the print-header home. I think I&#8217;ve seen some example like this somewhere, but I&#8217;m not usre yet how it works.</p>
<p><object type="application/x-shockwave-flash" width="400" height="327" data="http://www.flickr.com/apps/video/stewart.swf?v=49235" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&amp;photo_secret=c29a497681&amp;photo_id=2506646070"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=49235"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=49235" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&amp;photo_secret=c29a497681&amp;photo_id=2506646070" height="327" width="400"></embed></object></p>
<p>People interesting in downloading/cloning/forking the Arduino firmware for Reprap can <a href="http://github.com/alx/reprap-arduino-firmware/">go to the project page on Github</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/reprap-stepper-motors-ready/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Textmate] Arduino Bundle</title>
		<link>http://blog.alexgirard.com/textmate-arduino-bundle/</link>
		<comments>http://blog.alexgirard.com/textmate-arduino-bundle/#comments</comments>
		<pubDate>Sun, 18 May 2008 20:50:46 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[arduino]]></category>

		<category><![CDATA[bundle]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[reprap]]></category>

		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/?p=157</guid>
		<description><![CDATA[ After first days with the Darwin machine, it became clear that something was needed to replace the current Arduino software and upload the RepRap firmware directly from Textmate.
So here comes my first Textmate Bundle, thanks to the elegant work of Arduino team to make it easier to upload program from command line:
Arduino.tmbundle
Once installed, only [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://github.com/alx/arduino.tmbundle/tree/master'><img src="http://blog.alexgirard.com/wp-content/uploads/2008/05/textmate-logo.png" alt="" title="Textmate" width="148" height="142" class="alignleft size-medium wp-image-158" style="border:0px" /></a> After first days with the <a href="http://reprap.org/bin/view/Main/RepRapOneDarwin">Darwin</a> machine, it became clear that something was needed to replace the current <a href="http://arduino.cc">Arduino</a> software and upload the <a href="http://reprap.org">RepRap</a> firmware directly from <a href="http://macromates.com">Textmate</a>.</p>
<p>So here comes my first Textmate Bundle, thanks to the elegant work of Arduino team to make it easier to <a href="http://www.arduino.cc/en/Hacking/CommandLine">upload program from command line</a>:</p>
<p><a href="http://github.com/alx/arduino.tmbundle/tarball/master">Arduino.tmbundle</a></p>
<p>Once installed, only one shortcut is available to make and upload your program on the Arduino board: <strong>Command-Shift-A</strong></p>
<p>You can <a href="http://github.com/alx/arduino.tmbundle/tree/master">clone/fork the project from Github</a> too, make your own repository and I&#8217;ll be glad to add your patch to the current simple bundle.<br />
And come back during the week, you&#8217;ll surely see some update during the intensive RepRap hack session!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/textmate-arduino-bundle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Wordpress] Register hooks hacks</title>
		<link>http://blog.alexgirard.com/wordpress-register-hooks-hacks/</link>
		<comments>http://blog.alexgirard.com/wordpress-register-hooks-hacks/#comments</comments>
		<pubDate>Wed, 07 May 2008 07:34:49 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[action]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[hook]]></category>

		<category><![CDATA[register]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/?p=156</guid>
		<description><![CDATA[On the way to launch Live ClÃ¶thing, I had to hack this morning the register action hooks for Wordpress, that don&#8217;t work as simply as excepted.
&#8216;register_post&#8217; action
You won&#8217;t be able to add more errors in $errors if you do not make it global in register_new_user() of wp-login.php:

function register_new_user($user_login, $user_email) {
	global $errors;

&#8216;user_register&#8217; action
For some strange reason, [...]]]></description>
			<content:encoded><![CDATA[<p>On the way to launch <a href="http://live.orlandooo-things.net">Live ClÃ¶thing</a>, I had to hack this morning the register action hooks for <a href="http://wordpress.org">Wordpress</a>, that don&#8217;t work as simply as excepted.</p>
<p><strong>&#8216;register_post&#8217; action</strong></p>
<p>You won&#8217;t be able to add more errors in $errors if you do not make it global in <em>register_new_user()</em> of <em>wp-login.php</em>:<br />
<code class="prettyprint"><br />
function register_new_user($user_login, $user_email) {<br />
	global $errors;<br />
</code></p>
<p><strong>&#8216;user_register&#8217; action</strong></p>
<p>For some strange reason, $user_id is not available, you&#8217;ll need to add this hack to read it in your hook function:<br />
<code class="prettyprint"><br />
$user_id = (int) func_get_arg( 0 );<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/wordpress-register-hooks-hacks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Jabber] Delicious Bot</title>
		<link>http://blog.alexgirard.com/jabber-delicious-bot/</link>
		<comments>http://blog.alexgirard.com/jabber-delicious-bot/#comments</comments>
		<pubDate>Sat, 03 May 2008 12:00:42 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[bot]]></category>

		<category><![CDATA[github]]></category>

		<category><![CDATA[jabber]]></category>

		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/?p=155</guid>
		<description><![CDATA[Because when I see a good link, my main pleasure is to send it to as many friends as possible on IM, here is a simple jabber bot I could use to also save these links to my delicious account:
Download from github.com
It uses jabber-bot and rdelicious gem for ruby, you just need to configure the [...]]]></description>
			<content:encoded><![CDATA[<p>Because when I see a good link, my main pleasure is to send it to as many friends as possible on IM, here is a simple jabber bot I could use to also save these links to my delicious account:</p>
<p><a href="http://github.com/alx/delicious-bot/tarball/master">Download from github.com</a></p>
<p>It uses <a href="http://socket7.net/software/jabber-bot">jabber-bot</a> and <a href="http://rdelicious.rubyforge.org">rdelicious</a> gem for ruby, you just need to configure the config.yml with your jabber and delicious login information and maje it run with:</p>
<p><code>ruby delicious-bot.rb</code></p>
<p>The bot will connect to the master jabber you&#8217;ve configured in the config.yml, and you just need to send him the bookmark command:</p>
<p><code>bookmark url description</code></p>
<p>You can add your commands easily inside the bot, and fork the project from Github.com:</p>
<p><a href="http://github.com/alx/delicious-bot/tree/master">Delicious-bot project on github.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/jabber-delicious-bot/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
