This file contains 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 | |
"""Get closest named colour according to XKCD's colour naming survey | |
`http://xkcd.com/color/rgb/`. | |
rgb.txt from `http://xkcd.com/color/rgb.txt` must reside alongside this script. | |
Exceptions are made for true black and true white: these are omitted from the | |
searched colours. "black" and "white" are returned only if the queried colour is | |
true black or true white. |
This file contains 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
[ | |
{ | |
"backcolor": "#ffffff", | |
"name": "Dvorak LCD", | |
"author": "Bart Nagel", | |
"background": { | |
"name": "Maple orange", | |
"style": "background-image: url('/bg/wood/maple-orange.jpg');" | |
}, | |
"switchMount": "alps", |
This file contains 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
# Step 01 | |
# per https://gitlab.com/gitlab-org/gitlab-ce/issues/13357#note_4857268 | |
gdb | |
attach <PID> | |
redirect_stdout | |
eval("puts Kernel.caller.join(\"\\n\")") | |
# Step 02 | |
gdb | |
attach <PID> |