Take a screenshot from Terminal and automatially open it in mail ready to be sent.
screencapture -W -M mailme.jpg
You can click a window, and it’ll just grab that window
Also, do:
screencapture -h
Ton of options.
Take a screenshot from Terminal and automatially open it in mail ready to be sent.
screencapture -W -M mailme.jpg
You can click a window, and it’ll just grab that window
Also, do:
screencapture -h
Ton of options.
Open Terminal and type (paste)
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
You’ll need to log out and log back in for it to take effect.
Job done.
To create a password protected file in OS X, open Terminal, go to your folder, then :
The syntax is zip -e [archive] [file]
Example
zip -e foobar.zip *.txt
Enter password:
Verify password:
Done
Launch terminal and paste
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
Once the process is finished (sometimes it takes a while), you need to restart Finder via this code:
killall Finder
Job done.
On a cool, clear night (typical to Southern California) Warren G travels through his neighborhood, searching for women with whom he might initiate sexual intercourse. He has chosen to engage in this pursuit alone.
Nate Dogg, having just arrived in Long Beach, seeks Warren. Ironically, Nate passes a car full of women who are excited to see him. He insists to the women that there is no cause for excitement.
Read more ›
This worked great, but make sure you have “lame” and “flac”
sudo apt-get install flac
sudo apt-get install lame
Then in the folder with all the .flac files:
for f in *.flac; do flac -cd "$f" | lame -b 320 - "${f%.*}".mp3; done
Save your shell script with a .command suffix – this makes it double-clickable and you should also be able to run it directly from Spotlight too.
Annoying things that often happen
The Finder crashed:
killall -KILL Finder
The Dock crashed:
killall -KILL Dock
Spaces crashed:
killall -KILL Dock
The Menubar crashed/refuses to be clickable:
killall -KILL SystemUIServer
Edit your
/etc/apache2/httpd.conf
and make sure the line:
LoadModule php5_module libexec/apache2/libphp5.so
exists. By default in the standard OS X config, you just need to uncomment it, then re-start Apache:
sudo apachectl restart
And you should be good to go.
As narrated by Steve himself.