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 Framerate Police Police | |
// @namespace fpspolice | |
// @include http://store.steampowered.com/app/* | |
// @include https://store.steampowered.com/app/* | |
// @author Faggot | |
// ==/UserScript== | |
(function() { | |
document.querySelectorAll('a[href*="/curator/9393382-The-Framerate-Police"]')[0].parentElement.parentElement.style['display'] = 'none'; |
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 Cloud2Butt | |
// @include * | |
// ==/UserScript== | |
(function() { | |
var textnodes = document.evaluate("//body//text()[not(ancestor::script) and not(ancestor::style)]", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null), | |
node, text; | |
for(var i = 0; i < textnodes.snapshotLength; i++) { | |
node = textnodes.snapshotItem(i); |
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
-- Do whatever you want. | |
script_name = "inb4" | |
script_description = "Adds content before selected lines. Useful for OPs where you want \\fads or \\blurs, like every Commie OP ever." | |
script_author = "t4w" | |
script_version = "0.0.1a" | |
function inb4(subs, sel) | |
local t = ipairs(sel) | |
for __, i in ipairs(sel) do |
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/zsh | |
DZEN_LOCATION=$(which dzen2) | |
MPC_LOCATION=$(which mpc) | |
if [[ -z ${DZEN_LOCATION} ]]; then | |
echo "dzen2 not found" && exit 1 | |
else | |
DZEN_COMMAND=(dzen2 -ta c -p 5 -y 25 -x 1050 -tw 285 -bg \#2a2f30 -fg \#ffffff -fn Terminus) | |
fi |
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
use Irssi; | |
use strict; | |
sub halp { | |
print("I'm a fucking loser."); | |
}; | |
sub loser { | |
my ($text, $server) = @_; | |
if($text eq '') { |
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
String.prototype.autism = function () { | |
var parens = 0, | |
ticks = 0, | |
quotes = 0, | |
line = this.valueOf(); | |
for (var i = 0; i < line.length; i++) { | |
if (line[i] === '(') { // Parens | |
parens++; | |
} else if (line[i] === ')') { | |
parens--; |
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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-10-09 | |
# | |
# _______________| netspeed : check download speed via command line. | |
# | |
# Usage: netspeed [tokyo, london, usw, use, east, west, URL] | |
# ^default U.S. west coast. | |
# [ -speed_KB/sec ] | |
# ^negation activates the Mbps converter. | |
# |
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
#!/usr/bin/env node | |
/* | |
* Simple script for turning ASS files into regular scripts | |
* NOTE: Not 100% tested, will probably fail. | |
* Please fix me ;_; | |
*/ | |
var ap = require('argparser'). | |
files("in", "out"). | |
parse(), |
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 HoroHoroHoro | |
// @match *://boards.4chan.org/* | |
// @delay 1 | |
// ==/UserScript== | |
var log | |
if( !console.log ) { | |
log = unsafeWindow.console.log; |
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/bash | |
# upload.sh (goput|omploadr|imgur) file | |
if [ "x${1}" = 'x' ]; then | |
echo 'need host' | |
exit | |
fi | |
if [ "x{$2}" = "x" ]; then | |
echo 'need filename' | |
exit |
NewerOlder