Scenario:
Time to see what is missing
dpkg-deb -I discord-x.y.z.deb
:
setw -g mode-keys vi | |
set -g activity-action other | |
set -g assume-paste-time 1 | |
set -g base-index 0 | |
set -g bell-action any | |
set -g default-command '' | |
set -g default-shell /usr/bin/fish | |
set -g default-size 80x24 | |
set -g destroy-unattached off | |
set -g detach-on-destroy on |
Scenario:
Time to see what is missing
dpkg-deb -I discord-x.y.z.deb
:
> echo $XDG_SESSION_TYPE
wayland
> ...
// Download images | |
// from webpage | |
// - works with infinite scrolls, etc. | |
// - choose between `fetch` and `canvas` | |
// - to disable CORS: | |
// - Firefox: `CORS Unblock` https://addons.mozilla.org/en-US/firefox/addon/cors-unblock/ | |
let images = "img"; | |
// Ex. Filter images that have `x-large` in them: | |
// images = "img[src*=xlarge]"; |
document.addEventListener("keydown", (e) => { | |
const code = Number.parseInt(e.keyCode, 10); | |
// console.log(`keyCode: ${code}`); | |
if (code === 192) { | |
e.preventDefault(); | |
e.stopPropagation(); | |
// console.log(`stopped ~`); | |
return false; | |
} | |
}); |
# todo: sed this where `alias keepy=` or append to end of ~/.bashrc | |
cp keepy.sh ~/ | |
chmod +x ~/.keepy.sh | |
# append to end of ~/.bashrc: | |
alias keepy="~/.keepy.sh ${@}" |
Ctrl+H
, Alt+R
, replace following pattern with a single space:
(?<!\s)([^\S\r\n]{2,})
powershell -command "&{$p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=3;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer}" |
XCOPY D:\Software\SVP\mpv64\mpv-1.dll D:\Software\Plex\mpv-2.dll /Y |