This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gcode_macro PA_CAL] | |
# Klipper pressure advance line calibration macro. | |
# Usage: PA_CAL BED=100 NOZZLE=240 PA_START=0.0 PA_STOP=0.1 NZL=0.4 | |
# Or you can execute with no parameters, which will use values from printer.cfg and saved_variables.cfg. | |
# First prints a line with current set PA, then prints 21 additional line segments starting with PA_START, and increasing to PA_STOP. | |
# Based on http://realdeuce.github.io/Voron/PA/pressure_advance.html | |
# Cleaned up and moved to using saved_variables.cfg by u/jibbsisme | |
# Sourced from u/Deepsiks, assisted by u/imoftendisgruntled, u/scul86, and thanks to u/beansisfat, u/stray_r | |
description: Tune Pressure Advance |
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
- Go to: https://twitter.com/{username}/likes
- Open the console and run the following JavaScript code:
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I did this in Chrome... | |
// | |
// Go to https://www.facebook.com/ads/preferences/ | |
// Click the "Advertisers" section to open it up. | |
// Click "See more" once | |
// Before doing anything else, just keep clicking space bar to trigger the "see more" button | |
// Do this for a bit until all the advertisers are loaded | |
// then run this below in the dev tools console... | |
// (It will take a few minutes, depending how many you have, and your browser may lock up, but once it's done you will see it auto clicked the "remove" X in the top right for all of them) |