Skip to content

Instantly share code, notes, and snippets.

const spawn = require('child_process').spawn;
const pandocPath = process.env.PANDOC || 'pandoc';
let args = ['-f', from, '-t', to, '-o', 'output/' + outputFile, inputFile];
let pandoc = spawn(pandocPath, args);
let error = '';
pandoc.on('error', (err) => (throw new Error(err)));
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active January 29, 2026 15:35
[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()
 }
@peteristhegreat
peteristhegreat / git diff sqlite3 .gitattributes
Last active May 31, 2025 21:03
Sqlite git diff - Get git to use an sql dump of sqlite3 for showing differences ( .gitconfig config attributes sqlite3 )
*.db diff=sqlite3