Select Page

EncFS

Homebrew “brew install encfs”, and mount your Volume “encfs -o volname=MySecretDrive ;Path/To/EncFS /Volume/MySecretDrive”.   Using encfs in Mac OS X Still in the terminal, you can create an encrypted filesystem in Dropbox using this command: encfs...

OSX Wireless / Airport Terminal Commands

Make airport app available: sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport Airport app commands: Supported arguments: -c[<arg>] –channel=[<arg>] Set arbitrary channel on the card...

OSX – Brew Commands

Install Homebrew ruby -e “$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)” Show available versions available for install: brew versions [formula] Install/Switch to a different version: brew switch [formula] [version] Stop using a version brew unlink...

Tesseract OCR

OSX: brew install imagemagick brew install tesseract –all-languages Debian/Ubuntu: apt-get install imagemagick tesseract\* Sample Usage:    convert input image to grayscale using imagemagik convert input.png -colorspace Gray output.tif     decode with tesseract...

Bash Script Hosts file Ad Blocker

Put in cron or run manually. #!/bin/bash # If this is our first run, save a copy of the system’s original hosts file and set to read-only for safety if [ ! -f /etc/hosts.bak ] then echo “Saving copy of system’s original hosts file…” sudo...