Skip to content

Instantly share code, notes, and snippets.

from pprint import pprint
from bs4 import BeautifulSoup
import dryscrape
from itertools import tee, islice, chain
BASEURL = 'http://metalligaen.dk'
RELURRL = '/Home/Schedule'
WTHOMETEAM = '|-\n| style="text-align:left; background:#F2F2F2;"|[[%s]]\n'

Keybase proof

I hereby claim:

  • I am neic on github.
  • I am neic (https://keybase.io/neic) on keybase.
  • I have a public key whose fingerprint is FE1F C761 249E 23A2 E32C 46B4 822F AC8A D4C3 548C

To claim this, I am signing this object:

@neic
neic / Install Arch Linux as guest on VirtualBox.md
Last active August 29, 2015 14:14
Install Arch Linux as guest on VirtualBox

Install Arch Linux as guest on VirtualBox

Configure VirtualBox VM

Create a new VM with your settings. Port forward a local port, e.g. port 3022, to guest port 22. Mount the arch installation iso.

Install Arch

@neic
neic / pacman.tex
Created March 14, 2014 12:11
Pacman icons in TikZ
\newcommand{\ghost}[1]{\tikz[baseline=.1em,scale=.5]{
\draw [fill=#1] (0,0) -- (0,.5) arc (+180:0:.3) -- (.6,0) --
(.5,.15) -- (.4,0) -- (.3,.15) -- (.2,0) -- (.1,.15) -- cycle;
\coordinate (eye) at (360*rand:.03);
\foreach \x in {.17,.43}{
\fill[white] (\x,.5) circle[radius=.1];
\fill[black] (\x,.5) ++(eye) circle[radius=.05];
}
}}
@neic
neic / hest.pl
Last active January 3, 2016 22:49
Studienummer-spillet.
#!/usr/bin/perl
use WWW::Mechanize;
use Time::HiRes qw/usleep/;
$m = WWW::Mechanize->new();
$url = 'http://services.science.au.dk/apps/skema/VaelgElevskema.asp?webnavn=skema&sprog=da';
$i=1;
while ($i) {
$m->get($url);
@neic
neic / Moved
Last active June 5, 2016 14:12
FUHI xelatex preamble
This is moved to https://github.com/neic/preamble