View index.php
<?php
$base = "out";
$files = [
"index.html" => function($s) use ($base) {
$s = str_replace("<head>", "<head>\n\n<base href=\"$base/\" />", $s);
$s = str_replace("\"overviewer.js\"", "\"../?overviewer.js\"", $s);
return $s;
},
View messenger-blink.user.js
View capplay
#!/bin/sh
# Copyright (c) 2014 Scott Zeid.
# Released under the X11 License <https://tldrlegal.com/license/x11-license>.
cap() {
local video=$1
local audio=$2
ffmpeg \
-f v4l2 -i "$video" \
View TMPpref.txt
tabmixplus
browser.ctrlTab.previews=true
browser.link.open_newwindow=3
browser.link.open_newwindow.override.external=-1
browser.link.open_newwindow.restriction=2
browser.newtab.url=about:newtab
browser.search.context.loadInBackground=false
browser.search.openintab=false
browser.sessionstore.interval=15000
browser.sessionstore.max_tabs_undo=10
View joke_sorts.py
#!/usr/bin/env python2
import random
import re
import threading
import time
import sys
class JokeSorts:
@classmethod
View numbers.py
#!/usr/bin/env python
import sys
STRINGS = dict(
negative = ["negative"],
base = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight",
"nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen",
"sixteen", "seventeen", "eighteen", "nineteen"],
tens = ["twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"],
View TestEscaped.java
\u0070\u0075\u0062\u006c\u0069\u0063\u0020\u0065\u006e\u0075\u006d\u0020\u0054\u0065\u0073\u0074\u0045\u0073\u0063\u0061\u0070\u0065\u0073\u0020\u007b\u000a\u0020\u0042\u004e\u0041\u0059\u003b\u000a\u0020\u0070\u0075\u0062\u006c\u0069\u0063\u0020\u0073\u0074\u0061\u0074\u0069\u0063\u0020\u0076\u006f\u0069\u0064\u0020\u006d\u0061\u0069\u006e\u0028\u0053\u0074\u0072\u0069\u006e\u0067\u005b\u005d\u0020\u0061\u0072\u0067\u0073\u0029\u0020\u007b\u000a\u0020\u0020\u0053\u0079\u0073\u0074\u0065\u006d\u002e\u006f\u0075\u0074\u002e\u0070\u0072\u0069\u006e\u0074\u006c\u006e\u0028\u0054\u0065\u0073\u0074\u0045\u0073\u0063\u0061\u0070\u0065\u0073\u002e\u0042\u004e\u0041\u0059\u0029\u003b\u000a\u0020\u007d\u000a\u007d\u000a
View minecraft-portable.sh
#!/bin/bash
cd "$(dirname "$0")"
MINECRAFT_JAR=minecraft.jar
if [ ! -f "$MINECRAFT_JAR" ]; then
MINECRAFT_JAR=bin/minecraft.jar
fi
exec java -jar "$MINECRAFT_JAR" --workDir "$(pwd)"
View plugin-versions
#!/usr/bin/env python
import os
import re
import subprocess
import sys
from collections import OrderedDict
CB_CMD = ["cb"]