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 | |
from os.path import exists | |
from sys import argv, exit | |
from uuid import uuid4 | |
from yaml import dump | |
try: |
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 | |
from os.path import exists | |
from sys import argv, exit | |
import igraph as ig | |
def adjacent4(w1, w2): | |
return ( |
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 | |
# https://github.com/simonmichael/hledger/blob/master/examples/TXF-spec-v042.org | |
# https://github.com/andreasg123/stock-gain-tax-import/blob/main/create-txf-2018.py | |
from collections import defaultdict | |
from datetime import date | |
from io import StringIO | |
from pprint import pprint | |
from sys import argv |
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
/* | |
// Override Slack CSS | |
// Tested with Slack 2.8.2 Direct Download | |
// Instructions: | |
// - Append the following javascript code to: | |
// - /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js (MacOS/X) | |
// - /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js (Debian/Ubuntu) |
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 __future__ import absolute_import, division, print_function, \ | |
unicode_literals | |
from concurrent.futures import ThreadPoolExecutor | |
from ddtrace import tracer | |
from ddtrace.contrib.tornado import trace_app | |
from random import uniform | |
from time import sleep |