I hereby claim:
- I am tatsh on github.
- I am tatsh (https://keybase.io/tatsh) on keybase.
- I have a public key whose fingerprint is 60AF 74F3 88EF 4F49 31C0 8E38 1AFD 9AFC 120C 26DD
To claim this, I am signing this object:
| <?xml version="1.0"?> | |
| <Glabels-templates xmlns="http://glabels.org/xmlns/3.0/"> | |
| <Template brand="Avery" part="11528-1" size="US-Letter" description="Avery 11528 first tab (top)"> | |
| <Label-rectangle id="0" width="13mm" height="46mm" round="0mm" x_waste="0mm" y_waste="0mm"> | |
| <Markup-margin size="1mm"/> | |
| <Layout nx="1" ny="1" x0="198mm" y0="12mm" dx="14mm" dy="51mm"/><!-- 198 = 216 mm - width - margin --> | |
| </Label-rectangle> | |
| </Template> | |
| </Glabels-templates> |
| #!/usr/bin/env python | |
| # Recursively find all unclean directories managed by Git. | |
| from __future__ import print_function | |
| from os import listdir | |
| from os.path import isdir, join as path_join, realpath | |
| import os | |
| from sh import git | |
| git = git.bake('-c', 'color.status=false') |
| find = (s) -> | |
| coll = [ | |
| [s[0], 1], | |
| ] | |
| last = s[0] | |
| i = 0 | |
| candidate = null | |
| max = s.length - 1 | |
| for c in s[1..] |
| # kate: hl bash | |
| _php() { | |
| local cur prev opts | |
| COMPREPLY=() | |
| cur="${COMP_WORDS[COMP_CWORD]}" | |
| prev="${COMP_WORDS[COMP_CWORD-1]}" | |
| opts="-a | |
| -c | |
| -n |
| from datetime import datetime, timedelta | |
| from os import listdir, stat | |
| from os.path import getsize, isdir, join as path_join, realpath | |
| import argparse | |
| import logging | |
| import sys | |
| from Crypto.Random.random import StrongRandom | |
| from osext.filesystem import isfile |
| // Send a message to one person by name with Messages.app | |
| function sendMessageTo(name, message) { | |
| var app = Application('Messages'); | |
| var chats = app.chats(); // Get all the chats, regardless of service | |
| var theChat; | |
| for (var i = 0, len < chats.length; i < len; i++) { | |
| chat = chats[i]; | |
| if (chat.participants().length > 1) { // Ignore 'rooms' | |
| continue; |
I hereby claim:
To claim this, I am signing this object:
| // ==UserScript== | |
| // @name GoogleNoDoodle | |
| // @namespace http://tat.sh | |
| // @description Removes the doodle and moves the logo a bit upward. | |
| // @include http://www.google.com | |
| // @include https://www.google.com | |
| // @include http://www.google.com/?complete=0 | |
| // @include https://www.google.com/?complete=0 | |
| // @downloadURL https://gist.github.com/Tatsh/c2db8e421e0eb982c5dc/raw/ngd.user.js | |
| // @updateURL https://gist.github.com/Tatsh/c2db8e421e0eb982c5dc/raw/ngd.user.js |
| #!/usr/bin/env python | |
| import os | |
| import subprocess as sp | |
| import signal | |
| import sqlite3 | |
| import sys | |
| from os.path import expanduser | |
| from time import sleep | |
| #!/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__': |