Skip to content

Instantly share code, notes, and snippets.

View grandchild's full-sized avatar

jakob grandchild

  • Berlin
  • 03:20 (UTC +02:00)
View GitHub Profile
Section "InputClass"
Identifier "keyboard-layout"
MatchIsKeyboard "on"
Option "XkbLayout" "us, de"
Option "XkbOptions" "grp: menu_toggle, grp_led: caps"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
@grandchild
grandchild / obj
Last active August 29, 2015 14:22
some json
{
"key": [
1,
3,
2,
4
],
"other": "hallo"
}
@grandchild
grandchild / gist:9a99272c1a0ab43aea86
Last active August 29, 2015 14:20
JS: dbg show coords red circle
function dbg_showCoords(xy) {
var size = 500;
var hsize = size/2.0;
$("<div></div>").css({
position: "absolute",
left: xy.x-hsize,
top: xy.y-hsize,
width: size,
height: size,
"border-radius": size+"px",

Keybase proof

I hereby claim:

  • I am grandchild on github.
  • I am grandchild (https://keybase.io/grandchild) on keybase.
  • I have a public key whose fingerprint is 9AB0 7F25 C281 2CAA 6326 92D2 C607 F318 1F82 89A2

To claim this, I am signing this object:

@grandchild
grandchild / selfspy.conf
Last active August 29, 2015 14:07
An example config for selfspy
# Example selfspy.conf. Put this in your ~/.config/ to use it
# with the systemd .service file.
# Note: You cannot indent lines in here!
# Defaults, used by both selfspy and selfstats.
[Defaults]
# Don't use quotes around the password, they'd be part of it!
# Example: