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
<!DOCTYPE html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
<script src="script.js"></script> | |
<link rel="stylesheet" type="text/css" href="style.css"/> | |
<title>Slider example</title> | |
</head> | |
<body onload="drawProgressBar('P0', 50); barsExample();"> | |
<div style="width:200px; padding:50px;"> |
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
#!/usr/bin/python | |
import os,SimpleHTTPServer,SocketServer,socket,cgi,urlparse,time | |
PORT = 8025 | |
HOSTNAME = socket.gethostbyaddr(socket.gethostname())[0] | |
HEAD="""<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>Multi-service image search - Search results</title> | |
<script type="text/javascript"><!-- | |
function progress(txt,txt2) { | |
try { document.getElementById('urlstat').firstChild.nodeValue=txt+txt2; } catch (e) { document.write(txt+" "); } |
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
#Threaded UDPServer with threadpool | |
import SocketServer | |
from Queue import Queue | |
import threading, socket | |
class ThreadPoolMixIn(SocketServer.ThreadingMixIn): | |
''' | |
use a thread pool instead of a new thread on every request | |
''' |
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
# ?= declare if not already defined | |
CC ?= gcc | |
CFLAGS ?= -Wall -O2 -march=native | |
#LDLIBS = -lcrypt -lssl | |
# output executable name and file extensions | |
EXEC = run | |
SOURCES = $(wildcard *.c) | |
OBJECTS = $(SOURCES:.c=.o) |
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
// ==UserScript== | |
// @name Magnet2Torrent | |
// @namespace loadletter | |
// @match *://btdigg.org/search* | |
// @match *://btindex.org/* | |
// @version 2 | |
// @grant none | |
// ==/UserScript== | |
Array.forEach(document.getElementsByTagName('a'), change_links); | |
function change_links(a) |
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
// ==UserScript== | |
// @name 10 minute refresher | |
// @author Alexander Artemenko http://aartemenko.com | |
// @namespace svetlyak40wt | |
// @description Refresher for the 10minutemail.com | |
// @include http://10minutemail.com/10MinuteMail/* | |
// @grant none | |
// ==/UserScript== | |
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
#usage script.py removed.csv outputdirectory | |
import urllib, os, sys, random, time | |
from BeautifulSoup import BeautifulSoup | |
import requests | |
GOOGLE_CACHE = "http://webcache.googleusercontent.com/search?%s" | |
TRACKER_WIN = "cache:http://g.e-hentai.org/gallerytorrents.php?gid=%i&t=%s" | |
EH_TRACKER = "http://ehtracker.org/t/" | |
SESS = requests.Session(headers={"User-Agent": "Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/30.0"}) | |
OUT_PATH = sys.argv[2] |
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
7682769165694921140 |
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
export LESS_TERMCAP_mb=$'\e[1;35m' | |
export LESS_TERMCAP_md=$'\e[1;35m' | |
export LESS_TERMCAP_me=$'\e[0m' | |
export LESS_TERMCAP_se=$'\e[0m' | |
export LESS_TERMCAP_so=$'\e[01;44;33m' | |
export LESS_TERMCAP_ue=$'\e[0m' | |
export LESS_TERMCAP_us=$'\e[01;32m' |
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
// ==UserScript== | |
// @name OpenHotel fun | |
// @namespace loadletter | |
// @description Fun things | |
// @match http://openhotel-dev.zapto.org:8080/ | |
// @match http://openhotel.herokuapp.com/ | |
// @match http://207.12.89.21:8080/ | |
// @version 3 | |
// @grant none | |
// ==/UserScript== |