Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
# This is a ruleset configuration for Karma Blocker. For more information, see: | |
# http://trac.arantius.com/wiki/Extensions/KarmaBlocker | |
# This default ruleset is intended to be demonstrative: making productive | |
# use of all the features that the Karma Blocker rule syntax provides. It | |
# should generally work, but it has intentionally not been tweaked to deal | |
# with the particulars of any given site. All rules here are intended to | |
# explain what can be done, and how it can be done, while remaining as | |
# generic as possible, with limited exceptions. You the user are expected | |
# to tweak and customize these rules. |
// ==UserScript== | |
// @name Greasemonkey Tester | |
// @name:en-US Greasemonkey Tester (en-US) | |
// @name:fr La Tester Sur Greasemonkey | |
// @namespace https://github.com/arantius | |
// @include http://localhost/infinite.php?* | |
// @match http://localhost/infinite.php* | |
// @exclude /.*0$/ | |
// @resource R https://gist.github.com/arantius/1157543/raw/data.txt | |
// @icon http://icons.iconarchive.com/icons/chicho21net/jungle-bells/48/CocoDrilo-icon.png |
#!/usr/bin/env python3 | |
""" | |
Script to test HTTP mirrors of Cygwin by measuring download times. | |
Originally written in 2011, modernized in 2025. | |
""" | |
from math import floor | |
from urllib.request import urlopen | |
import argparse | |
import sys |
/* Any copyright is dedicated to the Public Domain. | |
* http://creativecommons.org/publicdomain/zero/1.0/ */ | |
"use strict"; | |
const EXPORTED_SYMBOLS = ['HttpRequestObserver']; | |
const {classes: Cc, interfaces: Ci, utils: Cu} = Components; | |
const module = Cu.import; | |
const error = Cu.reportError; |
/* | |
The MIT License (MIT) | |
Copyright (c) 2014 Anthony Lieuallen | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
// ActiveTable - a bookmarklet to make tables sortable and editable | |
function init() { | |
var aHrows = getHrows(); | |
var numHrows = aHrows.length; | |
var aHidden = getHiddenColumns(); | |
ATpopup = document.createElement("div"); | |
ATpopup.style.cssText = "position: absolute; visibility: hidden; padding: 0; font-family: Arial; background-color: rgba(255, 255, 255, 0.9); border-radius: .5em; text-align: center; box-shadow: .05em .05em .5em #00C;"; | |
ATpopup.innerHTML = "<a href='sort' title='sort' onclick='sortColumn(); return false'><img border=0 src='http://stevesouders.com/images/sort_up_down.png' style='padding-top: 0.2em;'></a><br><a href='hide' style='color: #C00; font-family: monospace; font-size: 1.5em; text-decoration: none;' title='hide' onclick='hideColumn(); return false'>x</a>"; // TODO - use protocol-less URL for img |
This script allows you to install unsigned extensions (ones that aren't approved by Mozilla) on normal Firefox builds and the official Snap! That's right, no "Firefox Developer Edition" nonsense required!
This script is not well tested, like at all. This script might break things, possibly important things. You should probably take a backup of your Firefox profile before using it. You have been warned.
sudo apt install -y curl unzip zip
# Only needed when jailbreaking the Snap
Go to OpenWRT release page, select the latest release stable release, then targets
-> x86
-> 64
. Right-click generic-ext4-combined.img.gz
(not the "efi"!) and copy the link.
On the Proxmox host, download the archive and unpack it:
wget *paste link here*
gunzip openwrt-*.img.gz