Skip to content

Instantly share code, notes, and snippets.

SVFN SVAEDI HEITI
0000 00 Reykjavíkurborg
0000 01 Reykjavík
0000 03 Kjalarneshreppur
0000 04 Kjalarneshreppur
0000 05 Reykjavík
0000 06 Reykjavík
1000 00 Kópavogsbær
1000 01 Kópavogur
1100 00 Seltjarnarnesbær
@pallih
pallih / songs_11-7-2018_01-02-2019.csv
Created January 2, 2019 11:00
Lagalisti Rásar 2 - 7. nóv 2018 til 2. janúar 2019
We can't make this file beautiful and searchable because it's too large.
id;performer;title;start_time
1;Jak [ ];Aftur Heim;7-NOV-2018 11:24:53.7060
2;BRYAN FERRY;Jealous Guy;7-NOV-2018 11:30:35.2080
3;GRÍSALAPPALÍSA;Sambýlismannablús;7-NOV-2018 11:34:57.6340
4;ÚLFUR ÚLFUR;Brennum allt;7-NOV-2018 11:37:18.4250
5;GLOWIE;Body;7-NOV-2018 11:42:01.60
6;MOSES HIGHTOWER;Ellismellur;7-NOV-2018 11:44:56.4600
7;SÓLDÖGG;Breyti Um Lit;7-NOV-2018 11:49:42.4720
8;DURAN DURAN;Come undone;7-NOV-2018 11:55:54.9720
9;**LAG UNDIR LESNAR**;Stef - Rás 2 LAG UNDIR LESNAR 2016;7-NOV-2018 11:59:44.2310
@pallih
pallih / sveitarfelog.csv
Created August 13, 2018 13:51
Netföng sveitarfélaga - 13-8-2018
sveitarfelag netfang sveitarfélags
Akrahreppur  [email protected] 
Akraneskaupstaður [email protected]
Akureyrarkaupstaður [email protected]
Árneshreppur [email protected] 
Ásahreppur [email protected]
Bláskógabyggð [email protected]
Blönduósbær [email protected]
Bolungarvíkurkaupstaður [email protected]
Borgarbyggð [email protected]
@pallih
pallih / userscript.user.js
Created December 13, 2017 13:14
Greasemonkey/Tampermonkey skrifta til að bæta tengli á teikningar við fundargerðir byggingarfulltrúa í Reykjavík
// ==UserScript==
// @name Fundargerðir byggingafulltrúa með teikningum
// @namespace namespace
// @version 0.1
// @description
// @author pallih
// @match http://gamli.rvk.is/vefur/owa/edutils.parse_page?nafn*
// @grant none
// ==/UserScript==
@pallih
pallih / thingseturA-G.csv
Last active November 14, 2017 15:26
Þingsetur
We can't make this file beautiful and searchable because it's too large.
þingmaður,skammstöfun,þingflokkur,id,inn,út,fæðingardagur,ar,manudur,dagur,þing,deild,tegund,kjördæmi,kjördæmanúmer,þingsalssæti
Adda Bára Sigfúsdóttir,ABS,Alþýðubandalag,739,05.11.1957,20.11.1957,1926-12-30,1926,12,30,77,N,varamaður,Reykjavík,7,0
Adolf H. Berndsen,AHB,Sjálfstæðisflokkur,646,26.02.2001,12.03.2001,1959-01-19,1959,01,19,126,,varamaður,Norðurland vestra,4,25
Adolf H. Berndsen,AHB,Sjálfstæðisflokkur,646,23.10.2002,06.11.2002,1959-01-19,1959,01,19,128,,varamaður,Norðurland vestra,4,35
Adolf H. Berndsen,AHB,Sjálfstæðisflokkur,646,16.01.2003,10.05.2003,1959-01-19,1959,01,19,128,,þingmaður,Norðurland vestra,4,40
Adolf H. Berndsen,AHB,Sjálfstæðisflokkur,646,25.05.2004,28.05.2004,1959-01-19,1959,01,19,130,,varamaður,Norðvesturkjördæmi,1,56
Adolf H. Berndsen,AHB,Sjálfstæðisflokkur,646,21.11.2005,05.12.2005,1959-01-19,1959,01,19,132,,varamaður,Norðvesturkjördæmi,1,36
Adolf H. Berndsen,AHB,Sjálfstæðisflokkur,646,20.03.2006,03.04.2006,1959-01-19,1959,01,19,132,,varamaður,Norðvesturkjördæmi,4,56
Adolf H. Be
@pallih
pallih / thingmenn.csv
Created November 14, 2017 13:39
Alþingismannatal
id nafn fæðingardagur ar manudur dagur
739 Adda Bára Sigfúsdóttir 1926-12-30 1926 12 30
646 Adolf H. Berndsen 1959-01-19 1959 01 19
14 Aðalheiður Bjarnfreðsdóttir 1921-08-08 1921 08 08
15 Albert Guðmundsson 1923-10-05 1923 10 05
1298 Albert Guðmundsson 1991-02-21 1991 02 21
1324 Albertína Friðbjörg Elíasdóttir 1980-02-17 1980 02 17
16 Alexander Stefánsson 1922-10-06 1922 10 06
17 Alfreð Gíslason 1905-07-07 1905 07 07
18 Alfreð Gíslason 1905-12-12 1905 12 12
We can't make this file beautiful and searchable because it's too large.
location,scrapetime,bikes,stations
"Lækjartorg Square","19.06.2017 17:20",20,3
Vesturbugt,"19.06.2017 17:20",15,4
"Hallgrímskirkja","19.06.2017 17:20",6,5
"Hlemmur Square","19.06.2017 17:20",4,11
"Husdyragardur Park","19.06.2017 17:20",5,6
"City Park Klambratún","19.06.2017 17:20",9,10
"Laugardalslaug Pool","19.06.2017 17:20",9,10
"Nautholsvík Beach","19.06.2017 17:20",1,18
"Lækjartorg Square","19.06.2017 17:25",20,3
# -*- coding: utf-8 -*-
import random
import tweepy
from tweepy.models import Status
import requests
import lxml.html
import json
import dataset

Keybase proof

I hereby claim:

  • I am pallih on github.
  • I am pallih (https://keybase.io/pallih) on keybase.
  • I have a public key ASC6ctb-YwKB7PiLlh6XK8hsOB0D8_EYPuYEk4avlD5eWgo

To claim this, I am signing this object:

@pallih
pallih / haschat_nvidia_aws_install.sh
Created April 17, 2017 22:34
User data script for EC2 on AWS to install hashcat and Nvidia drivers
#!/bin/bash
# Ubuntu 14.04 server - 10 Gb storage at least
# update system
apt-get update
apt-get install build-essential -y
apt-get install git -y
# clone hashcat and make
cd /home/ubuntu
git clone https://github.com/hashcat/hashcat.git
cd /home/ubuntu/hashcat