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

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

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