This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import re | |
import sys | |
import argparse | |
def fail(msg): | |
sys.stderr.write(sys.argv[0] + ": " + msg + "\n") | |
sys.exit(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
This script converts hexagonal isotropic (possibly non-totalistic) CA rules[1] | |
into the equivalent MAP rules[2]. It runs under both Python 2 and Python 3, and | |
can be used either as a stand-along script (with the rules given as command line | |
arguments) or as a Golly plug-in. | |
[1]: http://www.conwaylife.com/wiki/Isotropic_non-totalistic_Life-like_cellular_automaton#Hexagonal_neighbourhood | |
[2]: http://golly.sourceforge.net/Help/Algorithms/QuickLife.html | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Incremental Markdown Preview for Stack Exchange | |
// @namespace https://github.com/vyznev/ | |
// @description Speeds up the live Markdown preview on Stack Exchange sites by only updating changed DOM nodes | |
// @author Ilmari Karonen | |
// @version 0.1.0 | |
// @copyright 2017-2018, Ilmari Karonen | |
// @license ISC; https://opensource.org/licenses/ISC | |
// @match *://*.stackexchange.com/* | |
// @match *://*.stackoverflow.com/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Stack Exchange timeline link | |
// @namespace http://vyznev.net/ | |
// @description Adds a link to the question timeline on Stack Exchange | |
// @include *stackexchange.com/questions/* | |
// @include *stackoverflow.com/questions/* | |
// @include *superuser.com/questions/* | |
// @include *serverfault.com/questions/* | |
// @include *stackapps.com/questions/* | |
// @include *mathoverflow.net/questions/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Stack Exchange hotness estimator | |
// @namespace http://vyznev.net/ | |
// @description Estimates how highly each Stack Exchange question would rank on the Hot Network Questions list | |
// @author Ilmari Karonen | |
// @version 0.4.3 | |
// @license Public domain | |
// @homepageURL https://meta.stackexchange.com/a/284933 | |
// @downloadURL https://gist.github.com/vyznev/bb2c1adb6e96eb65a87bab3822c74e81/raw/se_hotness_estimator.user.js | |
// @match *://*.stackexchange.com/questions/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Disable display math in comments | |
// @namespace https://github.com/vyznev/ | |
// @description Forces all MathJax elements in comments to be rendered inline | |
// @author Ilmari Karonen | |
// @version 1.1 | |
// @match *://*.stackexchange.com/* | |
// @match *://*.mathoverflow.net/* | |
// @homepageURL http://meta.math.stackexchange.com/questions/23250/disable-display-math-in-comments | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Stack Exchange beta theme everywhere | |
// @namespace http://vyznev.net/ | |
// @description Makes all Stack Exchange sites use the generic beta site theme | |
// @author Ilmari Karonen | |
// @version 0.5.2 | |
// @license Public domain | |
// @homepageURL http://meta.stackexchange.com/a/275804 | |
// @match *://*.stackexchange.com/* | |
// @match *://*.stackoverflow.com/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Stack Exchange LQP delete vote saver | |
// @namespace https://github.com/vyznev/ | |
// @description Tweaks the Stack Exchange Low Quality Posts review queue not to consume delete votes from 20k+ users | |
// @author Ilmari Karonen | |
// @version 0.2 | |
// @license Public Domain (CC-Zero) | |
// @homepageURL http://meta.stackoverflow.com/a/316092 | |
// @match *://*.stackexchange.com/review/low-quality-posts* | |
// @match *://*.stackoverflow.com/review/low-quality-posts* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name ImageShack one-click recovery | |
// @version 0.2 | |
// @namespace http://vyznev.net | |
// @description Highlights ImageShack images on Stack Exchange, and adds a click hadler that attempts to reload them from archive.org | |
// @author Ilmari Karonen | |
// @license ISC (http://opensource.org/licenses/ISC) | |
// @match *://*.stackexchange.com/* | |
// @match *://*.stackoverflow.com/* | |
// @match *://*.superuser.com/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name SE Extra, Optional Features | |
// @namespace http://stackexchange.com/users/4337810/%E1%B9%A7%D0%BD%CA%8A%C3%9F | |
// @version 0.6.1 | |
// @description Adds a bunch of optional 'features' to the StackExchange sites. | |
// @author ṧнʊß (http://stackexchange.com/users/4337810/%E1%B9%A7%D0%BD%CA%8A%C3%9F) | |
// @match *://*.stackexchange.com/* | |
// @match *://*.stackoverflow.com/* | |
// @match *://*.superuser.com/* | |
// @match *://*.serverfault.com/* |