Skip to content

Instantly share code, notes, and snippets.

paulschow /
Created December 25, 2022 05:14
Script to download images from blogger and replace them in a markdown file
# Script to download images from blogger and replace them in a markdown file
# Works with markdown files generated by blog2md
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from import By
import time
import urllib
from selenium.webdriver.firefox.options import Options
#Main loop
if __name__ == '__main__':
counter = 0
#Loop for awhile
while counter < 14400:
verbose_ping("",11) #W
verbose_ping("",9) #T
verbose_ping("",8) #L
verbose_ping("",25) #P
counter = counter + 1
// discharge internal - 1
SPI_send(this->EPD_Pin_EPD_CS, CU8(0x70, 0x04), 2);
SPI_send(this->EPD_Pin_EPD_CS, CU8(0x72, 0x50), 2);
// discharge internal - 2
void setup() {
pinMode(P1_3, INPUT_PULLUP); // Attach pullup to 1.3 (button)
attachInterrupt(P1_3, awake, FALLING); // Attach falling interrupt to 1.3
// main loop
void loop() {
digitalWrite(Pin_RED_LED, LED_ON);
changeimage(); // Change the picture
digitalWrite(Pin_RED_LED, LED_OFF);
paulschow /
Created December 6, 2014 05:50
Room temp with python and phant on a beaglebone black
#!/usr/bin/env python
import phant
import time
import pywapi
import Adafruit_BBIO.ADC as ADC
# from
paulschow /
Created August 5, 2014 18:40
Verifying with Keybase

Keybase proof

I hereby claim:

  • I am paulschow on github.
  • I am pauls ( on keybase.
  • I have a public key whose fingerprint is F517 0477 FA5F 09A3 9871 B031 CC20 C58B 358C 9804

To claim this, I am signing this object: