Skip to content

Instantly share code, notes, and snippets.


Sandy Noble euphy

View GitHub Profile
View gist:ca0615d9822b86403bdc8bae1fdae56e
c:\users\sandy\.platformio\penv\scripts\python.exe C:\Users\sandy\.platformio\packages\tool-esptoolpy\ --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 /
Last active Jun 14, 2020
Polargraph queue sender (low resource)
Only python package required is pyserial:
pip install pyserial
Use this wee script to send a command queue to a Polargraph machine.
If the filename is "mycommandqueue.txt" and the machine is connected on COM7, then do:
euphy /
Last active Aug 20, 2020
Automatic submit a list of barcodes to Music Magpie and Ziffit
# -*- coding: utf-8 -*-
from datetime import datetime
from selenium import webdriver
from import By
from selenium.webdriver.common.keys import Keys
from import Select
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoAlertPresentException
import unittest, time, re
from users import MusicMagpieUser as user
You can’t perform that action at this time.