Skip to content

Instantly share code, notes, and snippets.

Avatar

Peter Chen petercpg

View GitHub Profile
View gist:d4a7b5c4c022f636268d
### Keybase proof
I hereby claim:
* I am petercpg on github.
* I am petercpg (https://keybase.io/petercpg) on keybase.
* I have a public key whose fingerprint is 388B 6F47 B997 ABD7 91A5 D35A DCB2 2E93 1A3A FF4A
To claim this, I am signing this object:
@petercpg
petercpg / flash_keon_1.2.sh
Created Oct 22, 2013
Flashing latest FxOS v1.2 with zh-TW locale
View flash_keon_1.2.sh
#! /usr/bin/env bash
# Link https://l10n.etherpad.mozilla.org/gaia-multilocale
localecode="zh-TW"
branch="v1.2"
# This line force reads $PATH from .profile on OS X
# Ref: http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/
cd ~
. ./.profile echo $PATH