Skip to content

Instantly share code, notes, and snippets.

View afryer's full-sized avatar

Anthony afryer

  • Between a rock and a hard place
View GitHub Profile
@afryer
afryer / gruntfile.js
Created May 22, 2013 06:29
grunt boilerplate
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
compass: {
dev: {
options: {
@afryer
afryer / gist:5598835
Created May 17, 2013 12:54
Sublime Text Snippet keyboard sass comment
[
{ "keys": ["ctrl+shift+b"], "command": "insert_snippet", "args": {"contents": "${TM_COMMENT_START/s*$//} ==${1/./=/g}==${TM_COMMENT_END/^s*(.+)/ $1/}\n${TM_COMMENT_START/s*$//} = ${1:Banner} =${TM_COMMENT_END/^s*(.+)/ $1/}\n${TM_COMMENT_START/s*$//} ==${1/./=/g}==${TM_COMMENT_END/^s*(.+)/ $1/}"}}
]
@afryer
afryer / _mixins.scss
Created May 16, 2013 22:59
_mixins base
// Mixins ======================================================================================== /
@mixin clearfix { // micro clearfix hack
zoom: 1;
&:before, &:after { content: ""; display: table; }
&:after { clear: both; }
}
@mixin border-box { // border-box mixin
-webkit-box-sizing: border-box;