Skip to content

Instantly share code, notes, and snippets.

View rahcola's full-sized avatar

Jani Rahkola rahcola

  • Helsinki, Finland
View GitHub Profile
@rahcola
rahcola / laskin_code.js
Created November 10, 2012 18:56 — forked from anonymous/laskin_code.js
Selainohjelmointi, viikko 2
function init() {
naytaLuku("0");
/*eka näytä nolla */
var nappula = document.getElementById("nappi");
var laskin = new Laskin();
/* on nyt tosi rumasti tehty, mutta en keksinyt parempaakaan
* eli siis en päässyt tuolta hanskaaHomma-funktiosta
* käsiksi laskimeen, yritin vaikka mitä esim. antaa sen olion
* tolle hanskaaHommalle parametrina, mutta ei jostain
* syystä toiminut. Terkuin 4 tuntia myöhemmin päätin muuttaa
@rahcola
rahcola / gist:8020264
Created December 18, 2013 10:34
i3 statusbar conf
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
output_format = "i3bar"