This file contains hidden or 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
| function GM_openInTab(_url) { | |
| self.port.emit("GM_openInTab", _url); | |
| }; | |
| function GM_setValue(_name, _value) { | |
| localStorage[_name] = _value; | |
| }; | |
| function GM_getValue(_name, _default) { | |
| if (localStorage[_name] === null && _default === null) return undefined; |
This file contains hidden or 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
| http://www.daniweb.com/software-development/python/tutorials/238590/simple-threading-tutorial | |
| http://effbot.org/zone/thread-synchronization.htm | |
| http://www.laurentluce.com/posts/python-threads-synchronization-locks-rlocks-semaphores-conditions-events-and-queues/ | |
| Add a new thread | |
| Thread is scanned, and every image is added to a temp list (?) | |
| Once the temp list if filled, lock global list | |
| add links | |
| release lock |
This file contains hidden or 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
| import argparse | |
| import os | |
| import re | |
| import threading | |
| import urllib | |
| import requests | |
| import sys | |
| urls = [] | |
| global stop |
This file contains hidden or 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 blessings import Terminal | |
| import numpy | |
| import time | |
| import sys | |
| t = Terminal() | |
| with t.fullscreen(): | |
| #h = t.height | |
| #w = t.width |
This file contains hidden or 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
| // Generated by CoffeeScript | |
| // ==UserScript== | |
| // @name 4chan X | |
| // @version 1.3.9 | |
| // @minGMVer 1.14 | |
| // @minFFVer 26 | |
| // @namespace 4chan-X | |
| // @description Cross-browser userscript for maximum lurking on 4chan. | |
| // @license MIT; https://github.com/Spittie/4chan-x/blob/master/LICENSE | |
| // @match *://boards.4chan.org/* |
This file contains hidden or 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
| { | |
| "name": "4chan X", | |
| "version": "1.3.10", | |
| "manifest_version": 2, | |
| "description": "Cross-browser userscript for maximum lurking on 4chan.", | |
| "icons": { | |
| "16": "icon16.png", | |
| "48": "icon48.png", | |
| "128": "icon128.png" | |
| }, |
This file contains hidden or 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
| // Generated by CoffeeScript | |
| // ==UserScript== | |
| // @name 4chan X | |
| // @version 1.3.10 | |
| // @minGMVer 1.13 | |
| // @minFFVer 26 | |
| // @namespace 4chan-X | |
| // @description Cross-browser userscript for maximum lurking on 4chan. | |
| // @license MIT; https://github.com/Spittie/4chan-x/blob/master/LICENSE | |
| // @match *://boards.4chan.org/* |
This file contains hidden or 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
| // Generated by CoffeeScript | |
| // ==UserScript== | |
| // @name 4chan X | |
| // @version 1.3.10 | |
| // @minGMVer 1.13 | |
| // @minFFVer 26 | |
| // @namespace 4chan-X | |
| // @description Cross-browser userscript for maximum lurking on 4chan. | |
| // @license MIT; https://github.com/Spittie/4chan-x/blob/master/LICENSE | |
| // @match *://boards.4chan.org/* |
This file contains hidden or 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
| import pygame | |
| class Game(object): | |
| def __init__(self, height=640, width=480, fps=60): | |
| self.height = height | |
| self.width = width | |
| self.fps = fps | |
| pygame.init() |
This file contains hidden or 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
| // Generated by CoffeeScript | |
| // ==UserScript== | |
| // @name 4chan X | |
| // @version 1.4.1 | |
| // @minGMVer 1.14 | |
| // @minFFVer 26 | |
| // @namespace 4chan-X | |
| // @description Cross-browser userscript for maximum lurking on 4chan. | |
| // @license MIT; https://github.com/Spittie/4chan-x/blob/master/LICENSE | |
| // @match *://boards.4chan.org/* |
OlderNewer