Send this to a friend
1 gem install i18n tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler
2
3 gem install rails --pre
gem install i18n tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler
gem install rails --pre
Send this to a friend
run this task
1 rake paperclip:refresh class=MyClass
rake paperclip:refresh class=MyClass
Send this to a friend
1 AddType application/octet-stream .doc .mov .avi .pdf .xls .mp4
AddType application/octet-stream .doc .mov .avi .pdf .xls .mp4
Send this to a friend
1 find . -name ".DS_Store" -depth -exec rm {} \;
find . -name ".DS_Store" -depth -exec rm {} \;
Send this to a friend
1 mysqldump -u username -ppassword –all-databases > dump.sql
mysqldump -u username -ppassword –all-databases > dump.sql
Send this to a friend
1 diskutil partitionDisk /Volumes/leozera 1 MBRFormat "MS-DOS FAT32" "leozera" 100%
diskutil partitionDisk /Volumes/leozera 1 MBRFormat "MS-DOS FAT32" "leozera" 100%
Send this to a friend
1 #!/bin/sh
2 for f in *.flv;
3 do
4 echo "Processing $f"
5 ffmpeg -i "$f" -target ntsc-dvd "${f%.flv}.mpg"
6 done
#!/bin/sh
for f in *.flv;
do
echo "Processing $f"
ffmpeg -i "$f" -target ntsc-dvd "${f%.flv}.mpg"
done
Send this to a friend
1 sudo find / -type f -size +200000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
sudo find / -type f -size +200000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Send this to a friend
1 sudo port install tiff -macosx
2 sudo port install jpeg
3 sudo port install libpng
4 sudo port install libwmf
5 sudo port install lcms
6 sudo port install freetype
7 sudo port install ghostscript
8 sudo port install GraphicsMagick
9 sudo port install ImageMagick
10 sudo gem install rmagick
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
Send this to a friend
1 ctrl+shift+> = open and close erb tags <% = %>
2 alt+command+] = auto indent highlighted code
3 ctrl+shift+w = auto put html tags around highlighted code
4 alt+command+> = auto close tag
5 ctrl+command+w = close all open tabs
6 alt+command+a = type on the end of multiple lines of highlighted code
ctrl+shift+> = open and close erb tags <% = %>
alt+command+] = auto indent highlighted code
ctrl+shift+w = auto put html tags around highlighted code
alt+command+> = auto close tag
ctrl+command+w = close all open tabs
alt+command+a = type on the end of multiple lines of highlighted code