Skip to content

Instantly share code, notes, and snippets.

qmx /
Last active Jun 16, 2020 — forked from aymericbeaumet/
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to:{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
View symbol113.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View patch0.patch
diff --git a/PKGBUILD.old b/PKGBUILD
index 4c46ccf..69e3ce2 100644
--- a/PKGBUILD.old
@@ -15,32 +15,30 @@ source=(
- 'c2777e058734f5b70f6d9d9550cd36596e6002ecfefbe2836b495c640de133f55859339e0438ce76fcf70c3bc3221ae2204ce99608dcbe9561f9b13f237fb9c9'
View bench.log
~/d/bench ❯❯❯ wrk -d 60 -s ups_bench.lua http://localhost:8080/ag-push/rest/registry/device
Running 1m test @ http://localhost:8080/ag-push/rest/registry/device
2 threads and 10 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 54.04ms 12.91ms 149.52ms 85.51%
Req/Sec 94.50 16.09 145.00 63.50%
11346 requests in 1.00m, 6.10MB read
Requests/sec: 189.06
Transfer/sec: 104.13KB
View gist:15cf7d4ae196a85e1754
Compiling rust-mustache v0.3.0 (file:///Volumes/v2/git/rust-mustache)
/Volumes/v2/git/rust-mustache/src/ 3:21 error: import `IoError` conflicts with type in this module
/Volumes/v2/git/rust-mustache/src/ use std::io::IoError;
/Volumes/v2/git/rust-mustache/src/ 24:21 note: note conflicting type here
/Volumes/v2/git/rust-mustache/src/ IoError(IoError),
error: aborting due to previous error
Could not compile `rust-mustache`.

DynJS perf numbers

public static interface Pass {
Instruction[] apply(Instruction[] instrs);
View ir.log
/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/java -ea -Didea.launcher.port=7535 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA IDEA
public void testStackCleanup() {
DynObject e = (DynObject) (eval("function foo() { return new Error(); }; foo();"));
String stack = (String) e.get(getContext(), "stack");
DynObject e2 = (DynObject) (eval("function baz() { return new Error(); }; baz();"));
String stack2 = (String) e2.get(getContext(), "stack");
View gist:9399725
/V/v/g/dynjs git:classpath ❯❯❯ bin/dynjs --console ✭ ✱ ◼
dynjs console.
Type exit and press ENTER to leave.
dynjs> dynjs.classPath.push("/Users/qmx/dev/dynjs-0.2.2-SNAPSHOT/activemq-all-5.9.0.jar")
dynjs> org.apache.activemq.ActiveMQConnectionFactory.DEFAULT_BROKER_URL
dynjs> %