start new:
tmux
start new with session name:
tmux new -s myname
| #!/usr/bin/env node | |
| var argv = require('optimist') | |
| .usage('Usage: --key=[consumer key] -secret=[consumer secret]') | |
| .demand(['key', 'secret']) | |
| .argv | |
| ; | |
| var OAuth = require('oauth').OAuth; | |
| var Step = require('step'); |
| license: gpl-3.0 | |
| redirect: https://observablehq.com/@d3/d3-horizon-chart |
| license: gpl-3.0 |
W3C Introduction to Web Components - explainer/overview of the technologies
| (function(global){ | |
| "use strict"; | |
| function constEnumPropValueDesc(v){ | |
| return { | |
| value: v, | |
| enumerable: true, | |
| configurable: false, | |
| writable: false | |
| }; |
Based on D3.JS and Dimple, ChartFactory provide the ability to build quickly D3.JS charts without coding any lines of javascript. Just define your dashboard in a JSON and voila !
charts: [
{id:'chart1',
width:800,height:250,
xAxis:{type:'Category',field: "Month",orderRule:'Date'},
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| function gnn (cases, wide, tall, population, iterations, error_fn, error_thresh) { | |
| var inputs = cases[0][0].length; | |
| var outputs = cases[0][1].length; | |
| // declare net, provide input layer | |
| var net = [new Array(inputs)]; | |
| // create input neurons in input layer | |
| for (var i = 0; i < inputs; i++) | |
| net[0][i] = {output: 0} | |
| // create hidden layers | |
| for (var x = 0; x < wide; x++) { |
| license: gpl-3.0 |