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>
*
*
@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

@BrianSipple
BrianSipple / ember-addon-readme-badge-template.md
Last active September 7, 2020 10:06
Useful Badges to Include in an Ember Addon's README
[![Latest NPM release][npm-badge]][npm-badge-url]
[![TravisCI Build Status][travis-badge-url]][travis-project-url]
[![CircleCI Build Status][circle-badge]][circle-badge-url]
[![Test Coverage][coveralls-badge]][coveralls-badge-url]
[![Code Climate][codeclimate-badge]][codeclimate-badge-url]
[![Ember Observer Score][ember-observer-badge]][ember-observer-badge-url]
[![License][license-badge]][license-badge-url]
[![Dependencies][dependencies-badge]][dependencies-badge-url] 
[![Dev Dependencies][devDependencies-badge]][devDependencies-badge-url]
@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 / _easings.css
Last active November 15, 2018 17:45
Animation Easing CSS Variables
:root {
/* -------------------------- Ins -------------------------- */
--easing__ease-in-sine: cubic-bezier(0.470, 0.000, 0.745, 0.715);
--easing__ease-in-quad: cubic-bezier(0.550, 0.085, 0.680, 0.530);
--easing__ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19);
--easing__ease-in-cubic--sluggish: cubic-bezier(0.470, 0.020, 1.000, 0.570);
--easing__ease-in-quartic: cubic-bezier(0.895, 0.030, 0.685, 0.220);
--easing__ease-in-quint: cubic-bezier(0.755, 0.050, 0.855, 0.060);
@BrianSipple
BrianSipple / components.my-img.js
Last active April 12, 2018 06:54
ember-2.9-dynamic-img-src-attribute
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'img',
attributeBindings: ['imagePath:src', 'imageName:alt'],
imagePath: '',
imageName: ''
});

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 / spacing-utilities.css
Last active November 7, 2022 07:05
CSS Spacing Utilities
@import "../variables/_spacing.css";
/*
* SPACING UTILITIES
*
* Utilities for setting padding and margin.
*
* Legend:
*
* Rules: