Skip to content

Instantly share code, notes, and snippets.

View Lordnibbler's full-sized avatar

Ben Radler Lordnibbler

View GitHub Profile
$ grep 29 file.log | cut -d , -f 4 |sort |uniq -c |sort -nr
{
"event": "serverfault",
"code": 5234,
"reason": "Disk full"
}
@Lordnibbler
Lordnibbler / input.scss
Created October 19, 2012 03:25 — forked from twe4ked/input.scss
Sass (SCSS) mixin for including retina images (useful when developing for iOS).
@mixin background-image-retina($file, $type, $width, $height) {
background-image: url($file + '.' + $type);
@media (-webkit-min-device-pixel-ratio: 2), (-moz-min-device-pixel-ratio: 2) {
& {
background-image: url($file + '@2x.' + $type);
-webkit-background-size: $width $height;
}
}
}
{
"channels": [
{
"number": 78,
"name": "Zombie Bass",
"num_of_listeners": 1,
"created_at": "2012-03-21T04:04:36Z",
"updated_at": "2012-04-20T01:21:12Z"
},
]