Skip to content

Instantly share code, notes, and snippets.

@lazerwalker
lazerwalker / gist:3915474
Created October 18, 2012 23:51
IE shim for HTML5 elements
<!--[if lt IE 9]>
<script>
var e = ("abbr,article,aside,audio,canvas,datalist,details," +
"figure,footer,header,hgroup,mark,menu,meter,nav,output," +
"progress,section,time,video").split(',');
for (var i = 0; i < e.length; i++) {
document.createElement(e[i]);
}
</script>
<![endif]-->
@lazerwalker
lazerwalker / green_number.coffee
Created June 22, 2013 04:20
Widget that shows green/red for sucess/failure with optional count metadata. Inspired by [ProjectMonitor](https://github.com/pivotal/projectmonitor) and heavily based on the default Dashing 'Number' widget.
Dashing.Widget
@accessor 'current', Dashing.AnimatedValue
ready: ->
@setBackground(@get('green'))
onData: (data) ->
@setBackground(data.green)
setTimeout((=>@renderHistory(data.history)), 0)
@lazerwalker
lazerwalker / gist:6132709
Last active December 20, 2015 12:39
Failing example for no_doc
resource 'No_Doc Test' do
get "/api/foo" do
example_request "should appear in docs" do
true.should be
end
example_request "should NOT appear in docs" do
no_doc do
true.should be
end
### Keybase proof
I hereby claim:
* I am [email protected] on github.
* I am lazerwalker (https://keybase.io/lazerwalker) on keybase.
* I have a public key whose fingerprint is D3B1 07EA 9868 F0A8 E7F8 135F 87D2 94AA 8A27 A543
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am lazerwalker on github.
* I am lazerwalker (https://keybase.io/lazerwalker) on keybase.
* I have a public key whose fingerprint is D3B1 07EA 9868 F0A8 E7F8 135F 87D2 94AA 8A27 A543
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am lazerwalker on github.
  • I am lazerwalker (https://keybase.io/lazerwalker) on keybase.
  • I have a public key whose fingerprint is 681F CE86 62ED 0921 842D 91AE 7B58 5D92 C4CD 05A6

To claim this, I am signing this object:

@lazerwalker
lazerwalker / gist:ed412f5bf2c85e07f649
Created September 3, 2014 12:48
Room for sublet!
Hey everyone! I've got an exciting contract gig pulling me out of town for three months, so I'm looking to sublet my room. I'd love to find a friend/friend-of-friend before going to Craigslist/etc if at all possible, so let me know if you want to come check it out!
I live in an awesome apartment in the East Village, just a few blocks form Union Square (13th b/w 2nd and 3rd). It's convenient to just about EVERYTHING. ~1 minute walk to the L train, a 2-3 minute walk to the Union Square N/Q/R/4/5/6, and there are multiple CitiBike docks within a 2-block radius. It's two blocks from Trader Joe's, literally next door to the Momofuku Milk Bar, and has tons of amazing bars/restaurants/shopping/everything within easy walking distance.
The apartment's a fifth-floor walk-up, but other than that it's super-nice. It's fairly large for this part of town, complete with a really nice kitchen. Lots of sunlight, hardwood floors, etc. My bedroom is the larger of the two; it's huge. Pets are allowed in the building, but I don
Hello. So below are my messy thoughts about my new special "Louis CK live at the Comedy Store" available here https://louisck.net/purchase/live-at-the-comedy-store for 5 dollars, all over the world...
So this is my sixth hour-long standup special. The truth is, I really love making these. I skipped doing one last year and I missed it. This one is different from the recent others. For one thing, it was shot in a nightclub instead of a theater. I love doing the theater shows. When I was a kid, my favorite thing in the world was Richard Pryor's concert films. The idea of being a comedian and doing a "concert" was a real goal for me. Performing in a theater expands your material and opens you up as a performer. The pressure of playing to thousands of people, I found, always makes you better. And every concert hall I've played has made me feel like I'm getting a whiff of that city or town's history. The whole thing can be very exhilarating.
But Nightclubs, comedy clubs, is where comedy is born and whe
{
"nodes": [
{
"name": "intro",
"text": "Hey, it's Salif. I'm finally leaving. I can't live here anymore, Syria's too dangerous now."
},
{
"text": "One of my cousins is in Germany. He's a barber, like my dad used to be."
},
{
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test</title>
<style title="Twine CSS">@-webkit-keyframes appear{0%{opacity:0}to{opacity:1}}@keyframes appear{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fade-in-out{0%,to{opacity:0}50%{opacity:1}}@keyframes fade-in-out{0%,to{opacity:0}50%{opacity:1}}@-webkit-keyframes rumble{50%{-webkit-transform:translateY(-.2em);transform:translateY(-.2em)}}@keyframes rumble{50%{-webkit-transform:translateY(-.2em);transform:translateY(-.2em)}}@-webkit-keyframes shudder{50%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}@keyframes shudder{50%{-webkit-transform:translateX(0.2em);transform:translateX(0.2em)}}@-webkit-keyframes box-flash{0%{background-color:#fff;color:#fff}}@keyframes box-flash{0%{background-color:#fff;color:#fff}}@-webkit-keyframes pulse{0%{-webkit-transform:scale(0,0);transform:scale(0,0)}20%{-webkit-transform:scale(1.2,1.2);transform:scale(1.2,1.2)}40%{-webkit-transform:scale(0.9,.9);transform:scale(0.9,.9)}60%{-webkit-transform: