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.
package plugin | |
import ( | |
"fmt" | |
"io" | |
"os" | |
"os/exec" | |
"strconv" | |
) |
// Usage: | |
// $ node index.js | |
// | |
// Code to generate this. Should be modified to auto-generate tables, columns, etc. | |
const types = [ | |
'bigint', | |
'int8', | |
'bigserial', |
{ | |
"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): |
<!-- | |
What? | |
HTML Starter Template for rock-solid Web Apps | |
Where? | |
Get the latest template here: https://gist.github.com/matthewmueller/cb33e2c5f6834511cd45f17b59271052 |
javascript:(function () {var script = document.createElement('script');script.setAttribute('src', 'https://raw.github.com/gist/3713207/$FILEPATH');document.body.appendChild(script);}()); |