Skip to content

Instantly share code, notes, and snippets.

@VegarRingdalAibel
VegarRingdalAibel / main.ts
Last active March 28, 2023 20:20
rvm helper
deno compile --target x86_64-unknown-linux-gnu --unstable --allow-all .\main.ts
deno compile --unstable --allow-all .\main.ts
./src.exe ./rvmparser.exe --tolerance=0.01 --output-gltf-split-level=3 ./8089.rvm --output-gltf=temp
//linux
./src ./rvmparser-linux-bin --tolerance=0.01 --output-gltf-split-level=3 ./8089.rvm --output-gltf=temp
WITH ht_lines_and_docs AS (
--------------------------------
-- input data
--------------------------------
SELECT
tag tag_ref,
lines lines_ref,
docs docs_ref
FROM
test
@VegarRingdalAibel
VegarRingdalAibel / arrays.js
Last active September 7, 2022 08:48
sample
const currentrev = 1;
const prevRev = 0;
const data = [
{
tag: "tag1",
kg: 1,
rev: 1,
},
{
@VegarRingdalAibel
VegarRingdalAibel / sample.md
Last active July 21, 2022 07:02
multi ssh git accounts

config under users/your_user_name/.ssh

Host username1 github.com

Hostname github.com

IdentityFile ~/.ssh/somefile1

User git

web-update

Simple as possible where view have all config, just generate view and column and you DONE, no other table/config etc.. KISS (KEEP IT SIMPLE STUPID )

Columns types:

  • W_* = writable columns, W_ will not be shown in GUI/GRID
  • R_* = readonly columns, R_ will not be shown in GUI/GRID , but stop user for editing column
  • RG_ = writable in api, but only read in grid