Skip to content

Instantly share code, notes, and snippets.

@dustinhorton
dustinhorton / Fetch.sublime-settings
Created January 6, 2012 21:04
fetch settings for sublime text 2
{
"files":
{
"jquery" : "http://code.jquery.com/jquery.min.js",
"jquery-ui-effects" : "https://raw.github.com/jquery/jquery-ui/master/ui/jquery.effects.core.js",
"jquery-mobile-vmouse" : "https://raw.github.com/jquery/jquery-mobile/master/js/jquery.mobile.vmouse.js",
"jquery-flexslider" : "https://raw.github.com/mbmufffin/FlexSlider/master/jquery.flexslider-min.js",
"jquery-mediaelement" : "https://raw.github.com/johndyer/mediaelement/master/build/mediaelement-and-player.js",
"jquery-url" : "https://raw.github.com/allmarkedup/jQuery-URL-Parser/master/jquery.url.js",
"jquery-dotimeout" : "https://raw.github.com/cowboy/jquery-dotimeout/master/jquery.ba-dotimeout.min.js",
@dustinhorton
dustinhorton / Base File.sublime-settings
Created January 12, 2012 02:03
custom settings for sublime text 2
{
"color_scheme": "Packages/Color Scheme - Default/idleFingers.tmTheme",
"fallback_encoding": "UTF-8",
"font_face": "Monaco",
"font_size": 10,
"save_on_focus_lost": true,
@dustinhorton
dustinhorton / prompt
Created August 12, 2012 06:57
Prompt to show current directory path.
export PATH=/usr/local/bin:$PATH
function get_pwd() {
currdir=`pwd`
echo "${currdir/$HOME/~}"
}
export PS1='
`get_pwd`
→'
@dustinhorton
dustinhorton / sass-triangle-mixin.sass
Created September 9, 2012 04:02
Blackbelt Blog Gists - SASS Triangle Mixin
@mixin triangle($dir, $size, $color) {
border: $size transparent solid;
@if ($dir == "top" or $dir == "up") {
border-bottom-color: $color;
}
@else if ($dir == "right" or $dir == "after") {
border-left-color: $color;
}
@else if ($dir == "bottom" or $dir == "down") {
@dustinhorton
dustinhorton / sass-px-to-em-function.scss
Created February 19, 2013 03:32
Blackbelt Blog Gists - Converting PX To EM Units
@function em ($px, $font-size: $font-size) {
@return ($px / $font-size) * 1em;
}
@dustinhorton
dustinhorton / SassMeister-input.scss
Created May 12, 2015 01:44
Generated by SassMeister.com.
// ----
// libsass (v3.2.2)
// ----
$blue: blue;
$colors:
blue #ff0000;
.test {
@dustinhorton
dustinhorton / SassMeister-input.scss
Created May 12, 2015 02:05
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
// ----------------------------------------------------------------------
// COLOR - TEXT/ICON
// ----------------------------------------------------------------------
// BRAND COLORS

Keybase proof

I hereby claim:

  • I am dustinhorton on github.
  • I am dustinhorton (https://keybase.io/dustinhorton) on keybase.
  • I have a public key whose fingerprint is 99BF 51DD E943 D373 ED03 1E7B 4AAC 9A7D 7A7C C83F

To claim this, I am signing this object:

@dustinhorton
dustinhorton / SassMeister-input.scss
Created July 15, 2015 14:27
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$cols: 3;
@for $i from 1 through $cols {
$index: index($cols, $i);
.col---1 {
@dustinhorton
dustinhorton / SassMeister-input.scss
Last active November 6, 2015 01:15
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$lava: #d52d24;
$shamrock: #309457;
$brand: #4a89dc;
$violet: #7966ba;
$pitch: #333330;
$thunder: #767676;