a simple script to create a short-lived git worktree
e.g. you want to check out what's on a separate branch but don't want to mess with your current worktree
run (assuming the script is in $PATH as wt)
wt branch_namea simple script to create a short-lived git worktree
e.g. you want to check out what's on a separate branch but don't want to mess with your current worktree
run (assuming the script is in $PATH as wt)
wt branch_name| import json | |
| import sys | |
| import subprocess | |
| def list_windows(): | |
| p = subprocess.run( | |
| [ | |
| "aerospace", | |
| "list-windows", |
| #!/usr/bin/env bash | |
| # You gotta hit enter after the last link if pasting from spotify coz it doesnt add a newline lol | |
| set -euo pipefail | |
| function die() { | |
| echo "error: $*" >&2 | |
| exit 1 | |
| } |
| #!/bin/bash | |
| extract() { | |
| echo "$site" | grep "$1" | awk '{print $2}' | tr -d "'," | |
| } | |
| i() { | |
| echo "$site" | sed 's/:calendar-addresses/calendar-addresses/' | pup -p '[calendar-addresses]' attr{calendar-addresses} | jq -r "$@" | |
| } |
| #!/usr/bin/bash | |
| cp -l ~/.last_tex ./main.tex | |
| rm ~/.last_tex | |
| ln -s "$(readlink -f main.tex)" ~/.last_tex | |
| sed -i '/\\begin{document}/,/\\end{document}/{//!d}' main.tex |
Q: Remarkable 2 czy Boox Note Air? Używa ktoś podobnych gadżetów? Główny cel - pozbycie się zeszytów i notatników oraz uporządkowanie notatek. Oczywiście do poczytania książek itp też się nada.
Onyx ma androida (więc można normalnie instalować appki, ale działa topornie). Onyx ma całkowicie wywalone na GPL (nie udostępnia źródeł), podobno writing feel gorszy niz na reMarkablo (source: kolega ktory ma Boox Note Air i pomaział na moim rM2)
| // ==UserScript== | |
| // @name Duolingo mistake helper | |
| // @description Requires an additional enter click to move to the next exercise when you have made a mistake. | |
| // | |
| // @run-at document-start | |
| // @include https://www.duolingo.com/* | |
| // @grant none | |
| // ==/UserScript== | |
| var checking = 0; |
| #!/bin/sh | |
| # usage: | |
| # ~$ deofhet kip | |
| # de kip | |
| # ~$ deofhet huis | |
| # het huis | |
| fetch_word() { | |
| curl -s "https://www.welklidwoord.nl/$1" |
| #!/bin/bash | |
| check_fprint() { | |
| fprintd-verify | grep -Eo "Verify result: (verify-match|verify-no-match)" | grep -o 'verify.*' | |
| } | |
| STOP=false | |
| ( | |
| while true; do | |
| if [[ "$(check_fprint)" == "verify-match" ]]; then |
xrandr by zobaczyć nazwę outputu ekranu dotykowego (np DP-1, HDMI-2, etc.)xinput i znaleźć wszystkie urządzenia pod "Virtual core pointer" które mają w nazwie nazwę tego wyświetlacza-tablicyxinput map-to-output