is this really an opening brace? "}"
.erehwemos ti gnitsap dna "god yzal eht revo spmuj xof nworb kciuq ehT" :siht ypoc ot yrT
{ | |
"help": "{n} is replaced with the sheet number, n represents the padding of the number e.g. ({2} => (01,02,03))", | |
"name": "KIT Inf SS2014", | |
"uebs": { | |
"RO": { | |
"begin": "2014-04-28 13:15", | |
"every": 7, | |
"url": "http://ti.ira.uka.de/TI-2/Uebungen/blatt{2}.pdf", | |
"info": "Keine Pflicht aber Bonuspunkte auf die Klausur" | |
}, |
{ | |
"name": "KIT Inf WS2014", | |
"uebs": { | |
"DT": { | |
"begin": "2014-11-03 13:00", | |
"every": 7, | |
"url": "http://ti.ira.uka.de/TI-2/Uebungen/blatt{2}.pdf" | |
} | |
}, | |
"end": "2015-02-15" |
{ | |
"help": "{n} is replaced with the sheet number, n represents the padding of the number e.g. ({2} => (01,02,03))", | |
"name": "KIT Inf SS2015 (4. FSem)", | |
"uebs": { | |
"Sicherheit": { | |
"begin": "2015-04-23 15:45", | |
"every": [14,21,14], | |
"url": "https://crypto.iti.kit.edu/fileadmin/User/SicherheitSS15/Uebung/Sicherheit_UE{2}.pdf", | |
"info": "Keine Abgabe. Besprechung in der Übung. <a href='https://crypto.iti.kit.edu/index.php?id=sic-sose15'>Vorlesungsseite</a>" | |
}, |
#!/bin/bash | |
# downloadChannel | |
# | |
# downloads a whole youtube channel, including descriptions and thumbnails | |
# should work on any channel or playlist | |
# youtube-dl is awesome | |
# depends: youtube-dl | |
if [[ ! "$1" ]]; then | |
echo "No channel specified" |
second = 1; | |
year = 365.25 * 24 * 60 * 60 * second; | |
universe_age = 13.82e9 * year; | |
hash_length = 256; | |
hash_speed = 2500 * 1e6 / second; // fastest GPU from https://en.bitcoin.it/wiki/Non-specialized_hardware_comparison | |
probability_of_asteroid_wiping_out_humans = 1 / (100 * 1e6 * year); // http://www.wired.com/2013/02/asteroid-odds/ | |
// http://preshing.com/20110504/hash-collision-probabilities/ | |
function collision_probability(tries, possibilities) { |
<script> | |
function log(s) { | |
document.writeln(s+"<br>"); | |
console.log(s); | |
} | |
function generateString(bytes) { | |
return Array(bytes+1).join("a"); | |
} |
#!/bin/bash | |
# | |
# Copy data from a Time Machine volume mounted on a Linux box. | |
# | |
# Usage: copy-from-time-machine.sh <source> <target> | |
# | |
# source: the source directory inside a time machine backup | |
# target: the target directory in which to copy the reconstructed | |
# directory trees. Created if it does not exists. | |
# |
is this really an opening brace? "}"
.erehwemos ti gnitsap dna "god yzal eht revo spmuj xof nworb kciuq ehT" :siht ypoc ot yrT
#!/usr/bin/python3 | |
import matplotlib.pyplot as plt | |
from datetime import datetime, timedelta | |
import numpy, csv, sys | |
from itertools import groupby | |
from functools import partial | |
reader = csv.reader(open("data.csv", "r"), delimiter=";") | |
next(reader, None) # skip header |