This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Skiplist.h" | |
#include <iostream> | |
#include <fstream> | |
using namespace std; | |
int main(int argc, char ** argv) | |
{ | |
Dictionary dict; | |
static char QUIT = 'q'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
for i in {01..14} | |
do | |
wget http://numerik.uni-hd.de/\~lehre/SS11/numerik/Docs/Loesungen/loesung_$i.pdf | |
wget http://numerik.uni-hd.de/\~lehre/SS11/numerik/Docs/Uebungen/uebung_$i.pdf | |
wget http://www.mathematik.tu-dortmund.de/lsx/cms/media/numphy2012/Blatt$i.pdf | |
wget http://www.mathematik.tu-dortmund.de/lsx/cms/media/numphy2012/Loesung$i.pdf | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from os import mkdir, path | |
from PIL import Image | |
from requests import get | |
from StringIO import StringIO | |
BASE = "http://www.bundesliga.de/pics/_2012/wappen" | |
SIZES = (25, 80) | |
TEAMS = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Django settings for bundesliga project. | |
from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS | |
from os.path import dirname, join | |
ROOT = dirname(__file__) | |
DEBUG = True | |
TEMPLATE_DEBUG = DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import string as s | |
from random import randint | |
from sys import argv | |
CHARS = s.ascii_letters + s.digits + s.punctuation | |
def main(argc, argv): | |
l = 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Only works from within the university's network! | |
wget --mirror -k -E http://cdroms.digibib.net/bronstein/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding=utf-8 | |
from __future__ import division | |
import itertools as it | |
import random as r | |
from sys import argv | |
def play_round(switch_choice=True): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
P = test_gsl | |
OBJECTS = test_gsl.c | |
CFLAGS = -g -Werror -O3 -std=gnu11 `pkg-config --cflags gsl` | |
LDLIBS = `pkg-config --libs gsl` | |
CC = gcc-mp-4.7 | |
$(P): $(OBJECTS) | |
clean: | |
rm $(P) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Robot = function(robot) { | |
}; | |
var found = false; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
if (!found) { | |
robot.rotateCannon(1); | |
robot.ahead(1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Name: | |
Author: | |
Version: | |
Description: | |
]]-- | |
--[[ | |
This event is called, at the beginning of the round. The current map is | |
passed to it, so you can analize it, get it ready for pathfinding and search |
OlderNewer