Skip to content

Instantly share code, notes, and snippets.

@mmowbray
mmowbray / tesla_price_watcher.py
Last active February 14, 2024 20:34
Tesla price watcher 2023
from celery import shared_task
from selenium import webdriver
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from django.core.mail import send_mail
from django.conf import settings
TESLA_URL = 'https://www.tesla.com/en_CA/inventory/new/my?TRIM=LRAWD&PAINT=BLACK&ADL_OPTS=TOWING&arrangeby=plh&zip=h4r0j1&range=200'
@joevt
joevt / EDIDUtil.sh
Last active July 23, 2024 03:03
A set of shell functions used to view and edit EDIDs.
#!/bin/bash
#!/bin/zsh
# by joevt May 24/2023
#=========================================================================================
edid_decode=edid-decode
#=========================================================================================
# Modify EDID
@lemketron
lemketron / HTML5 Canvas Whiteboard (Touch and Mouse).markdown
Created April 30, 2016 00:53
HTML5 Canvas Whiteboard (Touch and Mouse)

HTML5 Canvas Whiteboard (Touch and Mouse)

This whiteboard is touch & mouse friendly. It fills the page width & height so you can draw on the entire page. Nothing special, just experimenting with touch, and thought I'd share.

A Pen by Michael Schwartz on CodePen.

License.