Skip to content

Instantly share code, notes, and snippets.

View BrianSipple's full-sized avatar
🦄
⚡️🗽✌️

Brian Sipple BrianSipple

🦄
⚡️🗽✌️
View GitHub Profile
@BrianSipple
BrianSipple / copy-file-node.txt
Last active January 6, 2016 02:05
Node script to be executed from the command line with `node [script/path] <sourcePath> <destPath>` that copies a files contents from one location to another
#!/usr/bin/env node
'use strict';
/**
* COPY FILE
*
* Usage:
* node <path-to-this-file> <sourcePath> <destPath>
*/
@BrianSipple
BrianSipple / copy-directory-node.txt
Last active January 6, 2016 02:06
Node script to be executed from the command line with `node [script/path] <sourceDirPath> <destDirPath>` that copies a directories contents from one location to another Raw
#!/usr/bin/env node
/**
* COPY DIRECTORY
*
*
* Usage:
* node <path-to-this-file> <sourcePath> <destPath>
*
*

Keybase proof

I hereby claim:

  • I am briansipple on github.
  • I am briansipple (https://keybase.io/briansipple) on keybase.
  • I have a public key ASChCbTKxIsPPl3PHfHTIKV4VPjtyHQZuq3qV1tXd92YNQo

To claim this, I am signing this object:

@BrianSipple
BrianSipple / controllers.application.js
Last active December 27, 2016 05:58
ember-2.10-dynamic-use-xlink:href-attribute
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@BrianSipple
BrianSipple / animation-durations.css
Last active March 1, 2017 10:04
Animation Duration Variables
/**
* ANIMATION DURATION VARIABLES
*/
:root {
--anim-duration__default: 0.3s;
/**
* Scaling the size of an element up or down
@BrianSipple
BrianSipple / _breakpoints.css
Created April 14, 2017 05:44
CSS Breakpoint Variables
/**
* BREAKPOINTS THRESHOLDS
*/
:root {
--breakpoint-threshold--mobile: 22em; /* Roughly, a min-width for handsets */
--breakpoint-threshold--small: 30em; /* Roughly, a max-width for handsets in landscape */
--breakpoint-threshold--medium: 49.125em; /* Roughly, a min-width for tablets */
--breakpoint-threshold--large: 64em; /* Roughly, a max-width for tablets in landscape */
--breakpoint-threshold--xLarge: 90em; /* Someone probably has a monitor 💻 */
}
@BrianSipple
BrianSipple / ember-addon-essentials.md
Last active April 17, 2017 18:27
Ember Addon Essentials -- A checklist of some of the finer details to keep in mind when developing Ember addons

Ember Addon Essentials

This document is meant to be a brief "checklist" of things to setup for your Ember addon when beginning development in order to have the best possible architecture and workflow out of the gate. For more comprehensive material, the following are bookshelf-caliber:

Filling out package.json

const { floor, random } = Math;
function boundedRandom(min, max) {
const spread = max - min;
return min + floor(random() * spread);
}
@BrianSipple
BrianSipple / .gitignore
Created June 1, 2017 07:54
Python .gitignore
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
:root {
/* --------------- THEME COLORS --------------- */
--theme-color__primary: #9D6D45;
--theme-color__primary--light: #AA764B;
--theme-color__primary--dark: #1D140D;
--theme-color__supporting-1: #56ee9d;
--theme-color__supporting-1--light: #99FBC7;