- D3: http://d3js.org/
- Three.js (3D): http://threejs.org/
- Kineticjs: http://kineticjs.com/
- C3, charts based on D3: http://c3js.org/
- Meteor charts: http://meteorcharts.com/
#!/bin/sh | |
read -e -p "Path from:" PATH_FROM | |
echo "New folder on backup disk: " | |
read NEW_FOLDER | |
rsync -r --exclude '.git' --exclude 'bower_components' --exclude 'node_modules' --exclude '.venv' "$PATH_FROM" "/Volumes/Work I/$NEW_FOLDER" |
(function(){ | |
var d = document, | |
w = window, | |
templates = {}, | |
models = {}, | |
store = {}, | |
readyCbs = [], | |
ready = false, | |
router = new Rlite(), |
function set_prefix { | |
if [[ -d '.git' ]]; then | |
echo "["`git rev-parse --abbrev-ref HEAD`"] " | |
else | |
echo "" | |
fi | |
} | |
PS1='\u@\h:\w `set_prefix`>> ' |
/** | |
* Extend an object with other objects. | |
* | |
* @function | |
* @name extend | |
* @return {object} Extended object | |
*/ | |
hunk('extend', function(/* obj, objs...*/){ | |
var i = 1, |
# Various | |
alias s='subl .' | |
alias flushdns='sudo killall -HUP mDNSResponder' | |
alias l='ls -al' | |
# Bower | |
alias bid='bower install --save-dev ' | |
alias bis='bower install --save ' |
var gulp = ..., | |
jsdoc = require('gulp-jsdoc'); | |
gulp.task('js-doc', function() { | |
return gulp.src([ | |
'README.md', | |
'src/js/*.js', | |
'src/js/**/*.js' | |
]) |
var fs = require('fs'); | |
var Buffer = require('buffer').Buffer; | |
var i = 0; | |
var j = 0; | |
fs.open("archive", 'r', function(status, fd) { | |
if (status) { | |
console.log(status.message); | |
return; | |
} |
package com.ulflander.utils; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
/** |
package main | |
import ( | |
"gopkg.in/mgo.v2" | |
"gopkg.in/mgo.v2/bson" | |
"time" | |
) | |
type ( | |
Leader struct { |