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 | |
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
# 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 | |
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
#!/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
#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
#include <iostream> | |
#include <boost/serialization/strong_typedef.hpp> | |
BOOST_STRONG_TYPEDEF(double, Time) | |
BOOST_STRONG_TYPEDEF(double, Distance) | |
BOOST_STRONG_TYPEDEF(double, Velocity) | |
Velocity calculateVelocity(Distance d, Time t) { | |
return Velocity{static_cast<double>(d) / static_cast<double>(t)}; | |
} |
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
package main | |
import ( | |
zmq "github.com/pebbe/zmq4" | |
//"golang.org/x/net/websocket" | |
"errors" | |
"fmt" | |
"strconv" | |
"strings" |
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
CXX=clang++ | |
CXXFLAGS=-O3 -Werror -Weverything -pedantic -Wno-c++98-compat -std=c++14 | |
all: test_mult | |
clean: | |
rm -f test_mult |
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 <cassert> | |
#include <functional> | |
// | |
// Classical Function Definition | |
// | |
int add(int x, int y) { | |
return x + y; | |
} |