A rotating "Glass like " globe with a Hue changing effect (Works on Chrome and Safari only)
A Pen by Hasan Yousef on CodePen.
var exec = require('child_process').exec, | |
ls; | |
var stdout = ''; | |
var stderr = ''; | |
ls = exec('tessel run mifareClassic.js', function (error, stdout, stderr) { | |
if (error) { | |
console.log(error.stack); | |
console.log('Error code: '+error.code); |
A rotating "Glass like " globe with a Hue changing effect (Works on Chrome and Safari only)
A Pen by Hasan Yousef on CodePen.
<script type="text/ng-template" id="one.html"> | |
<div>This is first template</div> | |
</script> | |
<script type="text/ng-template" id="two.html"> | |
<div>This is second template</div> | |
</script> |
<script type="text/ng-template" id="one.html"> | |
<div>This is first template</div> | |
</script> | |
<script type="text/ng-template" id="two.html"> | |
<div>This is second template</div> | |
</script> |
Assumes a fresh install of Ubuntu 12.04 LTS.
check: http://howtonode.org/how-to-install-nodejs Install the dependencies: sudo apt-get install g++ curl libssl-dev apache2-utils sudo apt-get install git-core
can see also: http://www.codediesel.com/linux/installing-node-js-on-ubuntu-10-04/ and https://gist.github.com/isaacs/579814
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |