Skip to content

Instantly share code, notes, and snippets.

View mason-stewart's full-sized avatar
🎃
無敵

Mason Stewart mason-stewart

🎃
無敵
  • Bookshop.org
  • NeW eNgLaNd
View GitHub Profile
@mason-stewart
mason-stewart / analyzer.r
Created July 9, 2018 20:19
This generates the following error:
# sentio model v3
# use:
# Sentio gives a clients best employees the test
# Those employes are compared to previous sentio test takers
# to determine which characteristics are most similar to
# best employees.
# output:
# 1) output scores (0-10) for total and for each input variable
# for the "best" employees and the employees which need to be scored
# 2) parameters from regression
var gulp = require('gulp'),
connect = require('gulp-connect'),
sass = require('gulp-sass');
gulp.task('sass', function () {
gulp.src('./sass/**/*.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./css'));
});
{
"caret_style": "smooth",
"close_windows_when_empty": true,
"color_scheme": "Packages/Theme - itg.flat/itg.dark.tmTheme",
"draw_white_space": "selection",
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
@mason-stewart
mason-stewart / barf.js
Last active August 29, 2015 14:14
wow
function zipPrint(array) {
console.log('parent array length is ', array.length);
_.each(array[0], function(item, index){
_.times(array.length, function(parentIndex){
console.log(array[parentIndex][index]);
})
})
}

Keybase proof

I hereby claim:

  • I am masondesu on github.
  • I am masondesu (https://keybase.io/masondesu) on keybase.
  • I have a public key whose fingerprint is 43B7 88B3 08F9 5A29 5852 DC20 24E7 0C50 159B 776E

To claim this, I am signing this object:

@mason-stewart
mason-stewart / config.json
Last active August 29, 2015 14:09 — forked from anonymous/config.json
TD config for boostrap
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@mason-stewart
mason-stewart / rollout.sh
Created August 29, 2014 17:31
Roll out.
#!/bin/bash
open -a Google\ Chrome "https://www.youtube.com/watch?v=mjqn6j2VM2U"
sleep 16
say "roll out"
sleep 0.8
say "roll out"
sleep 0.8
say "roll out"
sleep 0.8
@mason-stewart
mason-stewart / shortcuts for being coo.md
Last active August 29, 2015 14:05
How to be cool with keyboard shortcuts omg
// move the beginning of line
ctrl + a

// move the end of line
ctrl + e

// move up a line
ctrl + p
|---------------------------------| IZZZOZ$ZZZZODDDNNND8OO8OO7Z
| You ring the Bell of Opening. | ?O8O88O8Z$88888NNNNNDZ$ZZOO7I
| | ?8ZO8DDDOO8NNNMNNN8NNDOZZZZZOZ?
| The Bell of Opening issues an | I8OOZZDNNDDDNNMMMMMM8MDDNDD88888O=
| unsettling shrill sound. | 7888ZO8NNMMD8NMMNMMNMNNMMNDNDNNNDDDO
| | ?OOODO8NNNDDDD8NNMMMMMNMNMNDDNNNNNND87
| | =O$888D88ZZZOODNMNMMMNNNNNNNMMMNNNNDD88?~
| Patrick Swayze materializes | I$ZODDNDNNNMMMMMMMND8OZZOO8DNMMMNNNDD8N8I
| out of the haunting mist. | $OODDNNMMMMNNNND888Z$$7$$$ZO8DMNNNDNDD8DO~
<div class="images-container">
<div class="image-slider">
</div>
</div>
<div class="button-container">
<div class="button previous">&lt;&lt;</div>
<div class="button play">&#9654
</div>
<div class="button stop">&#9608</div>