Tag: Terminal
Video Transcoding – scripts @ Github
transcode-video detect-crop convert-video query-handbrake-log 1234567891011brew install ruby gem install video_transcoding # ** THE FOLLOWING ARE REQUIRED ** brew install handbrake brew install ffmpeg brew install mkvtoolnix brew install mp4v2 # … Read More
screen -r // Using screen to handle disconnected ssh sessions
Before ssh, first initiate a “screen” session, ssh from there, then disconnect from the “screen window” – change locations, reconnect, all will be intact. Similar behavior in OSX and Linux, … Read More
OSX review login items via bash+applescript
**Works for the CURRENT user. Get a LIST of current Login Items: osascript -e ‘tell application “System Events” to get the name of every login item’ DELETE a “named” Login … Read More
ssh with keys on OSX
source: virtualDennis 1cat ~/.ssh/id_rsa.pub | ssh [email protected] "cat – >> ~/.ssh/authorized_keys" If you do not have : ~/.ssh/id_rsa.pub then you have not generated keys on your machine. 1ssh-keygen -t DON’T … Read More
SET YOUR: ssh config FOR FASTER: ssh & scp
source: stackexchange for faster SSH & SCP : Edit: ~/.ssh/config (or create it) 1234Host happy Hostname my.remote.server.com User bob Port 12345 Then: 1ssh happy or 12scp happy:~/tmp/myfiles … Read More
BASH – faster navigation
CTRL – A :: JUMP TO THE START OF THE CURRENT LINE CTRL – E :: JUMP TO THE END OF THE CURRENT LINE CTRL – U :: CLEAR (part … Read More
OSX Spotlight reset
Source: StackExchange 1234sudo mdutil -i off / sudo rm -rf /.Spotlight* sudo mdutil -i on / sudo mdutil -E / 1 – turn indexing off 2 – delete Spotlight folder … Read More
homebrew: Error: Xcode alone is not sufficient on..
Error occurs while: > brew install XYZ 1<span class="typ">Error</span><span class="pun">:</span> <span class="typ">Xcode</span><span class="pln"> alone </span><span class="kwd">is</span> <span class="kwd">not</span><span class="pln"> sufficient on……</span> Force re-install CommandLineTools (deleting the previous version prior) 12sudo … Read More