- OBS
- scena ustawiona tak jak ma byc, dobry monitor wybrany
- dźwięk czy działa
- streaming key (sprawdzić czy działa na podglądzie w dashboardzie youtube, startując strumieniowanie (to jeszcze nie pusci streama na publike, tylko na podgląd))
- Ekran z piórkiem
- sprawdzić czy ma włączone piórko i wyłączony dotyk (kliknąć guzik na nim aby otworzyć menu gdzie to się zmienia)
- po włączeniu piórka zmapować je do właściwego ekranu
- uruchomić
xrandr
by zobaczyć nazwę outputu ekranu dotykowego (np DP-1, HDMI-2, etc.) - uruchomić
xinput
i znaleźć wszystkie urządzenia pod "Virtual core pointer" które mają w nazwie nazwę tego wyświetlacza-tablicy
- uruchomić
- dla każdego z nich uruchomić
xinput map-to-output
This file contains 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
\documentclass[12pt]{article} | |
% for figures | |
\usepackage{caption} | |
\usepackage{float} | |
\usepackage{subcaption} | |
% empty line between paragraphs instead of indentation | |
\usepackage{parskip} |
This file contains 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 | |
CLIPBOARD_IN_CMD=['xclip', '-o', '-sel', 'CLIPBOARD'] | |
CLIPBOARD_OUT_CMD=['xclip', '-i', '-sel', 'CLIPBOARD'] | |
import subprocess | |
p = subprocess.run(CLIPBOARD_IN_CMD, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) | |
lines = [ |
This file contains 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
#!/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 |
This file contains 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
#!/bin/sh | |
# usage: | |
# ~$ deofhet kip | |
# de kip | |
# ~$ deofhet huis | |
# het huis | |
fetch_word() { | |
curl -s "https://www.welklidwoord.nl/$1" |
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)
This file contains 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 https://github.com/Ventto/mons | |
mode "project" { | |
bindsym o mode "default"; exec mons -o; exec killall i3-nagbar | |
bindsym s mode "default"; exec mons -s; exec killall i3-nagbar | |
bindsym d mode "default"; exec mons -d; exec killall i3-nagbar | |
bindsym e exec "killall i3-nagbar && i3-nagbar -t warning -m 'Select the direction with hjkl. Escape to abort.'"; mode "project-extend"; | |
bindsym Escape mode "default"; exec killall i3-nagbar | |
} |
This file contains 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/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 |
This file contains 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
#!/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 "$@" | |
} |
This file contains 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
// ==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; |
OlderNewer