Skip to content

Instantly share code, notes, and snippets.

@NiklasGollenstede
NiklasGollenstede / update-ff-extension.js
Last active October 16, 2019 16:34
Manually trigger the update of Firefox extensions
'use strict'; /* globals AddonManager, */
/**
* Triggers the update of an extension in Firefox (version 60).
* Paste the function in the Browser console (Ctrl+Shift+J),
* call it with an extension ID and watch the console output.
*
* I wrote this to test the automatic build and update of my
* extensions `-dev` channel, see:
* - https://gist.github.com/NiklasGollenstede/87664c7f2822b15f86362388270a16a8
@P7h
P7h / Install_7zip_on_Linux.md
Last active October 4, 2023 04:46
7zip install on Linux -- Ubuntu and Fedora or CentOS / RHEL

Steps to install 7zip on Linux » Ubuntu and Fedora or CentOS / RHEL

Ubuntu

cat /etc/*release
sudo apt-get update -yqq
sudo apt-get install -yqq p7zip-full
@vlakoff
vlakoff / convert_lz4_header.php
Last active August 13, 2021 23:17
Convert from Mozilla's LZ4 format to LZ4 v1.3
<?php
/**
* Convert from Mozilla's LZ4 format to LZ4 v1.3
*
* @link https://searchfox.org/mozilla-central/source/toolkit/components/lz4/lz4.js
* @link https://lz4.software.informer.com/1.3/
*
* @param string $input File content in Mozilla's LZ4 format
* @return string File content converted to LZ4 v1.3
@haasn
haasn / about:config.md
Last active April 2, 2024 18:46
Firefox bullshit removal via about:config

Firefox bullshit removal

Updated: Just use qutebrowser (and disable javascript). The web is done for.