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 4chan Linkify | |
// @namespace csimi | |
// @author csimi | |
// @description Linkification of text links. | |
// @homepage http://userscripts.org/users/156405/scripts | |
// @version 2.0.5 | |
// @updateURL http://userscripts.org/scripts/source/87750.meta.js | |
// @icon http://i.imgur.com/JHVzK.png | |
// @include http://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 binascii, os, random | |
from dht import DHT | |
class TestDHT(DHT): | |
testpeers = [] | |
testhash = binascii.a2b_hex('f919bc3c68eed436c485a564c51984a35af9151c') | |
prevhash = "" | |
cnt = 0 | |
def loop(self): | |
try: |
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 binascii, urllib, socket, random, struct | |
from bcode import bdecode | |
from urlparse import urlparse, urlunsplit | |
def announce(tracker, hashes): | |
tracker = tracker.lower() | |
parsed = urlparse(tracker) | |
if parsed.scheme == "udp": | |
#return scrape_udp(parsed, hashes) | |
pass |
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 Autoload the Reply form | |
// @namespace loadletter | |
// @description Load the Reply form on vanilla 4chan (without any extension) | |
// @include http://boards.4chan.org/* | |
// @include https://boards.4chan.org/* | |
// @run-at document-end | |
// @version 1 | |
// @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
body.hasDropDownNav { margin-top: 45px;}.extButton.threadHideButton { float: left; margin-right: 5px; margin-top: -1px;}.extButton.replyHideButton { margin-top: 1px;}div.op > span .postHideButtonCollapsed { margin-right: 1px;}.dropDownNav #boardNavMobile, { display: block !important;}.extPanel { border: 1px solid rgba(0, 0, 0, 0.20);}.tomorrow .extPanel { border: 1px solid #111;}.extButton,img.pointer { width: 18px; height: 18px;}.extControls { display: inline; margin-left: 5px;}.extButton { cursor: pointer; margin-bottom: -4px;}.trashIcon { width: 16px; height: 16px; margin-bottom: -2px; margin-left: 5px;}.threadUpdateStatus { margin-left: 0.5ex;}.futaba_new .stub,.burichan_new .stub { line-height: 1; padding-bottom: 1px;}.stub .extControls,.stub .wbtn,.stub input { display: none;}.stub .threadHideButton { float: none; margin-right: 2px;}div.post div.postInfo { width: auto; display: inline;}.right { float: right;}.center { display: block; margin: auto;}.pointer { cursor: pointe |
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
//only once | |
var textback = document.getElementsByClassName("navLinks navLinksBot desktop")[0].getElementsByTagName('a')[1].text; | |
/* | |
.. | |
... | |
crap */ | |
document.getElementsByClassName("navLinks navLinksBot desktop")[0].getElementsByTagName('a')[1].text = textback + " - Page 5"; |
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
π³ππππππππππ | |
πππ | |
πΆππππππππππ |
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
cat DHTservers | while read line; do echo " {"; echo " address = \"`echo -n $line | cut -d' ' -f1`\""; echo " port = `echo -n $line | cut -d" " -f2`"; echo " public_key = \"`echo -n $line | cut -d" " -f3`\""; echo " },"; done |

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
#colored man pages | |
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' |
NewerOlder