Skip to content

Instantly share code, notes, and snippets.

View incognitojam's full-sized avatar
😖

Cameron Clough incognitojam

😖
  • United Kingdom
  • 02:44 (UTC +01:00)
View GitHub Profile
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x16 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:2, clock div:2
secure boot v2 enabled
secure boot verification succeeded
load:0x3fff0030 len:0x1c8c
load:0x40078000 len:0x4194
@incognitojam
incognitojam / bundle_size_history.py
Last active January 31, 2025 21:52
Build the app and check the bundle size (gzip compressed) for every commit in a repo, writing the results to a CSV file
import subprocess
import csv
import shutil
from pathlib import Path
from datetime import datetime
from tqdm import tqdm
def run_cmd(cmd):
try:
return subprocess.run(cmd, shell=True, check=True, capture_output=True, text=True)
# /// script
# dependencies = [
# "requests",
# ]
# ///
import requests
import re
import sys
from datetime import datetime