This script replaces the broken Python script manager of HexChat.
Just drop it in the "addons" folder and move all other Python
scripts to another folder. Replace the basedir
variable in this
script with the absolute path to your folder and restart.
The script will create a file named auto.txt
to store a list
of scripts loaded at startup too.
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
""" | |
Ultra-simple fetcher for all pastes at qp.mniip.com. | |
It really just tries out all combinations from "00" until "zz"... | |
""" | |
DELAY = 3 # seconds | |
START = 0 # "00" | |
END = 1295 # "zz" | |
OUTPUT_DIR = "./result" # output folder | |
OVERWRITE = False # fetch again even if already downloaded |
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
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
try: | |
from urllib2 import urlopen | |
from urllib import urlencode | |
except ImportError: | |
from urllib.request import urlopen | |
from urllib.parse import urlencode |
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
quiet | |
much deadfish implementation | |
2014, by nucular | |
so Public Domain :) | |
loud | |
shh print "wow" | |
very program is 'iiisiisddoddddddddoiiiiiiiio' | |
very acc is 0 |
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
The MIT License (MIT) | |
Copyright (c) 2014 nucular | |
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 | |
furnished to do so, subject to the following conditions: |
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
# Public Domain | |
# python3 imgrou.py | |
# some configuration | |
IMG_ROWS = 3 | |
IMG_COLS = 3 | |
CHUNK_SIZE = 512 | |
REQUEST_URL = "http://reddit.com/domain/i.imgur.com/random/.json" | |
SESSION_KEY = "" # look at your request headers on reddit, Cookie "reddit_session" |
I hereby claim:
- I am nucular on github.
- I am nucular (https://keybase.io/nucular) on keybase.
- I have a public key whose fingerprint is 4051 CE6C 01CD 6C7A 8670 75AF 6865 2DB2 EBE0 33EF
To claim this, I am signing this object:
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
#!/bin/env python3 | |
# python3 chanrip.py --help | |
""" | |
Chanrip | |
======= | |
Rips a thread from 4chan or 8chan, downloading all posted files and saving all | |
replies to a HTML file. Optionally supports monitoring changes while downloading | |
new replies automatically and thumbnail downloading. |
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
// Public Domain, whatever | |
(function kek(){$.getJSON("http://powdertoy.co.uk/Discussions/Categories/Index.json", function(data) { | |
var thread = data.Topics[Math.floor(Math.random() * data.Topics.length)].ID; | |
var code = kek.toString(); | |
var key = $(".main-menu .dropdown a[href^=\"/Logout.html\"]").attr("href"); | |
if (key) { | |
key = key.substring(key.length - 10); | |
var link = "http://powdertoy.co.uk/Discussions/Thread/Reply.json?Mode=HTML&Key=" + key; | |
var data = { |
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 Powder Toy Undelete Removed Comments | |
// @version 1.0.1 | |
// @description Undeletes comments that have been removed, using a weird data leak. | |
// @author boxmein | |
// @namespace http://boxmein.net | |
// @run-at document-end | |
// @match http://powdertoy.co.uk/Discussions/Thread/* | |
// ==/UserScript== |
OlderNewer