<?xml version="1.0" encoding="UTF-8"?>
<codes type="array">
  <code>
    <code>gem install i18n tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler

gem install rails --pre</code>
    <created-at type="datetime">2010-02-20T16:31:50Z</created-at>
    <description></description>
    <id type="integer">211</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>rails 3 two lines install </title>
    <updated-at type="datetime">2010-02-20T16:31:50Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>rake paperclip:refresh class=MyClass</code>
    <created-at type="datetime">2009-10-26T14:50:39Z</created-at>
    <description>run this task</description>
    <id type="integer">205</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>paperclip refresh all images</title>
    <updated-at type="datetime">2009-10-26T14:50:39Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>AddType application/octet-stream .doc .mov .avi .pdf .xls .mp4</code>
    <created-at type="datetime">2009-08-22T15:34:32Z</created-at>
    <description></description>
    <id type="integer">198</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>force download .htaccess</title>
    <updated-at type="datetime">2009-08-22T15:34:32Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>find . -name &quot;.DS_Store&quot; -depth -exec rm {} \;</code>
    <created-at type="datetime">2009-08-22T15:32:00Z</created-at>
    <description></description>
    <id type="integer">197</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>delete recursively a file (.DS_Store, thumbs.db...)</title>
    <updated-at type="datetime">2009-08-22T15:32:00Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>mysqldump -u username -ppassword &#8211;all-databases &gt; dump.sql</code>
    <created-at type="datetime">2009-08-22T15:26:33Z</created-at>
    <description></description>
    <id type="integer">193</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>backup all mysql database</title>
    <updated-at type="datetime">2009-08-22T15:26:33Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>diskutil partitionDisk /Volumes/leozera 1 MBRFormat &quot;MS-DOS FAT32&quot; &quot;leozera&quot; 100%</code>
    <created-at type="datetime">2009-03-01T18:35:46Z</created-at>
    <description></description>
    <id type="integer">156</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>formatting a drive as fat32 in mac os</title>
    <updated-at type="datetime">2009-03-01T18:35:46Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>#!/bin/sh
for f in *.flv;
do
echo &quot;Processing $f&quot;
ffmpeg -i &quot;$f&quot; -target ntsc-dvd &quot;${f%.flv}.mpg&quot;
done</code>
    <created-at type="datetime">2009-03-01T15:50:17Z</created-at>
    <description></description>
    <id type="integer">155</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>batch convertion: ffmpeg avi -&gt; mpg</title>
    <updated-at type="datetime">2009-03-01T15:50:17Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>sudo find / -type f -size +200000k -exec ls -lh {} \; | awk '{ print $9 &quot;: &quot; $5 }'</code>
    <created-at type="datetime">2009-01-25T23:13:14Z</created-at>
    <description></description>
    <id type="integer">150</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>find large files</title>
    <updated-at type="datetime">2009-01-25T23:13:14Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>sudo port install tiff -macosx
sudo port install jpeg
sudo port install libpng
sudo port install libwmf
sudo port install lcms
sudo port install freetype
sudo port install ghostscript
sudo port install GraphicsMagick
sudo port install ImageMagick
sudo gem install rmagick</code>
    <created-at type="datetime">2008-12-22T20:23:47Z</created-at>
    <description></description>
    <id type="integer">139</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>rmagick install on leopard</title>
    <updated-at type="datetime">2008-12-22T20:23:47Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>ctrl+shift+&gt; = open and close erb tags &lt;% = %&gt;
alt+command+] = auto indent highlighted code
ctrl+shift+w = auto put html tags around highlighted code
alt+command+&gt; = auto close tag
ctrl+command+w = close all open tabs
alt+command+a = type on the end of multiple lines of highlighted code</code>
    <created-at type="datetime">2008-12-14T13:56:21Z</created-at>
    <description></description>
    <id type="integer">136</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>textmate's shortcuts</title>
    <updated-at type="datetime">2008-12-14T13:56:21Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
</codes>
