Skip to content

Instantly share code, notes, and snippets.

@qmx
qmx / delete-likes-from-twitter.md
Last active June 16, 2020 15:43 — forked from aymericbeaumet/delete-likes-from-twitter.md
[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: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }
#!/bin/sh
git filter-branch --env-filter '
an="$GIT_AUTHOR_NAME"
am="$GIT_AUTHOR_EMAIL"
cn="$GIT_COMMITTER_NAME"
cm="$GIT_COMMITTER_EMAIL"
if [ "$GIT_COMMITTER_EMAIL" = "your@email.to.match" ]
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@qmx
qmx / sync.md
Last active January 2, 2016 08:39
aerogear-sync ramblings

aerogear-sync

While I was reviewing Summers' code and ideas, I realized that I really wanted everything he did, but as a second step after we nail down the basics.

basics?

Since we've been catering the enterprise market, this essentially means we need to get the boring stuff right first, then move over to the shiny stuff, like realtime data sync, update policies & friends.

data model

[alias]
pullify = config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'
@qmx
qmx / hello.rs
Last active December 25, 2015 18:09
extern mod extra;
use extra::getopts::groups::*;
use std::os;
use std::libc;
#[link_args = "-lsodium"]
extern {
fn crypto_box_curve25519xsalsa20poly1305_ref_keypair(pk: *mut libc::c_char, sk: *mut libc::c_char);
}
@qmx
qmx / HelloJite.java
Created September 23, 2013 18:21
Jitescript with macros
package me.qmx.jipsy;
import me.qmx.jitescript.CodeBlock;
import me.qmx.jitescript.JiteClass;
import java.io.PrintStream;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
@qmx
qmx / gist:6243027
Last active December 21, 2015 03:29
vertx meeting logs
[13:02:49] <purplefox> OK, let's get started
[13:02:54] <purplefox> Thanks everyone for coming
[13:02:55] karianna_ (~karianna@static.72.107.9.5.clients.your-server.de) joined the channel.
[13:03:10] <tigeba> hi all :)
[13:03:16] <karianna_> howdy
[13:03:21] <karianna_> sorry I'm late
[13:03:21] <purplefox> The idea of today's meeting is to discuss a bit of planning for Vert.x
[13:03:24] <purplefox> karianna_: np
[13:03:33] <purplefox> I've posted a list on the googlr group
[13:03:42] <purplefox> but anyone is free to bring anything else up
[alias]
pullify = config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'
#!/bin/sh
cd src/test/benchmarks/v8-benchmarks-v6/ && ../../../../bin/dynjs run.js