Skip to content

Instantly share code, notes, and snippets.

View Medeah's full-sized avatar

Frederik Andersen Medeah

  • The Restaurant at the End of the Universe
  • 12:08 (UTC +02:00)
View GitHub Profile
@Medeah
Medeah / elevator.ts
Created September 17, 2015 19:29
simple elevator logic. with typeScript type definitions
var elevatorSaga = {
init: function(elevators: Elevator[], floors: Floor[]) {
console.log(floors[1]);
function amin(numArray) {
return Math.min.apply(null, numArray);
}
function amax(numArray) {
return Math.max.apply(null, numArray);
}
/**
@Medeah
Medeah / rss.xml
Last active October 24, 2016 18:56
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>The Hitchhiker's Guide to the Galaxy</title>
<description>"The Hitchhiker's Guide to the Galaxy" was originally a 1979 BBC radio series, written by Douglas Adams, which first premiered in the US on PBS in 1980. The subsequent TV show (available on DVD) recreates the insight and beauty of the radio broadcast with visuals that were precognizant and beyond "state of the art." The book of the same name was actually a transcript of the original audio. The book pales by comparison to the original radio episodes because of the genius of the audio effects. (The 2005 movie version was an abomination.)
The original radio version of "The Hitchhiker's Guide to the Galaxy" is likely the most humorous and insightful source of philosophical wisdom created in the last 50 years, and comparable to (but much funnier than) the works of Jules Vern in terms of predictive fiction.</description>
<link>http://www.induceddyslexia.com/hitchhi