Skip to content

Instantly share code, notes, and snippets.

@lyonsinbeta
lyonsinbeta / app.rb
Created Sep 30, 2014
The basics of having entirely separate Sinatra apps running on the same server.
View app.rb
require 'sinatra/base'
class App < Sinatra::Base
get '/' do
'app'
end
end
@lyonsinbeta
lyonsinbeta / cu_easter_eggs.js
Last active Aug 29, 2015
CU Online Easter Eggs
View cu_easter_eggs.js
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();
View keybase.md

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:

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.