This file contains hidden or 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
from time import time | |
from logging.config import fileConfig | |
from twisted.internet import epollreactor | |
epollreactor.install() | |
from flask import Flask, request | |
app = Flask(__name__) | |
fileConfig("logging.ini") |
This file contains hidden or 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
{ | |
"id": "tx_[transaction-id]", | |
"created": "2017-07-24T05:45:49.311Z", | |
"description": "TFL.GOV.UK/CP\\VICTORIA STREET\\TFL TRAVEL CH\\SW1H 0TL GBR", | |
"amount": -770, | |
"currency": "GBP", | |
"merchant": null, | |
"notes": "", | |
"metadata": { | |
"mastercard_clearing_message_id": "mcclearingmsg_[mastercard-clearing-message-id]", |
This file contains hidden or 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 | |
# License: CC0 | |
# How to use: | |
# 1) Open the terminal in the target mod directory | |
# 2) Call the script | |
files=$(find . -name "*.lua") | |
ref_call() |