Skip to content

Instantly share code, notes, and snippets.

arantius arantius

Block or report user

Report or block arantius

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
willurd /
Last active Jan 27, 2020
Big list of http static server one-liners

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.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
arantius / grant-none-shim.js
Last active Sep 8, 2019
Greasemonkey "@grant none" compatibility shim.
View grant-none-shim.js
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
nmaier / httpreqrespobserver.js
Created Jan 18, 2012
http request/response observer template module
View httpreqrespobserver.js
/* Any copyright is dedicated to the Public Domain.
* */
"use strict";
const EXPORTED_SYMBOLS = ['HttpRequestObserver'];
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
const module = Cu.import;
const error = Cu.reportError;
arantius / api-tester.user.js
Last active Jun 3, 2017
General purpose Greasemonkey Tester
View api-tester.user.js
// ==UserScript==
// @name Greasemonkey Tester
// @name:en-US Greasemonkey Tester (en-US)
// @name:fr La Tester Sur Greasemonkey
// @namespace
// @include http://localhost/infinite.php?*
// @match http://localhost/infinite.php*
// @exclude /.*0$/
// @resource R
// @icon
arantius / authors-karma-blocker-rules.ini
Last active Mar 22, 2017
The Karma Blocker rules used by the author
View authors-karma-blocker-rules.ini
# See:
name="Personal sites whitelist"
arantius / Karma_Blocker_Default_Rules.ini
Created Mar 7, 2011
The default rules for a Karma Blocker installation.
View Karma_Blocker_Default_Rules.ini
# This is a ruleset configuration for Karma Blocker. For more information, see:
# 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.
You can’t perform that action at this time.