- 下載 Ubuntu Desktop
- 將
.iso檔轉換成.dmg檔
hdiutil convert -format UDRW -o ~/path/to/ubuntu.dmg ~/path/to/ubuntu.iso| # A guide to prevent pain and suffering while upgrading to OS X Mavericks | |
| # This will vary greatly depending on system set up, so read the instructions carefully | |
| # Back up Virtulenvs | |
| #################### | |
| # Very important! | |
| # For each virtualenv you have, run "pip freeze > requirements.txt" while in the activated virtualenv | |
| # in order to prevent loss of dependencies during the upgrade. |
.iso 檔轉換成 .dmg 檔hdiutil convert -format UDRW -o ~/path/to/ubuntu.dmg ~/path/to/ubuntu.isoEverytime after reinstall the system, there are lots of settings to do. I try to log down some todos reminding me these setting up.
| #!/bin/sh | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Set the colours you can use | |
| black='\033[0;30m' | |
| white='\033[0;37m' | |
| red='\033[0;31m' |
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
File locations:
nginx.conf to /usr/local/etc/nginx/default and default-ssl to /usr/local/etc/nginx/sites-availablehomebrew.mxcl.nginx.plist to /Library/LaunchDaemons/| apply plugin: 'android-library' | |
| repositories { | |
| mavenCentral() | |
| } | |
| android { | |
| compileSdkVersion 17 | |
| buildToolsVersion '19.1.0' |