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
aahed | |
aalii | |
aalst | |
aalto | |
aamsi | |
aapss | |
aarau | |
aaren | |
aargh | |
aaron |
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/bash | |
### MacOS (sollte auch auf Linux laufen) | |
### Es wird ein Tool benötigt. welches PDF on Text umwandelt, hier "pdftotext" | |
### ... man muss sich den Output anschauen und sehen, wie man den namensgebenden Text findet | |
### ... hier sind es drei Stellen, die ich suche und in ein CSV schreibe sowie die Datei umbenenne | |
### ... Sondernehandlung für PDFs, die die Schlüsselwörter nicht enthalten => dann Werte des vorigen PDFs übernehmen | |
#rm log | |
schluessel="FEHLER" |
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
# 0 means 'no result', 'strich' | |
# two input methods: by player and by hole - both are evaluated together. Use "by-hole" for own flight, "by-player" for other flights | |
# Disclaimer: The code quality is very low. All the rules are hard coded. No UI. | |
inputByPlayer = '555654676 Willy 17,663664666 Cengiz 30' #'583765585 Peter 16,575785474 Cengiz 30,563653575 Rainer 13,584554566 Hans 21' | |
inputByHole = 'Thomas Peter Horst,10 16 28,447 667 350 555 575 533 485 576 746' | |
coursepar18 = [4,5,3,4,4,3,4,5,4,4,4,4,3,5,4,3,5,4] | |
# [4,5,4,4,3,5,3,4,4,4,4,3,5,4,5,3,4,4] # GC Pfalz |
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 python3 | |
# Purpose: | |
# Golf > print table handicap-index:playing-handicap | |
# range of indexes: 0..36.0 | |
# handicaps should be negative, the display is *(-1) | |
# Author: Thomas Schlosser, [email protected] | |
cr = 72.5 | |
slope = 130 | |
par = 72 |
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
import calendar | |
import datetime | |
import time | |
now = time.localtime() | |
curj=now[0] if now[1]>1 else now[0]-1 #2013 | |
curm=now[1]-1 if now[1]>1 else 12 #8 | |
for i in range(3,0,-1): | |
kw=datetime.date(curj, curm, 1).isocalendar()[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
// ==UserScript== | |
// @name Xing-Scraper | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.95 | |
// @description scrapes the contact list of a contact (visible page) to CouchDB | |
// @match https://www.xing.com/app/profile* | |
// @copyright 2012+, You | |
// ==/UserScript== | |
// Works on the "Kontakte" Tab of a contact (if contacts are deiplayed by policy) |