Skip to content
View scss.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
Kate SCSS syntax highlighting definition
Modified the Kate CSS syntax highlighting definition to support SCSS.
This file should be merged with any updates to the normal Kate CCS definition (see note on version numbering in changelog for 1.2.03.0).
The latest version of this file can be found at https://gist.github.com/958598
View build-ios.sh
#!/usr/bin/env bash
IOS_BASE_SDK="7.0"
IOS_DEPLOY_TGT="5.1"
LIPO="xcrun -sdk iphoneos lipo"
setenv_all()
{
# Add internal libs
export CFLAGS="-O2 -DTARGET_OS_IPHONE=1 -Idependencies/include -Ldependencies/lib $CFLAGS"
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 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.
Something went wrong with that request. Please try again.