Skip to content

Instantly share code, notes, and snippets.

Kyle Bavender kbav

Block or report user

Report or block kbav

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kbav / snippet-holder_js.sublime-snippet
Last active Aug 29, 2015
Sublime Text Holder.js Syntax Snippet
View snippet-holder_js.sublime-snippet
${1:/js/holder.js/}${2:300}x${3:200}/${4:auto/}${5:sky/vine/lava/gray/industrial/social}/#${6:000000}:#${7:FFFFFF}/text:${8:hello world}
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>Holder.js syntax helper snippet. Holder.js ( is the best tool for making placeholder images.</description>
View calc() mixin for less
.calc(@expression) {
width: -webkit-calc(@expression);
width: -moz-calc(@expression);
width: calc(@expression);
kbav / osx-screenshot-directory
Created Jan 9, 2013
Change OS X default Screenshot save directory
View osx-screenshot-directory
defaults write location ~/path/; killall SystemUIServer
kbav / gist:4126337
Created Nov 21, 2012
HTML Email Hidden Preheader
View gist:4126337
/* ... */
/*--- Preheader declaration in style block in addition to inline for Outlook */
.preheader { display:none !important; visibility:hidden; opacity:0; color:transparent; height:0; width:0; }
<span class="preheader" style="display: none !important; visibility: hidden; opacity: 0; color: transparent; height: 0; width: 0;">Preheader text shows up in GMail, iOS,, &amp; more: 75 text char limit</span>
You can’t perform that action at this time.