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:
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 & | |
} |
#!/bin/sh -x | |
# | |
# based on http://selenic.com/git/raw-file/tip/hgeditor | |
# and http://stackoverflow.com/questions/4750148/git-show-index-diff-in-commit-message-as-comment | |
# | |
# This is an example of using GITEDITOR to create of diff to review the | |
# changes while commiting. | |
# | |
# If you want to pass your favourite editor some other parameters | |
# only for Git, modify this: |