you are in: codestackercodes [RSS] → tag: mac [RSS]

formatting a drive as fat32 in mac os Delicious Email

show/hide lines
   1  diskutil partitionDisk /Volumes/leozera 1 MBRFormat "MS-DOS FAT32" "leozera" 100%
created by leozera — 01 March 2009 — get a short url — tags: fat32 format mac embed

rmagick install on leopard Delicious Email

show/hide lines
   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
created by leozera — 22 December 2008 — get a short url — tags: imagemagick leopard mac rmagick ruby embed

ffmpeg on mac os leopard Delicious Email

source: http://www.haykranen.nl/2007/11/21/howto-install-and-use-ffmpeg-on-mac-os-x-leopard/

show/hide lines
   1  sudo port install ffmpeg +gpl +lame +x264 +xvid
created by leozera — 26 November 2008 — get a short url — tags: ffmpeg leopard mac embed

spotlight commands Delicious Email

show/hide lines
   1  disable spotlight
   2  sudo mdutil -i off 
   3  
   4  clean spotlight index
   5  sudo mdutil -E 
   6  
   7  enable spotlight
   8  sudo mdutil -i on 
created by leozera — 23 November 2008 — get a short url — tags: mac spotlight embed

uninstall cooliris for safari Delicious Email

cooliris is a nice app, but has no utility.

source: http://discussions.apple.com/thread.jspa?threadID=1730494&tstart=0

show/hide lines
   1  tell application "Safari" to quit
   2  do shell script "rm -rf ~/Library/Preferences/com.cooliris.safariplugin.plist" with administrator privileges
   3  do shell script "rm -rf ~/Library/Application\\ Support/Cooliris/" with administrator privileges and password
   4  do shell script "rm -rf /Library/Receipts/cooliriswebkitplugin.pkg" with administrator privileges and password
   5  do shell script "rm -rf /Library/Receipts/cooliris.pkg" with administrator privileges and password
   6  do shell script "rm -rf /Library/Internet\\ Plug-Ins/CoolirisWebKitPlugin.plugin" with administrator privileges and password
   7  do shell script "rm -rf /Library/InputManagers/Cooliris/" with administrator privileges and password
   8  display dialog "Cooliris files are deleted." buttons {"Quit"} default button 1 cancel button "Quit"
   9  
created by leozera — 12 November 2008 — get a short url — tags: applescript cooliris mac safari embed

disable spotlight on a fat32 external drive Delicious Email

show/hide lines
   1  cd /Volumes/your_drive
   2  touch .metadata_never_index
created by leozera — 21 October 2008 — get a short url — tags: mac spotlight terminal embed

remove the mac os x glowing blue outline for input fields Delicious Email

show/hide lines
   1  input:focus { outline: none; }
created by leozera — 18 October 2008 — get a short url — tags: css input mac safari embed

alias sample Delicious Email

the alias command makes it possible to launch any command using a pre-set string. i love it!

show/hide lines
   1  $ alias mypassword="echo '123456'"
   2  
   3  $ mypassword # return '123456'
created by leozera — 17 October 2008 — get a short url — tags: mac terminal embed

stop/start mysql via terminal Delicious Email

show/hide lines
   1  sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist
   2  sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plis
created by leozera — 17 October 2008 — get a short url — tags: mac mysql terminal embed

lock/unlock icons in dock Delicious Email

show/hide lines
   1  defaults write com.apple.dock contents-immutable -bool true
created by leozera — 04 October 2008 — get a short url — tags: dock mac embed
Displaying records 1 - 10 of 19