Skip to content

Instantly share code, notes, and snippets.

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);
@hasan3ysf
hasan3ysf / CSS-GLASS-ROTATING-GLOBE.markdown
Created February 26, 2014 04:37
A Pen by Hasan Yousef.

CSS GLASS ROTATING GLOBE

A rotating "Glass like " globe with a Hue changing effect (Works on Chrome and Safari only)

A Pen by Hasan Yousef on CodePen.

License.

@hasan3ysf
hasan3ysf / all-templates.html
Created February 15, 2014 19:06 — forked from vojtajina/all-templates.html
ng-template for ng-route
<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>
@hasan3ysf
hasan3ysf / 0_reuse_code.js
Created January 20, 2014 10:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console