- 433.99MHz
- ASK/OOK
- Baud approx 4860
Model | Channel | Button | Action | Hex |
---|
package main | |
import "log" | |
// some random interface | |
type User interface { | |
Name() string | |
} | |
// some implementation of that interface |
Model | Channel | Button | Action | Hex | RawBits | DecodedBits |
---|
You can avoid a bufio.ErrTooLong
error ("bufio.Scanner: token too long"
) by using something like this as your scanner.Split()
function:
const maxTokenLength = bufio.MaxScanTokenSize / 2
func scanLinesOrGiveLong(data []byte, atEOF bool) (advance int, token []byte, err error) {
advance, token, err = bufio.ScanLines(data, atEOF)
if advance > 0 || token != nil || err != nil {
// bufio.ScanLines found something, use it
return
const axios = require('axios'); | |
const cachios = require('cachios'); | |
const LRU = require('lru-cache'); | |
const fs = require('fs'); | |
//// this part is for debugging purposes: | |
// build an axios client that logs outbound requests | |
const axiosClient = axios.create(); |
>>> \Carbon\Carbon::parse('2020-12-31T00:00:00Z')->subMonth()->toIso8601String() | |
=> "2020-12-01T00:00:00+00:00" |
Saving this solution for later, might be able to google it next time it happens
Error:
Module build failed: ReferenceError: Unknown plugin "transform-object-rest-spread" specified in "base" at 0, attempted to resolve relative to "/nova-components/unified-transaction-api/dist"
at /nova-components/NovaStuff/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (<anonymous>)
Replace | |
"([^"]+)": ?\{ | |
With | |
message $1 { | |
Replace | |
}, | |
With | |
} |
Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.
The basic idea is that C:\Program Files\Git\mingw64\
is your /
directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git
, the mingw64
in this directory is your root. Find it by using pwd -W
).
If you go to that directory, you will find the typical linux root folder structure (bin
, etc
, lib
and so on).
If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so
Name | Code | |
---|---|---|
Alberta | AB | |
British Columbia | BC | |
Manitoba | MB | |
New Brunswick | NB | |
Newfoundland and Labrador | NL | |
Northwest Territories | NT | |
Nova Scotia | NS | |
Nunavut | NU | |
Ontario | ON |