Spinning dice into a dark cup!
Forked from Alec Taylor's Pen YATZEE!!!.
A Pen by Captain Anonymous on CodePen.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
| <title>The Poop Bag Map</title> | |
| <style type="text/css"> | |
| html { | |
| height: 100% | |
| } |
Spinning dice into a dark cup!
Forked from Alec Taylor's Pen YATZEE!!!.
A Pen by Captain Anonymous on CodePen.
| from collections import defaultdict | |
| import numpy as np | |
| import time | |
| # A CSV File with about 35 million lines looking like this: | |
| # 578559.000 5917080.000 5.608 | |
| # 578560.000 5917080.000 5.639 | |
| # 578562.000 5917080.000 -2.629 | |
| # ... | |
| FILENAME = "../../Sources/HH_bis_28082013_1m_NN_UTM.txt" |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # this file is called by backintime to handle it's current states | |
| # see: http://backintime.le-web.org/documentation/usercallback/ | |
| MOUNT_PATH="/media/backup" | |
| LOG_FILE="/var/log/backintime/backintime.log" | |
| EMAIL_ADDRESS="[email protected]" | |
| LAST_READ_MARKER_PATH="/root/backup_timestamps/marker" | |
| NAME_INDICATOR_PATH=${MOUNT_PATH}"/name_backup" |
| #!/bin/bash | |
| # PURPOSE: Script to check temperatures and report if specified temperatures exceeded | |
| # requires lm-sensors | |
| LOG_FILE="/var/log/CPUWarning.log" | |
| EMAIL_ADDRESS="[email protected]" | |
| MAX_TEMP=70 | |
| warning=false |
| #!/bin/bash | |
| # PURPOSE: Script to check LOCKBASE online services availability | |
| LOG_FILE="/var/log/online_services_health.log" | |
| EMAIL_ADDRESS="[email protected]" | |
| HetznerURL="https://lockbase.net/cgi-bin/" | |
| BackupURL="https://lockbase.org/cgi-bin/" | |
| OnlineCheckURL="https://www.google.com/" | |
| WebsiteURL="https://koertner-muth.de/koertner-muth/Navi.cgi" |
| #!/bin/bash | |
| su postgres -c 'pg_dump db --clean' | gzip --rsyncable --best > /data/export/KM/backup/kmdb/"$(date +"%Y-%m-%d")".gz |
| #!/bin/bash | |
| # automagically downloads the newest stable mediawiki and it's php dependencies | |
| MW_PATH="/export/home/wwwfsr/fachschaft/wiki" # set your mediawiki path here | |
| MW_stable_branch_number=$(curl -s "https://www.mediawiki.org/w/api.php?action=expandtemplates&text=\{\{MW%20stable%20branch%20number\}\}&prop=wikitext&formatversion=2&format=json" | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["expandtemplates"]["wikitext"]') | |
| MW_stable_release_number=$(curl -s "https://www.mediawiki.org/w/api.php?action=expandtemplates&text=\{\{MW%20stable%20release%20number\}\}&prop=wikitext&formatversion=2&format=json" | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["expandtemplates"]["wikitext"]') |
| #!/bin/sh | |
| # put this file in /etc/network/if-up.d/ | |
| if iwconfig wlp4s0 | grep -c "ESSID:\"WIFIonICE\"" | |
| then | |
| curl -s "https://www.ombord.info/hotspot/hotspot.cgi?connect=&method=login&realm=db_advanced_wifi" | |
| fi |