View SassMeister-input.scss
// ----
// libsass (v3.3.6)
// ----
// =========================================================================
//
// PRECISE CONTROL OVER RESPONSIVE TYPOGRAPHY FOR SASS
// ---------------------------------------------------
// Indrek Paas @indrekpaas
//
View gist:92145cd96b6cbe2733b2fd6f6cebe2d1
var gulp = require('gulp');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var libs = ["underscore", "jquery"];
gulp.task("vendor", function () {
var b = browserify();
libs.forEach(function (lib) {
View SassMeister-input-HTML.html
<div>
<button class="button" type="button">My Button</button>
</div>
View gulpfile.js
'use strict';
var gulp = require('gulp'),
browserSync = require('browser-sync'),
nodemon = require('gulp-nodemon');
// we'd need a slight delay to reload browsers
// connected to browser-sync after restarting nodemon
var BROWSER_SYNC_RELOAD_DELAY = 500;
View resize.sh
resize () {
local ext="${1:?Usage: resize-all <png|jpg|jpeg|gif> 800}"
local size="${2:-800}"
for f in *.$ext ; do sips -Z $size $f ; done
}
View iconset.sh
i use `sips` for quick-and-dirty iconset creation with Xcode (new high-resolution icons from a PNG):
#!/bin/bash
i=0
sizes=(512 256 128 64 32 16)
iconset="${1%.*}".iconset
View obj-extend-recursive.js
var extend = function(output) {
output = output || {};
// no args so just return output
if ( arguments.length < 2) return output;
// loop over arguments and recurse if prop is an object
for (var i = 1, len = arguments.length; i < len; i++) {
var obj = arguments[i];
View gist.md

Here's an example of how to embed a Gist on GitHub Pages:

{% gist 5555251 %}

All you need to do is copy and paste the Gist's ID from the URL (here 5555251), and add it to a gist tag surrounded by {% and %}.

View wifi-spark-alias.bash
# objective:
# type wifi in the console and get a pretty little graph of your current wifi strength
# usage:
# > wifi
# output:
# ▁▃▅█ 59
# first install spark
brew install spark
View prompt_peepcode_setup
#
# A simple theme from PeepCode.
# http://peepcode.com/blog/2012/my-command-line-prompt
#
# Authors:
# Geoffrey Grosenbach <boss@topfunky.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Screenshots:
# http://i.imgur.com/LhgmW.png