This file is based on: https://raw.githubusercontent.com/alexellis/inlets/master/hack/inlets.service
I've had to remove the quotes around {AUTHTOKEN}
to avoid them showing up in the token.
{ | |
"title": "Change caps_lock to command+control+option+shift or F19 if tapped", | |
"rules": [ | |
{ | |
"description": "Change caps_lock to command+control+option+shift or F19 if tapped", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { |
{ | |
"title": "Change caps_lock to Esc and Control", | |
"rules": [ | |
{ | |
"description": "Change caps_lock to command+control+option+shift or F19 if tapped", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { |
This file is based on: https://raw.githubusercontent.com/alexellis/inlets/master/hack/inlets.service
I've had to remove the quotes around {AUTHTOKEN}
to avoid them showing up in the token.
class Car { | |
constructor() { | |
return Promise.resolve(this.new()) | |
} | |
async new() { | |
await this.sleep(1000) | |
this._wheels = 4 | |
return this | |
} |
func splitBySlash(s string) []string { | |
lastQuote := rune(0) | |
slash := rune(filepath.Separator) | |
f := func(c rune) bool { | |
switch { | |
case c == lastQuote: | |
lastQuote = rune(0) | |
return false | |
case lastQuote != rune(0): |
/******************************* | |
Flex Layout | |
*******************************/ | |
.layout.horizontal, | |
.layout.horizontal-reverse, | |
.layout.vertical, | |
.layout.vertical-reverse { | |
display: -ms-flexbox; | |
display: -webkit-flex; |
package main | |
func main() { | |
task := model.NewTask() | |
err := task.Create(model.Task{ | |
Rate: "* * * * *", | |
Key: "hi world", | |
}) | |
} |
<style id="jsbin-css"> | |
.form { | |
font-size: 1em; | |
color: #4C4C35; | |
box-sizing: border-box; | |
} | |
.form, .form * { | |
box-sizing: border-box; | |
} |
/** | |
* Module dependencies | |
*/ | |
const stringify = require('preact-render-to-string') | |
const preact = require('preact') | |
const h = preact.h | |
preact.options.vnode = function (node) { | |
if (!node.attributes || !node.attributes.class) return |