This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var child= require('child_process'); | |
child.exec('ls -lh /usr', function(err, stdout, stderr) { | |
child.exec('ls -lh /usr', function(err, stdout, stderr) { | |
console.log(stdout); | |
}); | |
console.log(stdout); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.done-true { | |
text-decoration: line-through; | |
color: grey; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.rocketmandevelopment.math { | |
import flash.display.Graphics; | |
/** | |
* 2D vector class | |
*/ | |
public class Vector2D { | |
private var _x:Number; | |
private var _y:Number; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app=angular.module "app",[] | |
app.controller "Ctrl",($scope)-> | |
console.log "Ctrl start" | |
$scope.heroName="susus" | |
app.directive "hero",()-> | |
return { | |
restrict:"EA" | |
template:""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app=angular.module "app",[] | |
app.controller "Ctrl",($scope)-> | |
console.log "Ctrl start" | |
$scope.ctrlHeroName="CTRL HERO NAME" | |
app.directive "hero",()-> | |
return { | |
scope: | |
heroName:"=" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "susy"; | |
@import "compass"; | |
//if you want to use the buttons plugin | |
@import "sassy-buttons"; | |
//this is the default number of columns | |
$total-columns: 8; | |
//width of each column | |
$column-width : 60px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svg=d3.select('svg') | |
.attr('width','250px') | |
.attr('height','250px') | |
console.dir d3.select('svg') | |
data=[{x:35,y:10},{x:15,y:30}] | |
svg.selectAll('circle') | |
.data(data) | |
.enter() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app=angular.module "app",[] | |
app.controller "Ctrl",($scope)-> | |
console.log "Ctrl start" | |
$scope.ctrlHeroName="CTRL HERO NAME" | |
$scope.doit=()->alert("Go") | |
app.directive "hero",($parse)-> | |
return { |