Skip to content

Instantly share code, notes, and snippets.


Rojen Zaman rojenzaman

  • Anarchism
  • Istanbul, Turkey
  • 15:38 (UTC +03:00)
View GitHub Profile
oofnikj / answerfile
Last active March 19, 2023 15:37
Install Docker on Termux
View answerfile
HOSTNAMEOPTS="-n alpine"
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
aymericbeaumet /
Last active March 18, 2023 07:58
[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"]')) {
FMCorz /
Created November 27, 2018 03:13
Adminer with SQLite no-login

Adminer setup

Enables plugins, and SQLite no-login.


  1. Copy index.php to a new directory
  2. Download Adminer to adminer.php
jaytaylor /
Last active February 7, 2023 19:29
URL Encoding in pure bash / sed.
samdutton / sample.vtt
Created February 2, 2018 01:52
Sample WebVTT caption file
View sample.vtt
00:00:00.500 --> 00:00:02.000
The Web is always changing
00:00:02.500 --> 00:00:04.300
and the way we access it is changing
View git-fetch-upstream-tags
Let [tag] = any tag in upstream repo
git fetch upstream --tags
git push origin --tags
spalladino /
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
View gist:3b19447b304616f18657
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\n",
"sources" : [ "" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "" ],
pascalpoitras /
Last active March 6, 2023 17:58
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

You need at least WeeChat 3.8-dev

Enable mouse

/mouse enable

Secured data