Skip to content

Instantly share code, notes, and snippets.

View puginabox's full-sized avatar

Griffin Byron puginabox

View GitHub Profile
@puginabox
puginabox / .gitignore
Created October 7, 2017 20:27
an all-purpose .gitignore
######################
#.gitignore template #
######################
###################
# Custom
www
vendor
js/lib
.DS_Store
@puginabox
puginabox / NPM simple server
Last active October 7, 2017 20:18
quick, down & dirty node http server
http-server pach-to-project-index -o
@puginabox
puginabox / .gitignore
Last active September 26, 2016 14:44
index.html for project starter
######################
#.gitignore template #
######################
# OS generated files #
######################
.DS_Store*
ehthumbs.db
Icon?
@puginabox
puginabox / front-end-pixel-perfect-mockup-to-css-conversions
Created November 13, 2013 14:20
front-end pixel-perfect mockup to css conversions
Pixels to Percent;
parentElement - in Pixels
element - in Pixels
percent = element/parentElement*100
Example:
parentElement = 1080px;
percent = 18px;
@puginabox
puginabox / column-count.css
Last active December 28, 2015 04:19
CSS column-count &column-gap
p.newspapery {
-webkit-column-count: 3;
-webkit-column-gap: 20px;
-moz-column-count: 3;
-moz-column-gap: 20px;
column-count: 3;
column-gap: 20px;
}
@puginabox
puginabox / packages.json
Created November 12, 2013 22:48
yeoman packages.json template
{
"name": "yeoman-template",
"version": "1.0",
"description": "scaffolding packages",
"keywords": [
"development",
"dev",
"build",
"tool",
"cli",
@puginabox
puginabox / behavior.js
Created November 12, 2013 22:47
App behavior template
/*
App behavior template 1.0 | Griffin Byron
puginabox.com | @puginabox
*/
/*********************************************************************************/
/* Settings */
/*********************************************************************************/
@puginabox
puginabox / .gitignore
Last active December 28, 2015 04:09
.gitignore template
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
@puginabox
puginabox / gruntfile.js
Last active December 28, 2015 04:09
grunt settings template
/* Grunt rocks
Grunt settings template 1.0 | Griffin Byron
Griffin Byron @ puginabox.com
/*********************************************************************************/
/* Settings */
@puginabox
puginabox / config.rb
Created November 12, 2013 22:37
Deploy Sass/Compass/Susy config file for Grunt
# Deploy Sass/Compass/Susy config file for Grunt
#require "susy"
css_dir = '../css'
sass_dir = 'sass'
javascripts_dir = '../js'
output_style = :compressed
relative_assets = true