I hereby claim:
- I am j13k on github.
- I am j13k (https://keybase.io/j13k) on keybase.
- I have a public key ASBzbos4-B65mKoH5498hGXHETDrbh1-FyMsKUPzEy0sggo
To claim this, I am signing this object:
<!-- Simple HTML debug panel with toggle control --> | |
[ <a id="debugControl" onclick="document.getElementById('debugPanel').style.display = (document.getElementById('debugPanel').style.display == 'none' ? 'block' : 'none'); document.getElementById('debugControl').innerHTML = (document.getElementById('debugControl').innerHTML == '+' ? '-' : '+');">+</a> ] | |
<pre id="debugPanel" style="font-family: 'Courier New', Monospace; display: none"> | |
<!-- Debug output goes here --> | |
</pre> |
<?php | |
/** | |
* This config script facilitates INI-file configuration of | |
* Sismo (http://sismo.sensiolabs.org/) projects | |
* | |
* Installation: | |
* | |
* 1. Place this file in ~/.sismo/ (or SISMO_CONFIG_PATH) | |
* 2. Create projects.ini file in ~/.sismo (or SISMO_CONFIG_PATH), specifying |
; | |
; Sample config for INI-file based Sismo project configuration | |
; | |
; Requires a counterpart config.php script, which is available as a gist: | |
; https://gist.github.com/j13k/4addfc987570acb82db2 | |
; | |
[project1] | |
type = github | |
name = Twig | |
slug = twig |
/* Sets default font */ | |
body, | |
td, | |
input, | |
textarea, | |
select { | |
font: 14px tahoma, "San Francisco", arial, sans-serif | |
} | |
/* Removes Google Plus gadget beside message content */ | |
div.no > div.nH.aNW.apk.nn > div > div > table > tr > td.Bu.y3 { |
#!/bin/bash | |
# | |
# This script backups an OS X system to an external volume, effectively | |
# cloning it. It is based on [0], [1] and [2] for OS X and [3] and [4] for | |
# Linux. One could also use commercial tools like SuperDuper! or Carbon Copy | |
# Cloner. The latter website has an interesting list[5] on what files to | |
# exclude when cloning. | |
# | |
# Exclusions (from CCC[5]), see rsync_excludes_osx.txt | |
# |
#!/bin/bash | |
# | |
# A post-checkout hook script to check Composer package status | |
# and warn of changes after switching branches. | |
# | |
# Put this file at: .git/hooks/post-checkout | |
# and make it executable | |
# You can install it system wide too, see http://stackoverflow.com/a/2293578/685587 | |
PREV_COMMIT=$1 |
I hereby claim:
To claim this, I am signing this object:
/** | |
* Applies updated Asciidoctor default stylesheet to online | |
* edition of "Test-Driven Development with Python". | |
* | |
* 1. Install 'Stylish' browser extension | |
* 2. Create New Style | |
* 3. Paste this stylesheet | |
* 4. Apply to URLs starting with | |
* https://www.obeythetestinggoat.com/book/ | |
* |
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the branch/status of the current git repository | |
# * the branch of the current subversion repository | |
# * the return value of the previous command | |
# | |
# USAGE: |
{ | |
"_id": "_design/groups", | |
"views": { | |
"itemsByGroup": { | |
"map": "function(doc) {\n if (doc.type == 'group') {\n for (var i in doc.itemIds) {\n emit([doc._id, i], {_id: doc.itemIds[i]});\n }\n }\n}" | |
} | |
} | |
} |