-
Create a sprite of square images (if the icon is not square, save it inside a square anyway) example
-
Define sass map with the keys specified:
Create a sprite of square images (if the icon is not square, save it inside a square anyway) example
Define sass map with the keys specified:
import os | |
import shutil | |
import re | |
import datetime | |
from calendar import monthrange | |
from collections import OrderedDict | |
from dateutil.relativedelta import relativedelta | |
PATH = '/home/lvisintini/Downloads/statement' |
import os | |
import shutil | |
import datetime | |
PATH = '/home/lvisintini/Downloads/flowenergy' | |
def main(): | |
new_names = {} | |
for dirpath, _, filenames in os.walk(PATH): |
Updated instructions based on this tutorial
Props to https://github.com/10flow figuring how this works. It needed very little updating
# Docs: | |
# - https://docs.sentry.io/api/ | |
# - https://github.com/allisson/python-simple-sentry-client | |
# - https://github.com/allisson/python-simple-rest-client | |
# - https://python-simple-rest-client.readthedocs.io/en/latest/ | |
from simple_sentry_client.api import get_api_instance | |
AUTH_TOKEN = '<your auth token here>' # get one from https://sentry.io/settings/account/api/auth-tokens/ whilst logged in | |
ISSUE_ID = <your issue id here> # integer; the URL for the issue in sentry should contain this value |