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] | |
| email = [email protected] | |
| name = Marek 'saji' Augustynowicz | |
| [color] | |
| ui = auto | |
| [alias] | |
| lg = log --graph --pretty=slim --abbrev-commit --date=relative | |
| lgg = !git lg --branches --date-order --date=local | |
| wtf = !git-wtf.rb --relations --short | |
| mmerge = merge --no-ff --log=9999 --edit --no-commit |
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
| // ==UserScript== | |
| // @name PurpleMine | |
| // @namespace http://redmine.holonglobe.com/ | |
| // @version 0.1 | |
| // @description Few tweaks for #redmine. #userscript | |
| // @match https://redmine.* | |
| // @copyright 2013+, Marek `saji` Augustynowicz | |
| // ==/UserScript== | |
| /** |
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
| /** | |
| * HG stylesheet, based on "Basecamp" | |
| */ | |
| body, input, select, textarea, h1, h2, h3, h4 { | |
| font-family: "Lucida Grande", "Segoe UI", verdana, arial, helvetica, sans-serif !important; | |
| } | |
| body { | |
| background-color: #bbb; | |
| } |
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
| /** | |
| * Using :not as @supports. | |
| */ | |
| article | |
| { | |
| background-color: #7e7; | |
| font-family: Droid Sans, Helvetica, Arial, sans; | |
| } |
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
| function safeJSONStringify (input, maxDepth) | |
| { | |
| var output, | |
| refs = [], | |
| refsPaths = []; | |
| maxDepth = maxDepth || 5; | |
| function recursion (input, path, depth) |
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
| window.___formFiller = (function (document, undefined) { | |
| // public methods | |
| var show, | |
| hide, | |
| fillForm, | |
| storeForm, | |
| restoreForm; | |
| // private methods |
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
| #!/system/xbin/busybox ash | |
| cd /data/dalvik-cache | |
| find . \ | |
| -type f \ | |
| \( \ | |
| -name '*com.adobe.reader*.dex' \ | |
| -or \ | |
| -name '*com.google.android.apps.docs*.dex' \ | |
| -or \ |
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/bash | |
| if git rev-parse --verify HEAD >/dev/null 2>&1 | |
| then | |
| against=HEAD | |
| else | |
| # Initial commit: diff against an empty tree object | |
| against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
| fi |
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
| /** | |
| * dt+dd in one line | |
| */ | |
| article | |
| { | |
| width: 20em; | |
| } | |
| dl { margin: 1em; background: #a88; clear: both; overflow: auto; } |
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
| /** | |
| * SZP's "down due to maintenance" page. | |
| */ | |
| min-height : 100%; | |
| padding-top : 30%; | |
| font-family : sans; | |
| font-size : 1.5em; | |
| text-align : center; | |
| color : #eee; |