Skip to content

Instantly share code, notes, and snippets.

View tjbenton's full-sized avatar

Tyler Benton tjbenton

View GitHub Profile
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Simon Madine <http://thingsinjars.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@tjbenton
tjbenton / SassMeister-input-HTML.html
Created April 4, 2014 21:50
Generated by SassMeister.com.
<ul class="a">
<li class="a-8"></li>
<li class="a-7"></li>
<li class="a-6"></li>
<li class="a-5"></li>
<li class="a-4"></li>
<li class="a-3"></li>
<li class="a-2"></li>
<li class="a-1"></li>
<li class="a0"></li>
@tjbenton
tjbenton / SassMeister-input-HTML.html
Created April 6, 2014 04:42
Generated by SassMeister.com.
<script>
</script>
<iframe id=codepen src=http://www.codepen.io/pen?innerframe=true></iframe>

This is a general-purpose function to ask Yes/No questions in Bash, either with or without a default answer. It keeps repeating the question until it gets a valid answer.

@tjbenton
tjbenton / SassMeister-input.scss
Created September 8, 2014 17:14
Generated by SassMeister.com.
// ----
// Sass (v3.4.3)
// Compass (v1.0.1)
// ----
// @author Tyler Benton
// @page helpers/functions
// @description Splits string at the specified point
//
// @arg {string}
@tjbenton
tjbenton / SassMeister-input-HTML.html
Last active August 29, 2015 14:06
Generated by SassMeister.com.
<div button></div>
@tjbenton
tjbenton / gist:d3fc2577337dab5ea8fe
Created January 23, 2015 20:53
`brew cleanup` doesn't work
tylerbenton[15:01]$ brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: b744f60216bf31afc7c1134b40ec64f7f0959bac
Last commit: 19 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.10.1-x86_64
Xcode: N/A
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Simon Madine <http://thingsinjars.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@tjbenton
tjbenton / SassMeister-input.scss
Created April 14, 2015 17:37
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
// _ _ _ _ _
// (_) | | | | | (_)
// _ _ __ ___| |_ _ __| | ___ _ __ ___ ___ __| |_ __ _
// | | '_ \ / __| | | | |/ _` |/ _ \ | '_ ` _ \ / _ \/ _` | |/ _` |
// | | | | | (__| | |_| | (_| | __/ | | | | | | __/ (_| | | (_| |
@tjbenton
tjbenton / include.js
Last active August 29, 2015 14:20
This function allows you to concatenate file paths together so that you can use them in a `gulp.src`. Using this method instead of `gulp-include` allows you to generate sourcemaps to make it easier to debug issues.
// @name Include
// @author Tyler Benton
//
// @description
// This function allows you to concatenate file paths together so that you can use them in a `gulp.src`
// Using this method instead of `gulp-include` allows you to generate sourcemaps to make it easier to debug issues.
//
// @arg {string} path - The path for the file you want to look in
//
// @returns {array} - The array of file paths