Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: ZHA Tuya 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.'
# via `code --list-extensions | xargs -L 1 echo code --install-extension`
# thanks to https://stackoverflow.com/a/49398449/80428
code --install-extension alefragnani.Bookmarks
code --install-extension andrewmarkle.primer-light
code --install-extension apollographql.vscode-apollo
code --install-extension jaywick.vscode-icontheme-js-nomo
code --install-extension Blodwynn.soysyntaxchecker
code --install-extension chaseadamsio.vscode-theme-neon-night
code --install-extension christian-kohler.path-intellisense
@jaywick
jaywick / extensions.sh
Created December 24, 2019 02:18
VS Code Settings Personal – Dec 2019
# via `code --list-extensions | xargs -L 1 echo code --install-extension`
# thanks to https://stackoverflow.com/a/49398449/80428
code --install-extension jaywick.vscode-icontheme-js-nomo
code --install-extension dbaeumer.vscode-eslint
code --install-extension eamodio.gitlens
code --install-extension Equinusocio.vsc-material-theme
code --install-extension esbenp.prettier-vscode
code --install-extension Exelord.git-commits
code --install-extension fabiospampinato.vscode-git-history
Unember
Duomber
Tresember
Quatember
Quinqember
Sexember
September
October
November
December
@jaywick
jaywick / keybindings.json
Created July 12, 2018 10:44
My current vscode settings and keybindings
[
{
"key": "ctrl+t",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "ctrl+b",
"command": "editor.action.goToImplementation"
},
{
zone.js:665 Unhandled Promise rejection: Cannot read property '__zone_symbol__value' of undefined ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read property '__zone_symbol__value' of undefined
at CustomErrorHandler.webpackJsonp.../../../../../src/app/errors/custom-error-handler.ts.CustomErrorHandler.handleError (custom-error-handler.ts:16)
at core.es5.js:4408
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388)
at Object.onInvoke (core.es5.js:3890)
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:387)
at Zone.webpackJsonp.../../../../zone.js/dist/zone.js.Zone.run (zone.js:138)
at zone.js:872
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.es5.js:3881)
// ==UserScript==
// @name Twitter Markdown
// @namespace twitter.cm
// @version 0.1
// @description Display basic markdown in twitter
// @author jaywick
// @match https://twitter.com/*
// @license MIT
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Github PR Helpers
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Additional tools for reviewing PRs
// @author @jayw
// @match https://YOURGITTHINGY/*/*/pull/*/files*
// @grant none
// ==/UserScript==
/*
credit @mikewheaton's code plus some small tweaks
https://github.com/open-source-ideas/open-source-ideas/issues/10#issuecomment-272638529
*/
.mtki {
font-family: 'Ubuntu Mono' !important;
font-style: italic;
font-size: 1.2em; /* Lines up perfectly with Fira Code */
}
@jaywick
jaywick / .gitconfig
Created April 27, 2018 02:07
Run `git open` to open the branch your on online
[alias]
open = !powershell goto-remote.ps1