Skip to content

Instantly share code, notes, and snippets.

apply plugin: 'android-library'
repositories {
mavenCentral()
}
android {
compileSdkVersion 17
buildToolsVersion '19.1.0'
@hdyen
hdyen / README.md
Last active August 29, 2015 14:11 — forked from jimothyGator/README.md
nginx conf on OS X with brew
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-available
  • homebrew.mxcl.nginx.plist to /Library/LaunchDaemons/
#!/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'
@hdyen
hdyen / mac_dev_settings.md
Created October 25, 2014 03:47
Mac Development Enviroment Setting Up

Mac Development Enviroment Setting Up

@hdyen
hdyen / ubuntu_user_settings.md
Created October 25, 2014 03:44
Ubuntu User Enviroment Setting Up

Ubuntu User Enviroment Setting Up

Unity Tweaking

sudo apt-get install unity-tweak-tool
@hdyen
hdyen / Linux_Setup.md
Last active August 29, 2015 14:08
Linux Development Enviroment Setting Up

Linux Development Enviroment Setting Up

Everytime after reinstall the system, there are lots of settings to do. I try to log down some todos reminding me these setting up.

JDK

  1. Download Java SE.

在 OS X 上製做 Ubuntu USB 安裝碟

  1. 下載 Ubuntu Desktop
  1. .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.