Skip to content

Instantly share code, notes, and snippets.

View phillipweston's full-sized avatar

Phillip Weston phillipweston

View GitHub Profile
@phillipweston
phillipweston / .block
Last active September 17, 2016 09:18
animated zoomed multi line chart
license: mit
@phillipweston
phillipweston / .block
Last active September 15, 2016 22:13
animated lines with broken zoom
license: mit
@phillipweston
phillipweston / .block
Created September 14, 2016 18:11
Animated Linechart
license: mit
@phillipweston
phillipweston / .block
Created September 7, 2016 01:15
Nested Treemap
license: gpl-3.0
height: 1060
@phillipweston
phillipweston / .block
Created September 7, 2016 00:35
fresh block
license: mit
function addSubtract(direction) {
if (direction === 'forward') {
currentRotation < 3 ? currentRotation++ : currentRotation = 0;
}
else {
currentRotation > 0 ? currentRotation-- : currentRotation = 3;
}
console.log(currentRotation);
}
@phillipweston
phillipweston / Dockerfile
Created April 9, 2016 04:43
Dockerfile for node
FROM node:wheezy
RUN mkdir /app
COPY . /app
WORKDIR /app
RUN npm install
@phillipweston
phillipweston / dns.sh
Created February 23, 2016 23:40
dns.sh for eggdrop
#!/bin/bash
#
# dns.sh - DNS Resolver written for an Eggdrop - version 0.9.1
# Copyright (C) 2005 Travis Morgan, imbezol@criticaldamage.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});