Category: Career

linux file permission

Value Meaning 777 (rwxrwxrwx) No restrictions on permissions. Anybody may do anything. Generally not a desirable setting. 755 (rwxr-xr-x) The file’s owner may read, write, and execute the file. All others may read and execute the file. This setting is common...

cordova

Local testing with http server: #To develop run chrome without cross domain checking /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome –disable-web-security #safari open -a '/Applications/Safari.app' --args --disable-web-security ##To run a local web server using python to have a look in the browser how it works...

Git Proxy

create gitconfig: user> git config –global user.name “jayceee” user> git config –global user.email jicheng17@gmail.com user> git config –global -e edit gitconfig to add in: [http] proxy = http://mydomain\\myusername:mypassword@myproxyserver:8080...

How to disable Macbook internal keyboard

My MBP is 10.7.5. Unfortunately, the internal keyboard was spoiled by my baby. So here is how to disable it and use an external apple keyboard. Open terminal and type the following: sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/ To enable it again: sudo kextunload...