Create the following files in the .vscode folder of your repo
{
"import": ["./cspell-node.config.cjs"]
}| import Database from 'better-sqlite3'; | |
| import { createDatabaseClient } from './proxy.ts'; | |
| // 1) Create an in-memory DB and your table(s). | |
| const db = new Database(':memory:'); | |
| db.exec(` | |
| CREATE TABLE users ( | |
| id TEXT PRIMARY KEY, | |
| data JSON | |
| ); |
This is a pure-Python script which builds on top of difftastics --display json to provide:
side-by-side)it addresses following shortcomings of current (v0.51.1) JSON output:
chunks are unordered (different each time), had to be sorted by rhs.line_number then lhs.line_numberhighlight) for some (probably unknown?) languages, those are mergedaddresses Wilfred/difftastic#45
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Launch all tests 3 browsers", | |
| "request": "launch", | |
| "runtimeArgs": [ | |
| "run-script", | |
| "tests3x" | |
| ], |
This Gist is superseded by https://github.com/Ircama/PT-P300BT
The Brother P-touch Cube PT-P300BT labelling machine is intended to be controlled from the official Brother P-touch Design&Print 2 app for Android and iOS devices, instead of from a computer.
| #!/bin/sh | |
| DEFER= | |
| defer() { | |
| DEFER="$*; ${DEFER}" | |
| trap "{ $DEFER }" EXIT | |
| } |
| <?xml version='1.0'?> | |
| <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
| <fontconfig> | |
| <alias> | |
| <family>Arial</family> | |
| <prefer> | |
| <family>Arial</family> | |
| <family>Liberation Sans</family> | |
| <family>sans-serif</family> | |
| </prefer> |
| /etc/docker/daemon.json | |
| { | |
| "bip" : "172.70.0.1/16", | |
| "fixed-cidr" : "172.70.16.0/20", | |
| "log-level" : "info", | |
| "default-address-pools" : [ | |
| {"base" : "172.80.0.0/16", "size" : 24 }, | |
| {"base" : "172.90.0.0/16", "size" : 24 } | |
| ] |
| #compdef swaymsg | |
| typeset -A opt_args | |
| __swaymsg() { | |
| # Reuse socket path from command line if present | |
| swaymsg ${(kv)opt_args[(I)-s|--socket]} "$@" 2>/dev/null | |
| } | |
| # _sway | |
| # sway ipc {{{ |
As far as I am aware the time has come and as of Firefox 72 XUL has been stripped from firefox and so the method used to inject this scrollbar theme is no longer supported -- reference the following for future scroll themes:
Mozilla is currently working to phase out the APIs used to make this theme work. I will try to maintain each version until that time but eventually there will be no workaround. When that time comes there is a new, but more limited api for applying simple themes to scrollbars. In nightly I am currently using the following userContent.css
:root{
scrollbar-width: thin;
scrollbar-color: rgb(82, 82, 82) rgb(31, 31, 31);
}