Skip to content

Instantly share code, notes, and snippets.

View weissi1994's full-sized avatar

Daniel Weissengruber weissi1994

View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
import sys
KEYWORDS = ['Verwendungszweck', 'Zahlungsempfänger', 'Zahlungsreferenz', 'IBAN Zahlungsempfänger', 'BIC Zahlungsempfänger', 'Auftraggeber', 'IBAN Auftraggeber', 'BIC Auftraggeber', 'Empfänger', 'IBAN Empfänger', 'BIC Empfänger']
is_in = lambda x, y : len([p for p in x if p in y])
if len(sys.argv) != 2:
@weissi1994
weissi1994 / ultimate-ut-cheat-sheet.md
Created February 24, 2020 19:50 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies


Keybase proof

I hereby claim:

  • I am weissi1994 on github.
  • I am weissi (https://keybase.io/weissi) on keybase.
  • I have a public key ASC99EHBcxIpWYWJb0ijrA9CxFsTakQB0ODDK9Uum0uI1wo

To claim this, I am signing this object:

#!/usr/bin/env python
from daemonize import Daemonize
import os, sys
import subprocess
import wordlist
import logging
import threading
some_rlock = threading.RLock()