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
| /* Blockquote margins are too fat */ | |
| .viewer blockquote { margin-left: 1em; } | |
| .viewer blockquote blockquote { margin-left: 0.5ex; } | |
| /* I think in-tiddler bordered elements (tables and pre blocks) | |
| * should line up */ | |
| .viewer table, .viewer table.twtable { margin-left: 0.5em; } | |
| /* Bullet my checklists with the checkboxes so they look nicer both | |
| * on screen and in print */ |
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
| #/bin/sh | |
| # XDG Base Directory Spec wrapper for Crayon Physics Deluxe as included in the | |
| # Humble Indie Games Bundle 3 | |
| # | |
| # Useful for hiding the non-hidden "Crayon Physics Deluxe" folder the game uses | |
| # to store saved solutions | |
| # Set this to where you installed Crayon Physics Deluxe | |
| GAME_ROOT=~/opt/CrayonPhysicsDeluxe |
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
| user_pref("noscript.surrogate.google_preview.sources", "@^https?://(www|encrypted)\.google\.com/search\?(?!(?:.*&)?tbm=[^&]+)"); | |
| user_pref("noscript.surrogate.google_preview.replacement", "addEventListener('DOMContentLoaded', function(e) {Array.forEach(document.getElementsByClassName('vsc'), function(e) {if (e.tagName === 'DIV' && e.hasAttribute('sig')) e.removeAttribute('sig');}); Array.slice(document.getElementsByClassName('vshid')).forEach(function(e) {if (e.tagName === 'SPAN' && !(e.previousElementSibling && e.previousElementSibling.tagName === 'SPAN' && e.previousElementSibling.classList.contains('gl')) && e.firstElementChild) {e.classList.remove('vshid'); e.classList.add('gl'); e.insertBefore(document.createTextNode(' - '), e.firstElementChild);}});}, true); addEventListener('load', function(e) {var count = typeof e === 'number' ? e : 1; var els = Array.slice(document.getElementsByClassName('vspib')); if (els.length) els.forEach(function(e) e.parentNode.removeChild(e)); else if (++count <= 2) setTimeout |
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
| <ruleset name="Kill Google Redirect Tracking"> | |
| <!-- Only one wildcard allowed. Borrowed from | |
| https://gitweb.torproject.org/https-everywhere.git/blob_plain/HEAD:/src/chrome/content/rules/Google.xml | |
| --> | |
| <target host="*.google.com"/> | |
| <target host="google.com"/> | |
| <target host="www.google.com.*"/> | |
| <target host="google.com.*"/> | |
| <target host="www.google.co.*"/> | |
| <target host="google.co.*"/> |
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
| #!/bin/sh | |
| # Light-weight script for moving files across a network | |
| # | |
| # To use: | |
| # 1. Make sure tar, netcat, and pv are installed. | |
| # 2. Edit TARGET_IP and TARGET_PORT | |
| # 3. Run with `--listen` on the target machine. | |
| # 3. Run with files/folders to move as arguments on the source machine. | |
| # | |
| # Troubleshooting: |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """A simple tool for converting batches of PNG pages into a PDF file. | |
| Usage: | |
| 1. Drop into the folder with the PNGs. | |
| 2. chmod +x png2pdf.py | |
| 3. Double-click it. | |
| Requires: |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """Simple script to set icons on locally-installed games in Desura. | |
| If the game's title in the Desura Play list is case-insensitive identical to | |
| the title in your Linux launcher menu and the game appears in the Games | |
| category of the system launcher menu, you can provide only the title and the | |
| icon will be looked up. | |
| Otherwise, you must provide both the title in Desura and the title, icon name, |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """Quick-fix script for Pidgin status tray icon in Lubuntu""" | |
| __appname__ = "Lubuntu Pidgin Tray Icon QuickFix" | |
| __author__ = "Stephan Sokolow (deitarion/SSokolow)" | |
| __version__ = "0.1" | |
| __license__ = "MIT" | |
| import os, re, sys |
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
| # The proper way to HTTP Redirect... but not all hosts listen to .htaccess (eg. GitHub Pages) | |
| # Some hosts also provide a special redirect option in their hosting controls. | |
| RedirectPermanent / http://www.newsite.com/ | |
| # Probably never used, but just to be thorough. | |
| ErrorDocument 404 /404.html |
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
| #!/usr/bin/python | |
| """Simple OpenPandora LED wrapper with demo | |
| By: Stephan Sokolow (deitarion/SSokolow) | |
| LEDs on the left are (in order): | |
| - sd1 | |
| - sd2 | |
| - wifi | |
| - bluetooth |