Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am lyonsinbeta on github.
  • I am lyonsinbeta (https://keybase.io/lyonsinbeta) on keybase.
  • I have a public key whose fingerprint is E2A8 58ED 3A82 F7DB 0534 6473 C430 46BF F6BD 2FC2

To claim this, I am signing this object:

@lyonsinbeta
lyonsinbeta / cu_easter_eggs.js
Last active August 29, 2015 14:03
CU Online Easter Eggs
var beetlejuice = "6669698476697485736769";
var konami = "38384040373937396665";
var input = "";
var timer;
//The following function sets a timer that checks for user input. You can change the variation in how long the user has to input by changing the number in ‘setTimeout.’ In this case, it’s set for 500 milliseconds or ½ second.
window.addEventListener("keyup", function(e) {
input += e.which;
clearTimeout(timer);
timer = setTimeout(function() { input = ""; }, 500);
check_input();
@lyonsinbeta
lyonsinbeta / app.rb
Created September 30, 2014 03:38
The basics of having entirely separate Sinatra apps running on the same server.
require 'sinatra/base'
class App < Sinatra::Base
get '/' do
'app'
end
end