Skip to content

Instantly share code, notes, and snippets.

View galaakk's full-sized avatar

Eric Dejonckheere galaakk

View GitHub Profile
@galaakk
galaakk / _media-queries.scss
Created September 22, 2012 23:49 — forked from anthonyshort/_media-queries.scss
Media Queries in Sass
// Media Queries in Sass 3.2
//
// These mixins make media queries a breeze with Sass.
// The media queries from mobile up until desktop all
// trigger at different points along the way
//
// And important point to remember is that and width
// over the portrait width is considered to be part of the
// landscape width. This allows us to capture widths of devices
// that might not fit the dimensions exactly. This means the break
@galaakk
galaakk / chgext.sh
Last active December 16, 2015 09:49 — forked from ttscoff/a.rb
# batch change extension (fix from Lri, again)
chgext() {
for file in *.$1 ; do mv "$file" "${file%.$1}.$2" ; done
}