Skip to content
View burn-cdi.sh
#!/usr/bin/env bash
CDIIMG="$1"
cdirip "${CDIIMG}" -cdrecord
COUNTER="0"
MORE=true
while $MORE
View older-ie-js-limit-fix.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles]
"MaxScriptStatements"=dword:ffffffff
View php-config.sh
configure --enable-cgi --enable-cli --enable-cli-win32 --enable-intl --enable-mbstring --enable-mbregex --with-mysqlnd --enable-zip --enable-tokenizer --enable-zlib --with-libxml --with-dom --enable-phar --with-simplexml --with-xml --enable-xmlreader --enable-xmlwriter --with-curl --enable-bcmath --with-bz2 --enable-calendar --with-gd --with-mcrypt --enable-exif --enable-json --with-iconv --with-gmp --enable-fileinfo --with-gettext --with-mysqli --with-mysql --with-pdo-mysql --with-pdo-sqlite --with-pspell --with-sqlite3 --enable-phar-native-ssl --with-openssl --enable-tokenizer --with-xsl --enable-pdo --enable-session --enable-markdown
View public-keys.start.sh
max_tries=10
i=0
while ((i < max_tries)); do
wget -q -r --retry-connrefused --tries=10 --timeout=60 -O /tmp/my-key http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key
if (($? == 0)); then
break
fi
((i++))
done
View cleanup-kernel-src.py
#!/usr/bin/env python
from os import chdir, listdir
from os.path import basename, islink, realpath
from shutil import rmtree
import re
import subprocess as sp
import sys
if __name__ == '__main__':
View isync-ratings.py
#!/usr/bin/env python
from __future__ import print_function
import os
import subprocess as sp
import signal
import sqlite3
import sys
from os.path import expanduser
from time import sleep
View image2xterm256color.py
#!/usr/bin/env python3
import sys
from PIL import Image
xterm256colors = [ # http://pln.jonas.me/xterm-colors
(0, (0x00, 0x00, 0x00)), # SYSTEM
(1, (0x80, 0x00, 0x00)), # SYSTEM
(2, (0x00, 0x80, 0x00)), # SYSTEM
(3, (0x80, 0x80, 0x00)), # SYSTEM
(4, (0x00, 0x00, 0x80)), # SYSTEM
View tmux.conf
unbind C-b
set -g prefix C-a
set -g history-limit 10000
bind-key a send-key C-a
bind-key C-a last-window
# vi mode
setw -g mode-keys vi
set -g status-keys vi
View rtorrent_xmlrpc.py
#!/usr/bin/python
# rtorrent_xmlrpc
# (c) 2011 Roger Que <alerante@bellsouth.net>
#
# Python module for interacting with rtorrent's XML-RPC interface
# directly over SCGI, instead of through an HTTP server intermediary.
# Inspired by Glenn Washburn's xmlrpc2scgi.py [1], but subclasses the
# built-in xmlrpclib classes so that it is compatible with features
# such as MultiCall objects.
View ngd.user.js
// ==UserScript==
// @name GoogleNoDoodle
// @namespace http://www.tatsh.net/
// @description Removes the doodle and moves the logo a bit upward.
// @include http://www.google.*
// @include https://www.google.*
// @include http://www.google.*/?complete=0
// @include https://www.google.*/?complete=0
// @version 0.1
// ==/UserScript==
Something went wrong with that request. Please try again.