Skip to content

Instantly share code, notes, and snippets.

@fellu
fellu / Program.cs
Created February 23, 2024 01:17 — forked from cjdell/Program.cs
Chevy Volt / Opel Ampera SHVCS DTC Clearing
/* This is an experimental script which I used to successfully clear the "Service High Voltage Charging System" message which can occur due to a loss of isolation.
* Previously I had to pay frequently to access the expensive SPS programming system to clear this code whilst attempting to resolve the underlying cause.
* This script was generated by a tool I developed to analyse J2534 log files.
* This could work for other cars but I can't comment on success. Please do not run this unless you understand the consequences!
* I intend to convert to a version that will work with ELM327 once I learn how these work.
* The program requires the J2534-Sharp library as a dependency.
* https://github.com/BrianHumlicek/J2534-Sharp
*/
using System;
using System.Linq;
@fellu
fellu / list.py
Created November 5, 2021 23:39 — forked from bboynton97/list.py
Auto-list NFTs on OpenSea with Browser Automation
# First install Chrome, and the Selenium driver
# Next, download and save the MetaMask CRX (there are plenty of guides on how to do this)
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
import time
@fellu
fellu / Traits
Last active October 31, 2021 03:51
Magicats
Background
{'Green': 958, 'Pink': 1008, 'Purple': 991, 'Blue': 1310, 'Orange': 720}
Back
{'Constellations Autumn': 502, 'Wings Fairy': 219, 'Constellations Spring': 524, 'Constellations Summer': 543, 'Katanas': 193, 'Wings Bat': 180, 'Sparkles': 549, 'Constellations Winter': 568, 'Wings Skeleton': 120}
Cat
{'Grey': 788, 'Orange': 626, 'Zombie': 397, 'Siamese': 831, 'Tuxedo': 816, 'White': 776, 'Calico': 753}
Body