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 spoiler button adder (SO Chat) | |
// @namespace about:blank | |
// @include http://chat.stackoverflow.com/rooms/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
//adds a spoiler to the input textarea. | |
//inserts it wherever your cursor is. |
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 Network Bar Filter | |
// @namespace about:blank | |
// @include http://stackoverflow.com/* | |
// @include https://stackoverflow.com/* | |
// @include *.stackexchange.com/* | |
// @version 3 | |
// @grant none | |
// ==/UserScript== |
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 avatar blocker | |
// @namespace about:blank | |
// @description removes the avatars of ten-or-less rep users | |
// @include http://chat.stackoverflow.com/rooms/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
//gets the reputation of the user that owns this user-container |
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 char count adder (SO Chat) | |
// @namespace . | |
// @description Adds a label indicating the character count of your message | |
// @include http://chat.stackoverflow.com/rooms/* | |
// @include https://chat.stackoverflow.com/rooms/* | |
// @version 3 | |
// @grant none | |
// ==/UserScript== |
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
#animation.py | |
#prerequisites: ImageMagick (http://www.imagemagick.org/script/index.php) | |
import itertools | |
import os | |
import os.path | |
import subprocess | |
import shutil | |
import math | |
def generate_unused_folder_name(): |
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 Common Comments Box (Stack Overflow) | |
// @namespace about:blank | |
// @include http*://stackoverflow.com/questions/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var question_comments = [ | |
"Are you getting an error? If so, what is the error and stack trace? Is your code running, but producing unexpected output? If so, what output are you getting, and what output did you expect to get?", |
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
from tkinter import Tk, Entry, Frame, Label, StringVar | |
import struct | |
import traceback | |
def float_to_int(x): | |
s = struct.pack("d", x) | |
x = 0 | |
for value in s[::-1]: | |
x = (x << 8) | value | |
return x |
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
try: | |
from tkinter import * | |
except ImportError: | |
from Tkinter import * | |
try: | |
from queue import Queue | |
except ImportError: | |
from Queue import Queue |
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 User Notes (SO Chat) | |
// @namespace . | |
// @include http://chat.stackoverflow.com/rooms/* | |
// @include https://chat.stackoverflow.com/rooms/* | |
// @version 2 | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// ==/UserScript== |
OlderNewer