Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sbone on github.
  • I am sbone (https://keybase.io/sbone) on keybase.
  • I have a public key whose fingerprint is 745C 35CE 17D8 1DDA F77D 9B46 64E6 86AC ABE9 229C

To claim this, I am signing this object:

@sbone
sbone / foundation-5-bookmarklet-styles.css
Last active August 29, 2015 14:18
CSS for JS bookmarklet that shows which breakpoint Foundation 5 is reading
#foundation-breakpoint-indicator:before {
content: 'NULL';
display: block;
position: fixed;
top: 0;
left: 50%;
margin-left: -50px;
width: 100px;
background-color: blue;
text-align: center;
@sbone
sbone / style.sass
Created April 7, 2012 21:43
H5BP CSS in SASS (the parts I use most frequently, at least)
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section
display: block
audio, canvas, video
display: inline-block
*display: inline
*zoom: 1
[hidden]
display: none
@sbone
sbone / index.haml
Created April 7, 2012 20:40
H5BP's index in HAML
!!! 5
/[if lt IE 7]
%html{:class => "no-js lt-ie9 lt-ie8 lt-ie7", :lang => "en"}
/[if IE 7]
%html{:class => "no-js lt-ie9 lt-ie8", :lang => "en"}
/[if IE 8]
%html{:class => "no-js lt-ie9", :lang => "en"}
@sbone
sbone / sass-reference.css.scss
Created March 28, 2012 18:32
A collection of SASS mixins and the like.
@mixin rounded-button($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
border-radius: $radius;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
@mixin rounded-left-top-bottom($radius) {
@sbone
sbone / .bashrc
Created February 17, 2012 16:23
Customized .bashrc
# RVM
export PATH="./bin:$PATH"
[[ -s "/Users/Steven/.rvm/scripts/rvm" ]] && source "/Users/Steven/.rvm/scripts/rvm"
# Git command and branch name tab-completion
source ~/git-completion.bash
# Check if directory is a Git repo
# Customized from http://vvv.tobiassjosten.net/git/add-current-git-branch-to-your-bash-prompt
git_prompt ()