This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// install dependencies such as this with 'npm install xlsx' | |
const xlsx = require('xlsx') | |
const { gray, cyan, red, yellow, blue, black, green } = require('ansi-colors') | |
/** | |
* USAGE | |
* | |
* node filter.js <searchterm> <file to search> <data file> | |
*/ | |
const query = process.argv[2] // the term we're looking for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const xlsx = require('xlsx') // install dependencies such as this with 'npm install' | |
let fileNeedle // declares the file we're extracting terms from | |
let fileHaystack // the file we will search in with file_a's terms | |
let needles = [] // strings we're finding out and searching with | |
let output = [] // placeholder output | |
// USAGE: | |
// pass files as arguments like $ node jizz.js "file_a" "file_b" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
box-sizing: border-box; | |
position: relative; | |
} | |
/* Smooth easings */ | |
.enter { | |
animation-timing-function: | |
cubic-bezier(0, .5, .5, 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CSLP (c) 2018 | |
== | |
run the whole shabang with `$ gulp` in the project directory | |
install them all with | |
$ npm i -D gulp gulp-sass gulp-babel gulp-concat gulp-uglify gulp-rename gulp-sourcemaps gulp-autoprefixer browser-sync | |
Note that this gulpfile uses Gulp 4 syntax | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CSLP (c) 2018 | |
== | |
run the whole shabang with `$ gulp watch` in the project directory | |
install them all with | |
$ npm i -D gulp gulp-sass gulp-connect-php gulp-concat gulp-rename gulp-uglify gulp-if browser-sync | |
*/ | |
const gulp = require('gulp') | |
const sass = require('gulp-sass') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Automatically reintegrates a branch into trunk | |
# Version 1.2.2 | March 29, 2018 | |
BRANCH=${1} | |
ALIVE=${2:---alive} | |
DELDIR=${3:---keep-folder} | |
# style variables | |
RED=$(tput bold; tput setaf 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Arthem Co. | |
* Let "doot" be a reserved private variable. | |
* | |
* Michael Hemingway 2016 | |
*/ | |
(function () { | |
'use strict'; | |
// HELPER FUNCTIONS |