Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
git rev-parse 2>/dev/null
if [[ $? != 0 ]]
then
echo "Not a git repo"
return
fi
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
textarea {
font-family: inherit;
-webkit-font-smoothing: inherit;
}
@2ndkauboy
2ndkauboy / helvetica-neue-desk-interface-reset.css
Created October 28, 2014 23:29
Reset the HTML form buttons font-family from "Helvetica Neue Desk Interface", forced by OS X Yosemite, back to it's original font-family.
input[type="submit"], input[type="reset"], input[type="button"], button {
font-family: inherit;
-webkit-font-smoothing: inherit;
}
@linusthe3rd
linusthe3rd / grade_select.erb
Created May 18, 2011 18:00
Rails - Create a select tag for grades K-12
<%= f.label :grade %>
<%= f.select(:grade, (["K"] | (1..12).to_a))%>