Skip to content

Instantly share code, notes, and snippets.

View Torthu's full-sized avatar

Torstein Thune Torthu

View GitHub Profile
@Torthu
Torthu / es.sh
Last active August 29, 2015 14:24 — forked from sgringwe/es.sh
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
# Download the compiled elasticsearch rather than the source.
wget http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz -O elasticsearch.tar.gz
tar -xf elasticsearch.tar.gz
rm elasticsearch.tar.gz
sudo mv elasticsearch-* elasticsearch
sudo mv elasticsearch /usr/local/share
@Torthu
Torthu / BetterAngularModule.js
Last active August 29, 2015 14:08 — forked from hiddentao/gist:7300694
Make Angular module definition independent of file order.
/**
* Workaround to make defining and retrieving angular modules easier and more intuitive.
* Original: https://gist.github.com/hiddentao/7300694 // http://www.hiddentao.com/archives/2013/11/04/an-improved-angular-module-split-your-modules-into-multiple-files/
*/
(function(angular) {
var origMethod = angular.module;
var alreadyRegistered = {};
@Torthu
Torthu / pilsprog-roadmap-spring-2013.md
Created November 30, 2012 16:18 — forked from nilsnh/pilsprog-roadmap-spring-2013.md
A roadmap for pils & programmering spring 2013

Concepts:

  • Event med 50 oppmøtte!
  • Umbrella: Tv-show (will be marketed against NRK's kulturstripen) (looking for product owner)
  • FNL: Friday Night Lightning. The second Friday every month. roduct Owner: Eivind (Torstein skaffer rom)
  • SatHack: Hackathons (Snorre)
  • Rekruttering/PR
    • Snakke med fagutvalg (møte opp i introfag)
      • Infomedia/informatica
      • HiB
  • Informatikk