Skip to content

Instantly share code, notes, and snippets.

@wolflu05
wolflu05 / jinja2_TrackingCodeGenerator.py
Last active July 28, 2023 21:27
Get all variables accessed in a jinja2 template
from jinja2 import Environment, compiler, nodes
from jinja2.compiler import Frame
import re
env = Environment()
class Template:
def __init__(self, template_str: str) -> None:
# escape block statements

Telekom Widget

This is an iOS scriptable widget which shows the mobile data usage.

image

Features

  • show percentage and actual usage
  • show a status bar with an extrapolated bar to see how much you could use to have the remaining days in month each day the same data available
@wolflu05
wolflu05 / Algorithms.md
Last active July 12, 2022 21:14
Algorithms

Algorithms