Side note: we use z-tables that require all of the values to be added by .5
-
Normal Distribution
| var del, gulp, gulpMocha, gulpLivescript, livescript, paths; | |
| del = require('del'); | |
| gulp = require('gulp'); | |
| gulpMocha = require('gulp-mocha'); | |
| gulpLivescript = require('gulp-livescript'); | |
| livescript = gulpLivescript != null ? gulpLivescript : void 8; | |
| paths = [ | |
| { | |
| scripts: './src/*.ls', | |
| tests: './test/*.ls' |
| #!/bin/sh | |
| echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
| read inputline | |
| name="$inputline" | |
| echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
| read inputline | |
| url="$inputline" |
| window.location.href = window.location.href.split('www.amazon.com')[0]+"smile.amazon.com"+window.location.href.split('www.amazon.com')[1]; |
| /* | |
| moduble: setupDB.ls | |
| Run this to setup the level db with arrays | |
| */ | |
| require! { | |
| 'levelup' | |
| 'leveldown' | |
| 'bcrypt' | |
| } |
| var express = require('express'); | |
| var serveStatic = require('serve-static'); | |
| var app = express(); | |
| app.use('/static', serveStatic(__dirname + '/public')); | |
| app.use('/bower_components', serveStatic(__dirname + '/bower_components')); | |
| if (process.env.HTTP != null || process.env.PORT != null) { | |
| port = process.env.HTTP || process.env.PORT; | |
| console.log('Server started on port ' + port + ' at ' + new Date(Date.now())); | |
| server = app.listen(port); | |
| } else { |
Side note: we use z-tables that require all of the values to be added by .5
Normal Distribution
| hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso | |
| mv ~/path/to/target.img.dmg ~/path/to/target.img #hdiutil likes dmgs... | |
| sudo dd if=~/path/to/target.img of=/dev/rdisk{int} #must be disk and not partition for bootable |
| process.on('SIGINT', function() { | |
| /* shutdown here */ | |
| }) |
| #! /usr/bin/env python | |
| import fileinput | |
| import argparse | |
| from operator import itemgetter | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('--target-mb', action = 'store', dest = 'target_mb', default = 61000, type = int) | |
| parser.add_argument('vmtouch_output_file', action = 'store', nargs = '+') | |
| args = parser.parse_args() |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |