Start Terminal.app and type:
sudo nvram boot-args="kext-dev-mode=1"
Verify that command works by typing:
sudo nvram -p | grep -i boot-args
| Fanar | |
| Planning* | |
| Plan | |
| calculate -> Plan | |
| reassign requirement to vessel -> Reassignment | |
| promote -> Promote | |
| Reassignment | |
| reassign requirement to vessel -> Plan | |
| unassign requirement from vessel -> Plan | |
| Promote |
| // Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
| // jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
| // author: Pawel Kozlowski | |
| var myApp = angular.module('myApp', []); | |
| //service style, probably the simplest one | |
| myApp.service('helloWorldFromService', function() { | |
| this.sayHello = function() { | |
| return "Hello, World!" |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |