| source | gistUrl | gistFile |
|---|---|---|
github-gist |
Todoist.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "openapi": "3.0.3", | |
| "info": { | |
| "title": "Lexware Internal UI API", | |
| "description": "Undocumented internal Lexware endpoints for bank account transactions and voucher-transaction assignment (Zuordnung). Requires session JWT from browser login. JWT expires after ~5 hours. Obtain by logging into app.lexware.de and extracting the grldJWT cookie value.", | |
| "version": "1.5.0" | |
| }, | |
| "servers": [ | |
| { | |
| "url": "https://app.lexware.de", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install Podman static from https://github.com/mgoltzsche/podman-static | |
| curl -fsSL -o podman-linux-amd64.tar.gz https://github.com/mgoltzsche/podman-static/releases/latest/download/podman-linux-amd64.tar.gz | |
| curl -fsSL -o podman-linux-amd64.tar.gz.asc https://github.com/mgoltzsche/podman-static/releases/latest/download/podman-linux-amd64.tar.gz.asc | |
| gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 0CCF102C4F95D89E583FF1D4F8B5AF50344BB503 | |
| gpg --batch --verify podman-linux-amd64.tar.gz.asc podman-linux-amd64.tar.gz | |
| tar -xzf podman-linux-amd64.tar.gz | |
| sudo cp -r podman-linux-amd64/usr podman-linux-amd64/etc / | |
| sudo ln -s /usr/local/bin/podman /usr/local/bin/docker | |
| sudo sh -c "echo $(id -un):100000:200000 >> /etc/subuid" | |
| sudo sh -c "echo $(id -gn):100000:200000 >> /etc/subgid" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Start Windows PowerShell | |
| # Install the Open Source package manager Scoop (https://scoop.sh/): | |
| Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | |
| Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression | |
| # Set up company proxy (if required) | |
| scoop config proxy proxy.mycompany.com:8080 | |
| # Install base requisites | |
| scoop install git |
I hereby claim:
- I am nightscape on github.
- I am martin_mauch (https://keybase.io/martin_mauch) on keybase.
- I have a public key ASANKmCnGWQPuICUpO04ADSCDuaZNEwurtN66RO1XXzD4Qo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git diff (git log -1 --before=@{5.days.ago} --format=%H) --stat | parse -r "bucket/(?P<mani>.*?)\\.json .*" | insert description { |m| open --raw $"bucket/($m.mani).json" | from json | get description } | insert homepage { |m| open --raw $"bucket/($m.mani).json" | from json | get homepage } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defcfg | |
| ;; For Linux (set your device input file here) | |
| ;; input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd") | |
| ;; output (uinput-sink "KMonad output" | |
| ;; "/bin/sleep 1 && /bin/setxkbmap us -option compose:ralt") | |
| ;; For Windows | |
| ;; input (low-level-hook) | |
| ;; output (send-event-sink) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log("It works"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # encoding: utf-8 | |
| """Use instead of `python3 -m http.server` when you need CORS""" | |
| from http.server import HTTPServer, SimpleHTTPRequestHandler | |
| class CORSRequestHandler(SimpleHTTPRequestHandler): | |
| def end_headers(self): | |
| self.send_header('Access-Control-Allow-Origin', '*') |
rename a section of a filename, i. e. example.1.{txt,conf,db} or 12345.1.{wav,ogg,mp3} and change the 1 to a 2 in the filename while preserving the rest of it.
zmv -n '(*.)(<->)(.[^.]#)' '$1$(($2+1))$3' # would rename x.0001.y to x.2.y.
zmv -n '(*.0#)(<->)(.[^.]#)' '$1$(($2+1))$3' $ zmv '*' '${(L)f}'NewerOlder