<?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>{curlybracket} &#187; Tools</title>
	<atom:link href="http://curlybracket.net/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://curlybracket.net</link>
	<description>Développement web. Graphisme.</description>
	<lastBuildDate>Wed, 21 Jul 2010 08:41:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Suitable font replacements for standard non free fonts on free operating systems</title>
		<link>http://curlybracket.net/2010/04/16/suitable-font-replacements-for-standard-non-free-fonts-on-free-operating-systems/</link>
		<comments>http://curlybracket.net/2010/04/16/suitable-font-replacements-for-standard-non-free-fonts-on-free-operating-systems/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 16:53:04 +0000</pubDate>
		<dc:creator>rike</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://curlybracket.net/?p=1234</guid>
		<description><![CDATA[When writing and testing stylesheets while working on a free operating system like GNU/Linux, you will most likely have to install the msttcorefonts package, as typical typefaces like Arial, Verdana, Times New Roman etc. are not included with the distribution of your operating system, as they are not free.  Even worse, you may have to [...]]]></description>
			<content:encoded><![CDATA[<p>When writing and testing stylesheets while working on a free operating system like GNU/Linux, you will most likely have to install the <a href="http://packages.debian.org/search?keywords=msttcorefonts">msttcorefonts</a> package, as typical typefaces like Arial, Verdana, Times New Roman etc. are not included with the distribution of your operating system, as they are not free.  Even worse, you may have to purchase Apple fonts that are included with the Mac operating system, but expensive for anyone else in the world. Wait. Are we making websites only for Windows and Mac users?</p>
<h4>Why use free software, write free software but conform to non free web design?</h4>
<p>Consider a font style like this one:</p>
<p><code>font-family: "Helvetica", sans-serif;</code></p>
<p>On a freshly installed GNU/Linux system this will use the fallback &laquo;&nbsp;sans-serif&nbsp;&raquo; default font, which is most likely <a href="http://en.wikipedia.org/wiki/Bitstream_Vera">Bitstream Vera Sans</a>. Although <em>Bitstream Vera Sans</em> is a very beautiful font, it is really much bigger and wider than Helvetica or Arial. Some designs may not fit anymore or lose their particular character, when viewed on systems without the &laquo;&nbsp;right&nbsp;&raquo; font.<span id="more-1234"></span></p>
<p>The preinstalled fonts that come with both, the Windows and the Mac operating system, are : Arial, Arial Black, Comic Sans, Courier New,Georgia, Impact, Times New Roman, Trebuchet MS and Verdana, as you can see in the &laquo;&nbsp;safe list&nbsp;&raquo; on the indispensable <a href="http://typetester.org">typetester.org</a> website. However, none of those fonts is preinstalled on a free operating system.</p>
<p>Included in free operating systems, you will most likely find the following typefaces, released under a free licence:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Bitstream_Vera">Bitstream Vera</a></li>
<li><a href="http://en.wikipedia.org/wiki/DejaVu_fonts">DejaVu</a> based on Bitstream Vera</li>
<li><a href="http://en.wikipedia.org/wiki/Liberation_fonts">Liberation</a> metrically compatible with Arial, Times New Roman and Courier New</li>
<li><a href="http://en.wikipedia.org/wiki/Nimbus_Sans">Nimbus Sans L</a> based on Helvetica</li>
<li><a href="http://en.wikipedia.org/wiki/Nimbus_Roman_No9_L">Nimbus Roman No9 L</a> based on Times</li>
<li><a href="http://en.wikipedia.org/wiki/Nimbus_Mono_L">Nimbus Mono L</a> based on Courier</li>
<li><a href="http://www.gnu.org/software/freefont/">GNU Free Fonts</a> based on Nimbus</li>
</ul>
<p>I have created a comparison chart &#8211; which ou may visualize here in screenshots [<a href="/wp-content/uploads/2010/04/linuxfontchart-sansserif.png" rel="lightbox[1234]">sans-serif</a> | <a href="/wp-content/uploads/2010/04/serif.png" rel="lightbox[1234]">serif</a> | <a href="/wp-content/uploads/2010/04/monospace.png" rel="lightbox[1234]">monospace</a>] or download  [<a href="https://svn.manurevah.com/trac/mule/browser/web/linux-fonts/index.html">HTML</a> | <a href="https://svn.manurevah.com/trac/mule/browser/web/linux-fonts/linuxfontchart.png" rel="lightbox[1234]">PNG</a>]. It basically boils down to the following replacement suggestions:</p>
<table border="0">
<tbody>
<tr style="text-align: left;">
<th>Non free font</th>
<th colspan="3&quot;">Replacement suggestion</th>
</tr>
<tr style="text-align: left;">
<th>Arial</th>
<td>Liberation Sans</td>
<td></td>
<td></td>
</tr>
<tr style="text-align: left;">
<th>Helvetica</th>
<td>Nimbus Sans L</td>
<td>FreeSans</td>
<td></td>
</tr>
<tr style="text-align: left;">
<th>Verdana</th>
<td>Bitstream Vera Sans</td>
<td>DejaVu Sans</td>
<td></td>
</tr>
<tr style="text-align: left;">
<th>Times New Roman</th>
<td>Liberation Serif</td>
<td></td>
<td></td>
</tr>
<tr style="text-align: left;">
<th>Times</th>
<td>Nimbus Roman No9 L*</td>
<td>FreeSerif*</td>
<td></td>
</tr>
<tr style="text-align: left;">
<th>Georgia</th>
<td>Bitstream Vera Serif</td>
<td>DejaVu Serif</td>
<td></td>
</tr>
<tr style="text-align: left;">
<th>Courier New</th>
<td>Liberation Mono</td>
<td>Bitstream Vera Sans Mono L</td>
<td>DejaVu Sans Mono</td>
</tr>
<tr style="text-align: left;">
<th>Courier</th>
<td>Nimbus Mono L*</td>
<td>FreeMono*</td>
<td></td>
</tr>
</tbody>
</table>
<p>* different line-height, that should probably be adjusted.</p>
<p>In conlusion, the example CSS of the beginning could become :</p>
<p><code>font-family: "Helvetica", "Nimbus Sans L", "FreeSans", sans-serif;</code></p>
<p>So, if the client has Helvetica installed, we use Helvetica, otherwise, we try Nimbus, then FreeSans.</p>
<p>Another example: A stylesheet like this:</p>
<p><code>font-family: "Verdana", "Arial", sans-serif;</code></p>
<p>could become:</p>
<p><code>font-family: "Verdana", "Bitstream Vera Sans", "Arial", "Liberation Sans", sans-serif;</code></p>
<p>You could also write this the other way round, if you prefer the GPL fonts on free operating systems&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://curlybracket.net/2010/04/16/suitable-font-replacements-for-standard-non-free-fonts-on-free-operating-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom horizontal and vertical scrollbars at a time with jQuery</title>
		<link>http://curlybracket.net/2010/02/27/custom-horizontal-and-vertical-scrollbars-at-a-time-with-jquery/</link>
		<comments>http://curlybracket.net/2010/02/27/custom-horizontal-and-vertical-scrollbars-at-a-time-with-jquery/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 21:07:50 +0000</pubDate>
		<dc:creator>rike</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://curlybracket.net/?p=967</guid>
		<description><![CDATA[A client of mine wanted to use custom scrollbars for a website. I quickly found Kelvin Luck&#8217;s jQuery plugin for modifying the browser&#8217;s scrollbar. So, jScrollPane works great for vertical scrollbars and integrates neatly with WordPress, when calling it like this from the &#60;head&#62; section of your WordPress site: var $j = jQuery.noConflict(); $j(function(){ jQuery('.scroll-pane').jScrollPane({scrollbarWidth:10}); [...]]]></description>
			<content:encoded><![CDATA[<p><em>A <a href="http://vizet-architectes.fr">client of mine</a> wanted to use custom scrollbars for a website. I quickly found <a href="http://www.kelvinluck.com/projects/jscrollpane-custom-cross-browser-scrollbars/">Kelvin Luck&#8217;s jQuery plugin for modifying the browser&#8217;s scrollbar</a>. So, jScrollPane works great for vertical scrollbars and integrates neatly with WordPress, when calling it like this from the &lt;head&gt; section of your WordPress site:</em></p>
<pre>var $j = jQuery.noConflict();
$j(function(){
    jQuery('.scroll-pane').jScrollPane({scrollbarWidth:10});
});</pre>
<p><em>However, the client also wanted the horizontal scrollbars customized&#8230;</em></p>
<p><em>It took me several hours to stumble upon the <a href="http://threeformed.com/blog/jscrollhorizontalpane/">modification of Luck&#8217;s plugin by Threeformed</a>, a canadian media company.<br />
But I ran into problems integrating their plugin with WordPress&#8217; </em><em>noConflict function and had to modify all the calls to &laquo;&nbsp;$&nbsp;&raquo;, into &laquo;&nbsp;jQuery&nbsp;&raquo;. It then worked out, but I needed to be able to design it via CSS independently of the vertical scrollbars. In order to do that I added a second CSS selector, through which I was then able to design the horizontal scrollbars using other background images than for the vertical ones.<br />
One strange thing however is that this plugin expects the element you want to add scrollbars to to be set to &laquo;&nbsp;float:left&nbsp;&raquo;, otherwise it has problems calculating the initial width of the horizontal scrollbars.</em></p>
<p><em>You may download my <a href="https://svn.manurevah.com/trac/mule/browser/web/jquery/">modified jQuery plugins here</a>.</em></p>
<p><span id="more-967"></span></p>
<p><em>I am calling the plugin the following way :</em></p>
<pre>var $j = jQuery.noConflict();
var originalSizes = new Array();
$j(function(){
    jQuery('.scroll-horizontal-pane').jScrollHorizontalPane({scrollbarHeight:10});
});</pre>
<p><em>The corresponding CSS could look something like this :</em></p>
<pre>.jScrollPaneContainer {
    position: relative;
    overflow: hidden;
    z-index: 1;
    outline: none;
}
.jScrollPaneTrack {
    position: absolute;
    cursor: pointer;
    right: 0;
    top: 0;
    height: 100%;
    width: 10px;
    background: url(track-vertical.jpg) repeat-y;
}
.jScrollHPaneContainer .jScrollPaneTrack {
    left: 0;
    bottom: 0;
    right: auto;
    top: auto;
    width: 100%;
    height: 10px;
}
.jScrollPaneDrag {
    position: absolute;
    background: url(cap-vertical.jpg) repeat-y;
    cursor: pointer;
    overflow: hidden;
}
.jScrollHPaneContainer .jScrollPaneTrack {
    background: url(track-horizontal.jpg) repeat-x;
}
.jScrollHPaneContainer .jScrollPaneDrag {
    background: url(cap-horizontal.jpg) repeat-x;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://curlybracket.net/2010/02/27/custom-horizontal-and-vertical-scrollbars-at-a-time-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Galleria plugin autoplay</title>
		<link>http://curlybracket.net/2010/02/26/wordpress-galleria-plugin-autoplay/</link>
		<comments>http://curlybracket.net/2010/02/26/wordpress-galleria-plugin-autoplay/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 21:14:54 +0000</pubDate>
		<dc:creator>rike</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://curlybracket.net/?p=974</guid>
		<description><![CDATA[For a client I was looking for a slideshow which could be easily integrated with WordPress and galleria-wp has been my choice. It just does not start the slideshow automatically&#8230; In order to do this I added the following lines of code to the showNavigation if-loop : if ( $showNavigation == 1 ) { // [...]]]></description>
			<content:encoded><![CDATA[<p><em>For a client I was looking for a slideshow which could be easily integrated with WordPress and <a href="http://wordpress.org/extend/plugins/galleria-wp/">galleria-wp</a> has been my choice.<br />
It just does not start the slideshow automatically&#8230;</em></p>
<p><em>In order to do this I added the following lines of code to the showNavigation if-loop :</em></p>
<pre>if ( $showNavigation == 1 ) {
  // code..
} else {
  // autoplay
  jQuery(window).load( function() {
  timerID_$galleryID = setInterval( \"jQuery.galleria.next( 'stage_$galleryID', '$galleryID' );\", $intervalMilliSec );
 });
}</pre>
<p><em>So, if one unselects &laquo;&nbsp;show navigation&nbsp;&raquo; in wp-galleria&#8217;s admin panel in WordPress, the slideshow will autoplay.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://curlybracket.net/2010/02/26/wordpress-galleria-plugin-autoplay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Mailboy – a web interface for Postfix and Amavis</title>
		<link>http://curlybracket.net/2010/01/12/design-mailboy-a-webinterface-for-postfix-and-amavis/</link>
		<comments>http://curlybracket.net/2010/01/12/design-mailboy-a-webinterface-for-postfix-and-amavis/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 18:18:08 +0000</pubDate>
		<dc:creator>rike</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://curlybracket.net/?p=887</guid>
		<description><![CDATA[I made a nice and sober theme for Mailboy, a webinterface for Postfix and Amavis written by Emmanuel Revah. Mailboy is available as a beta-version for the moment but will be published soon under the GPL-License. As you can see, I even use the software myself and am very happy it exists. :)]]></description>
			<content:encoded><![CDATA[<p><a href="http://curlybracket.net/wp-content/uploads/2010/01/mailboy-.png" rel="lightbox[887]"><img class="size-thumbnail wp-image-899 alignnone" title="mailboy interface curly" src="http://curlybracket.net/wp-content/uploads/2010/01/mailboy--305x261.png" alt="mailboy interface curly" width="305" height="261" /></a><em></em></p>
<p><em>I made a nice and sober theme for <a href="http://manurevah.com/blah/en/pages/mailboy">Mailboy</a>, a webinterface for Postfix and Amavis written by Emmanuel Revah. Mailboy is available as a beta-version</em><em> for the moment</em><em> but will be published soon under the GPL-License.<br />
As you can see, I even use the software myself and am very happy it exists. :)<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://curlybracket.net/2010/01/12/design-mailboy-a-webinterface-for-postfix-and-amavis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php-indexes &#8211; a file tree generator</title>
		<link>http://curlybracket.net/2009/07/31/php-indexes-file-tree-generator-with-rss/</link>
		<comments>http://curlybracket.net/2009/07/31/php-indexes-file-tree-generator-with-rss/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 13:51:56 +0000</pubDate>
		<dc:creator>rike</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://curlybracket.net/?p=564</guid>
		<description><![CDATA[php-indexes generates an index of files in a defined folder, similar to the Apache file listing. Files may be ordered by name or date. It also generates an RSS feed. It does not require a database and is configurable via a simple config file for: title and description search engine friendly permalink support (thank you [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-927 alignright" title="php-in" src="http://curlybracket.net/wp-content/uploads/2009/07/php-in-305x148.png" alt="php-in" width="305" height="148" /><em>php-indexes generates an index of files in a defined folder, similar to the Apache file listing. Files may be ordered by name or date. It also generates an RSS feed. It does not require a database and is configurable via a simple config file for:</em></p>
<ul>
<li><em>title and description<br />
</em></li>
<li><em>search engine friendly permalink support (thank you <a href="http://manurevah.com">Manu</a>)<br />
</em></li>
<li><em>defining the number of entries in RSS feed<br />
</em></li>
<li><em>modify style to your needs<br />
</em></li>
</ul>
<p><em>php-indexes is distributed under the GNU Public License (GPL), version 3. Use at your own risk.</em></p>
<p><em>I&#8217;m happy with feedback &amp; criticism.</em></p>
<p><em> <a href="http://curlybracket.net/php-indexes/">Try a demo here</a>.<br />
</em></p>
<p><em>download <a href="http://curlybracket.net/wp-content/uploads/2009/07/php-indexes-v1.1.tar.gz">php-indexes-v1.1.tar.gz</a> | <a href="http://curlybracket.net/wp-content/uploads/2009/07/php-indexes-v1.1.zip">php-indexes-v1.1.zip</a> (mai 2010)<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://curlybracket.net/2009/07/31/php-indexes-file-tree-generator-with-rss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back to the future with genethumb.sh</title>
		<link>http://curlybracket.net/2009/04/12/back-to-the-future-with-genethumb-sh/</link>
		<comments>http://curlybracket.net/2009/04/12/back-to-the-future-with-genethumb-sh/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 20:19:34 +0000</pubDate>
		<dc:creator>rike</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://curlybracket.net/?p=917</guid>
		<description><![CDATA[I have to admit that I converted Sam Hocevar&#8217;s 11 year old gallery generator bash script to something more up to date html-wise just for fun. I added an HTML5  header, replaced the ugly table layout by a list and edited the inline stylesheet to a liquid layout. (Actually, I took the version of Chris [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://curlybracket.net/wp-content/uploads/2010/01/genethumb.png" rel="lightbox[917]"><img class="alignleft size-thumbnail wp-image-918" title="genethumb" src="http://curlybracket.net/wp-content/uploads/2010/01/genethumb-305x129.png" alt="genethumb" width="305" height="129" /></a><em>I have to admit that I converted <a href="http://sam.zoy.org/projects/genethumb/">Sam Hocevar&#8217;s 11 year old gallery generator bash script</a> to something more up to date html-wise <strong>just for fun</strong>.</em><em> I added an HTML5  header, replaced the ugly table </em><em>layout by a list and edited the inline stylesheet to a liquid layout.<br />
</em><em>(Actually, I took the version of Chris Ness because I liked to have a video section too.) </em></p>
<p><em>However here is <a href="http://curlybracket.net/wp-content/uploads/2010/01/genethumb.sh.txt">genethumb.sh v0.1.2_u</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://curlybracket.net/2009/04/12/back-to-the-future-with-genethumb-sh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash video/audio stream recorder script</title>
		<link>http://curlybracket.net/2008/05/12/bash-videoaudio-stream-recorder-script/</link>
		<comments>http://curlybracket.net/2008/05/12/bash-videoaudio-stream-recorder-script/#comments</comments>
		<pubDate>Mon, 12 May 2008 14:46:25 +0000</pubDate>
		<dc:creator>rike</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Recorder]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://curlybracket.net/?p=888</guid>
		<description><![CDATA[Ce script permet de programmer des enregistrements de streams audio et vidéo, notamment de la Freebox. Il utilise l&#8217;interface sans GUI de VLC, cVLC. Les script sont publiés sous licence WTFPL. You can program stream recordings with it, and it works pretty well. It uses the GUIless interface of VLC, cVLC. Probably you could do [...]]]></description>
			<content:encoded><![CDATA[<p>Ce script permet de programmer des enregistrements de streams audio et vidéo, notamment de la Freebox. Il utilise l&#8217;interface sans GUI de VLC, cVLC. Les script sont publiés sous licence <a href="http://en.wikipedia.org/wiki/WTFPL">WTFPL</a>.</p>
<p><em>You can program stream recordings with it, and it works pretty well. It uses the GUIless interface of VLC, cVLC. Probably you could do the same with mplayer/mencoder. The scripts are published under the <a href="http://en.wikipedia.org/wiki/WTFPL">WTF Public Licence</a>.</em></p>
<ul>
<li><em>Video Recorder</em><em>: <a href="http://curlybracket.net/wp-content/uploads/2008/05/video-stream-recording.sh.txt">video-stream-recording.sh</a></em></li>
<li><em>Audio Recorder: <a href="http://curlybracket.net/wp-content/uploads/2008/05/stream-audio-recording.sh.txt">stream-audio-recording.sh</a></em></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://curlybracket.net/2008/05/12/bash-videoaudio-stream-recorder-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
