Skip to content

Instantly share code, notes, and snippets.

Gavin gavinanthony

Block or report user

Report or block gavinanthony

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
View SketchSystems.spec
DropdownInput
DropdownMenuInactive
toggle -> DropdownMenuActive
DropdownMenuActive
toggle -> DropdownMenuInactive
MenuItems
RowDefault
hover -> RowHover
click -> RowActive
RowHover
View responsive-sprite-mixin.scss
@mixin responsive-sprite($sprite-width, $sprite-height, $img-width, $img-height, $img-x, $img-y) {
background-size: percentage($sprite-width/$img-width) percentage($sprite-height/$img-height);
background-position: percentage($img-x/($sprite-width - $img-width)) percentage($img-y/($sprite-height - $img-height));
}
View keybase.md

Keybase proof

I hereby claim:

  • I am gavinanthony on github.
  • I am gav (https://keybase.io/gav) on keybase.
  • I have a public key whose fingerprint is 4CDD 9D8D 54BC EA69 05DD 1870 D554 EE71 F233 C0BA

To claim this, I am signing this object:

@gavinanthony
gavinanthony / .bashrc
Created Mar 12, 2016
Google search in Chrome bash
View .bashrc
function google() {
local s="$_"
local query=
case "$1" in
'') ;;
that) query="search?q=${s//[[:space:]]/+}" ;;
*) s="$*"; query="search?q=${s//[[:space:]]/+}" ;;
esac
You can’t perform that action at this time.