Category Archives: osx

OSX VPN Tunnelblick

scutil –dns : see the current configuration of DNS resolvers.

Posted in osx | Leave a comment

OS X make a bootable flash

iso==> dmg hdiutil hdiutil convert -format UDRW -o destination.dmg source.iso dmg==> usb sudo dd if=source.dmg of=/dev/rdisk1 bs=1m

Posted in dd, hdiutil, osx | Leave a comment

osx python set up

Install Python from homebrew install homebrew: ruby <(curl -fsSkL install latest Xcode ‘s command line tool from /usr/local/bin/pip install virtualenv virtualenvwapper brew install python python3   .bashrc export WORKON_HOME=$HOME/.virtualenvs source /usr/local/bin/ mkvirtualenv -a /Users/vyang/src/app -r /Users/vyang/src/app/requirements.txt app

Posted in osx, python | Leave a comment