Skip to content

Instantly share code, notes, and snippets.

```
c:\users\sandy\.platformio\penv\scripts\python.exe C:\Users\sandy\.platformio\packages\tool-esptoolpy\esptool.py --chip esp32 --port "COM6" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 C:\Users\sandy\.platformio\packages\framework-arduinoespressif32\tools\sdk\bin\bootloader_dio_40m.bin 0x8000 c:\Users\sandy\Documents\PlatformIO\Projects\polargraph_esp\.pioenvs\nodemcu-32s\partitions.bin 0xe000 C:\Users\sandy\.platformio\packages\framework-arduinoespressif32\tools\partitions\boot_app0.bin 0x10000 .pioenvs\nodemcu-32s\firmware.bin
```
(snipped from "verbose upload".)
@euphy
euphy / send.py
Last active May 6, 2022 18:56
Polargraph queue sender (low resource)
#!/usr/bin/python
"""
MIT License
Copyright (c) 2022 Sandy Noble
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@euphy
euphy / musicmagpie.py
Last active June 12, 2023 14:46
Automatic submit a list of barcodes to Music Magpie and Ziffit
# -*- coding: utf-8 -*-
from datetime import datetime
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoAlertPresentException
import unittest, time, re
from users import MusicMagpieUser as user