Skip to content

Instantly share code, notes, and snippets.

View ben174's full-sized avatar

Ben Friedland ben174

View GitHub Profile
I have a UUID4. Now I ask you to generate one. If they differ, I give you $500.
If they match, every member of your immediate family dies a gruesome death.
Do you take the bet? If yes - assuming I have an unlimited amount of money,
how many times do you play?
@ben174
ben174 / README.md
Last active February 13, 2019 21:00 — forked from sethmcl/README.md

My modified fork of agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

Compatibility

Keybase proof

I hereby claim:

  • I am ben174 on github.
  • I am ben174 (https://keybase.io/ben174) on keybase.
  • I have a public key whose fingerprint is 17E0 CA9E 619A 383C 5B40 B4E3 2360 3F58 E057 53F1

To claim this, I am signing this object:

Waterboarding at Guantanamo Bay sounds super rad if you don't know what either of those things are.
When Sweden is playing Denmark, it is SWE-DEN. The remaining letters, not used, is DEN-MARK.
April Fool's Day is the one day of the year when people critically evaluate news articles before accepting them as true.
I have never once hit the space bar while watching a YouTube video with the intention of scrolling halfway down the page
Maybe 'Are You Smarter Than a 5th Grader?' isn't a show that displays how stupid grown adults can be, but rather, a show that depicts how much useless information we teach grade schoolers that won't be retained or applicable later in life.
The object of golf is to play the least amout of golf.
Maybe if we announce that Buzzfeed's shutting down, Buzzfeed will announce that it's shutting down.
Every time you upvote someone, you are making their day better, at the cost of nothing.
I used hola unblocker to watch Argo on the Canadian Netflix. I was an American who had to pretend to be Ca
@ben174
ben174 / gist:5463348
Created April 25, 2013 21:31
Cheater, cheater
function stripJunk() { jQuery(".res_post_ups").each(function() { var upvotes = jQuery(this).text(); var downvotes = jQuery(this).next().text(); var net = (upvotes*1)-(downvotes*1); if(net<6) { jQuery(this).parent().parent().parent().parent().remove(); } }) }
function doScroll() { if(keepScrolling) { window.scrollTo(0, document.body.scrollHeight); stripJunk(); } }
var keepScrolling = true;
setInterval("doScroll()", 2000);