I hereby claim:
- I am jamezpolley on github.
- I am tchaypo (https://keybase.io/tchaypo) on keybase.
- I have a public key ASAz4jhP70F4ENrJ0t8PmTDLU71sKhrnGVHxgvvep9Vkzgo
To claim this, I am signing this object:
| // ==UserScript== | |
| // @name Gmail Copy Permalink (Thread + Per-Message) | |
| // @namespace https://github.com/jamespolley/dex | |
| // @version 2.5.0 | |
| // @description Adds copy-permalink buttons to Gmail: one in the thread toolbar (copies thread permalink), one next to each message's star (copies per-message permalink). URLs are stable hex-id form (#all/<hex>) — the kind Sunsama / other tools want. | |
| // @match https://mail.google.com/* | |
| // @grant GM_setClipboard | |
| // @run-at document-idle | |
| // ==/UserScript== |
| blueprint: | |
| name: ZHA - Moes Smart Knob for lights | |
| description: 'Control lights with a Moes Smart Knob. | |
| You can set functions for a single press. This allows you to assign, | |
| e.g., a scene or anything else. | |
| Rotating left/right will change the brightness smoothly of the selected light. | |
| Not all functionality of the device is available at time of writing, e.g. double press, long press and press and rotate.' |
| |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>W4n Table</title> | |
| </head> | |
| <body> | |
| <h1>Tana Emoji Table</h1> |
| // ==UserScript== | |
| // @name symposium-review-extra | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2 | |
| // @description Show all the tabs in the review pane at once. | |
| // @author You | |
| // @match https://lca2019.linux.org.au/reviews/review/.* | |
| // @match https://lca2019.linux.org.au/reviews/review/* | |
| // @downloadURL https://gist.githubusercontent.com/jamezpolley/a086bcba602e93d7d70ad042f04c19e4/raw/a2f92ce041275185d972ab272900a5b2d74efd87/symposium-review-extra.js | |
| // @updateURL https://gist.githubusercontent.com/jamezpolley/a086bcba602e93d7d70ad042f04c19e4/raw/a2f92ce041275185d972ab272900a5b2d74efd87/symposium-review-extra.js |
I hereby claim:
To claim this, I am signing this object:
| jpolley@jpl:waldo$cat test.rb | |
| #!/usr/bin/env ruby | |
| def myfunc(a=1, b=3) | |
| puts a | |
| puts b | |
| end | |
| myfunc(b=2) | |
| puts b |
| #!/usr/bin/env python | |
| directory = [ | |
| {'department': 123, 'location': 'NYC', 'username': 'bob', 'roles': | |
| ['developer', 'sysadmin']}, | |
| {'department': 123, 'location': 'SYD', 'username': 'fred', 'roles': | |
| 'developer'}, | |
| {'department': 234, 'location': 'NYC', 'username': 'harry', 'roles': | |
| 'sysadmin'}, | |
| ] |
| james@bodacious-wired:~$cat test.py | |
| #!/usr/bin/env python | |
| class MyClass: | |
| element1 = "Hello" | |
| def __init__(self): | |
| self.element2 = "World" | |
| obj1 = MyClass() |
| #!/bin/bash | |
| dochrome-mac () { | |
| /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-udd-profiles --user-data-dir=/Users/$USER/Library/Application\ Support/Google/Chrome$1 2>&1 & | |
| } | |
| dochrome-linux () { | |
| /opt/google/chrome/google-chrome --enable-udd-profiles --user-data-dir=~/.config/google-chrome$1 %U 2>%1 & | |
| } |