Skip to content

Instantly share code, notes, and snippets.

ATRescue /
Last active Aug 19, 2019
Markdown testings.

123 *

And even if there were benefits in using that compression, how come they did not utilize the standard LZ4?! They created their own proprietary format called mozlz4. What. Were. They. THINKING?! (if at all) *facepalm*

ATRescue / YouTube_Trends_Archiver.v1.6.0.1.bash
Last active Jul 12, 2019
Rescuing historical YouTube Trends data. Version:
View YouTube_Trends_Archiver.v1.6.0.1.bash
ATRescue /
Last active Jun 28, 2019
Simple “pgtitle” function – find out the title of a page immediately.
function pgtitle { curl -s "$@" | grep -ioe "<title>.*</title>" | sed -r "s#</?title>##g" ;}
ATRescue /
Last active May 21, 2020
MozLZ4/JsonLZ4 is a moronic idea. Here's why.

MozLZ4/JsonLZ4 is a moronic idea. Here's why.

Written by ATrescue.

I am not implying the comperssion algorithm Lz4 is bad. But adding an Lz4 layer to JSON files was a terrible idea by Mozilla.

Since Firefox version 56 (which is the last non-quantum version of Firefox), the session files in the 📁 sessionstore-backups directory are no longer recovery.bak and recovery.json, but recovery.baklz4 and recovery.jsonlz4. They should have called it recovery.bak.lz4 and recovery.json.lz4, which would be more logical file names, but they should not have done it in first place. Also the folders 📁bookmarkbackups 📁crashes/store.json.mozlz4 📁datareporting is affected (intoxicated) by Lƶ4.

“If it isn't broken, don't ‘fix’ it” does not apply to everything (e.g. when improving so

ATRescue / AutoWB.js
Created May 26, 2019
UserScript to automatically save visited pages into the Wayback Machine.
View AutoWB.js
/* This Userscript helps you preserving websites by automatically saving pages you visit, including their linked subpages and other linked URLs, into Internet Archive's Wayback Machine.
Run this UserScript using the following tools:
Desktop browsers:
* GreaseMonkey for Mozilla Firefox:
* TamperMonkey for Google Chrome:
* TamperMonkey for Chromium-Opera Browser:
ATRescue / AT_Response2.txt
Last active May 29, 2019
Second response to comments on IRC and GitHub.
View AT_Response2.txt
This gist was temporarily unavailable, because “Your account has been flagged.
Because of that, your profile is hidden from the public. If you believe this is a mistake, contact support to have your account status reviewed.”.
I chose to write this text in a separate gist instead of the existing previous one as new file to make it easier for some to find it.
To respond to this message, please comment here below this GitHub Gist or on my Wikipedia talk page . My Wikipedia account is blocked for promoting ArchiveTeam, but I can still access my talk page.
Hello again.
ATRescue / Answers+Statement_1.txt
Last active May 26, 2019
Answering the questions.
View Answers+Statement_1.txt
Part 2:
Hello there.
I would like to clear up a misunderstanding.
Before reading this message, please read these two pages, in order to help you understanding the following message:
Please only respond after reading the message, by writing a comment below this GitHub Gist or my ArchiveTeam talk page.
For emphasis, please listen to Beethoven's 6th symphony while reading this message.
You are encouraged to write your response while reading the message instead of waiting all the way to the end.
View Wiki unfinished edits.
Edit comment: Word choice: “deactivated” instead of “disabled”.
<b title="Twitter Account" style=white-space:nowrap;><span style=background:#89ffff;border-radius:4px>{{URL|{{{1|textfiles}}}|@{{{1|textfiles}}}</span>{{#ifeq:{{{2}}}|1|{{twlock}}|}}}}</span></b><noinclude>
Created for [[List of lost Twitter accounts]].
Usage: <code><nowiki>{{twhandle|textfiles|</nowiki><span style=color:red>0</span>}}</code>
Red number meanings: