Skip to content

Instantly share code, notes, and snippets.

@Spittie
Spittie / rita.py
Last active August 29, 2015 14:16
#!/usr/bin/env python
from __future__ import print_function
import praw
import re
import requests
import time
import logging
from contextlib import contextmanager
var data = require("sdk/self").data;
var pageMod = require("sdk/page-mod");
pageMod.PageMod({
include: "*.github.com",
contentScriptFile: [data.url("lib/js/underscore.js"),
data.url("lib/js/jquery.js"),
data.url("lib/js/jstree.js"),
data.url("lib/js/jquery.pjax.js"),
data.url("lib/js/base64.js"),
.highlight-own:root .yourPost > .reply, .highlight-you:root .quotesYou > .reply {
border-left: 2px solid rgba(221, 0, 0, 0.5);
}
// 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/*
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()
// 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/*
// 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/*
{
"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"
},
// 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/*
@Spittie
Spittie / GameOfLive2.py
Last active August 29, 2015 13:56
Ghetto game of life
from blessings import Terminal
import numpy
import time
import sys
t = Terminal()
with t.fullscreen():
#h = t.height
#w = t.width