Skip to content

Instantly share code, notes, and snippets.

View tizzo's full-sized avatar
💭
:shipit: 🚀 📦

Howard Tyson tizzo

💭
:shipit: 🚀 📦
View GitHub Profile
#! /usr/bin/env bash
echo 'Installing dependencies php and git...'
echo ''
echo ''
echo ''
pkg install -y php70 git php70-json php70-ctype php70-phar php70-iconv php70-openssl
echo ''
echo ''
@tizzo
tizzo / d3.v3.min.js
Last active July 20, 2016 16:15
D3 Example.txt
!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[]
@tizzo
tizzo / index.js
Last active June 9, 2016 05:18
Probo CM Build Size Reporter
'use strict';
var through2 = require('through2');
var split2 = require('split2');
/**
* The builds and organizations and project.
*/
var buildData = {
totals: {
@tizzo
tizzo / README.md
Created June 8, 2016 15:01
Probo JWT Proposal Draft

Schema

Needs to capture:

  • The user Probo ID
  • Human readable
{
@tizzo
tizzo / .gitignore
Last active March 11, 2016 22:34
migrate_build_size_and_status
node_modules
@tizzo
tizzo / .gitignore
Last active December 17, 2015 21:07
Node.js streams example
node_modules
@tizzo
tizzo / README.md
Last active December 16, 2015 10:39

Pet Carousel Redux

A sample implementation.

The code is still being pupulated.

@tizzo
tizzo / example.pp
Created December 4, 2015 15:36
Puppet -> and ~> syntax
file { '/some/path':
ensure => 'file',
}->
service { 'some-service':
ensure => 'running',
enable => true,
}
@tizzo
tizzo / casper-responsive-snapshots.coffee
Created December 11, 2012 17:48
Quick gist to demonstrate taking screenshots at different resolutions
console.log 'started'
options =
viewportSize:
width: 1900
height: 1000
snapshot = (width, height, path)->
clip =
top: 0
@tizzo
tizzo / veeweebuild.sh
Created November 12, 2012 17:46
Jenkins Veewee Build Script
VERSION=`VBoxManage -v | sed 's/\(.*\)r\([0-9]*\)/\1/'`
if [ $RELEASE = "precise" ]; then
TEMPLATE="ubuntu-12.04.1-server-i386"
fi
if [ $RELEASE = "lucid" ]; then
TEMPLATE="ubuntu-10.04.4-server-i386"
fi
BOX_NAME="$RELEASE-vbox-$VERSION"
BOX_PATH="boxes/$RELEASE-vbox-$VERSION.box"
if [ `VBoxManage list runningvms | grep -c $BOX_NAME` -eq 1 ]; then