Skip to content

Instantly share code, notes, and snippets.

View llkats's full-sized avatar
💭
still affable

Lydia Kats llkats

💭
still affable
View GitHub Profile
@llkats
llkats / useragent.txt
Created July 11, 2012 22:40
mobile IE user agent string
Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; SAMSUNG; SGH-i917)
@llkats
llkats / gist:3981688
Created October 30, 2012 17:26 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@llkats
llkats / max-height.js
Created December 28, 2012 02:19
max height of a list
var maxheight = 0;
$.each($('#latest-carousel li'), function(i, val) {
maxheight = $(val).height() > maxheight ? $(val).height() : maxheight;
});
$('#carousel-mask').css('height', maxheight);
@llkats
llkats / meatdelay.js
Created December 1, 2013 05:26
Bookmarklet to delay the submission of a meatspace chat message for a bit.
(function() {
var WAITFORIT;
// style objects for styles bc lazy
var divstyles = {
'width' : '300px',
'height' : '150px',
'backgroundColor' : '#fff',
'position' : 'fixed',
@llkats
llkats / swallows
Created December 10, 2013 22:39
We asked meatspace: what is the airspeed velocity of an unladen swallow? These are the responses. Let's watch.
What do you mean? An African or European swallow?
an african or an european swallow?
Butts
25 mph
Derp. African or European. Must specify and make entire new site.
42
You have to know these things when you're a king, you know...
African, or European?
African or European?
100 petacoconuts/s
@mixin box-shadow($top, $left, $blur, $color, $inset: false) {
@if $inset {
-webkit-box-shadow:inset $top $left $blur $color;
-moz-box-shadow:inset $top $left $blur $color;
box-shadow:inset $top $left $blur $color;
} @else {
-webkit-box-shadow: $top $left $blur $color;
-moz-box-shadow: $top $left $blur $color;
box-shadow: $top $left $blur $color;
}
@llkats
llkats / app.js
Created February 23, 2014 21:41
express app.js scaffold
var express = require('express');
var jade = require('jade');
var app = express();
var pub = __dirname + '/public';
app.set('views', __dirname + '/views');
app.set('view engine', 'jade');
app.use(app.router);
@llkats
llkats / kneesandnode.md
Last active August 29, 2015 13:57
a little song

To the tune of "Head, Shoulders, Knees, and Toes.

less, express, jade, and node
               (jade and node)

less, express, jade, and node
               (jade and node)

sass and gulp and grunt and node

Keybase proof

I hereby claim:

  • I am llkats on github.
  • I am llkats (https://keybase.io/llkats) on keybase.
  • I have a public key whose fingerprint is 515C 9CCF BF69 A463 BF66 5F8C E6C7 A881 0761 0C04

To claim this, I am signing this object:

__ __
(..\ /..)
ΛΛ \ / VV
\ \ / /
\ \ / /
\ \--=^^^^^^^^^^^^=--/ /
\ 1000 SIGNUPS /
|_|--------------|_|