Skip to content

Instantly share code, notes, and snippets.

function getSleepHours(day){
hours = prompt("How long did you sleep on "+ day + "? ");
return Number(hours);
}
function getActualSleepHours() {
Monday = getSleepHours("Monday");
Tuesday = getSleepHours("Tuesday");
Wednesday = getSleepHours("Wednesday");
Thursday = getSleepHours("Thursday");
@MortalCatalyst
MortalCatalyst / update_firefox_developer_edition.sh
Created November 15, 2015 11:26 — forked from grenade/update_firefox_developer_edition.sh
This script is based on another for Sublime Text (http://www.simonewebdesign.it/install-sublime-text-3-on-linux/). It will handle updates (detects the latest developer edition), locale (using your $LANG environment variable) and architecture (only tested on a 64 bit system, feedback welcome).
#!/bin/sh
# Firefox Developer Edition install
# No need to download this script, just run it on your terminal:
# $ curl -L git.io/firefoxdev | sh
# When you need to update Firefox Developer Edition, run this script again.
START_CMD="ffd"
INSTALLATION_DIR="/opt/firefox"