Cheat Sheet for German keyboards
US
<DE
Z
<Y
# you can also use bash tricks like | |
# `wget https://blabla/manifest_blabla_296221{1..9}` | |
# and use cool editors like visual studio code to edit multiple lines | |
# at the same time to avoid wasting time | |
wget https://orf2.mdn.ors.at/out/u/orf2/qxb/manifest_video_1_5_init.mp4 | |
wget https://orf2.mdn.ors.at/out/u/orf2/qxb/manifest_video_1_5_2962209.mp4 | |
wget https://orf2.mdn.ors.at/out/u/orf2/qxb/manifest_video_1_5_2962210.mp4 | |
wget https://orf2.mdn.ors.at/out/u/orf2/qxb/manifest_video_1_5_2962211.mp4 | |
wget https://orf2.mdn.ors.at/out/u/orf2/qxb/manifest_video_1_5_2962212.mp4 |
.layout-mobile .volumecontrol .nowPlayingVolumeSliderContainer { | |
visibility: hidden; | |
opacity: 0; | |
transform: scale(0.9); | |
transition: opacity 0.3s ease; | |
transition-property: opacity, transform; | |
position: fixed; | |
top: 50vh; | |
left: 0; | |
width: 60%; |
#!/bin/bash | |
PROFILES=$HOME/.mozilla/firefox | |
TEMPLATE_DIR=$PROFILES/webapp.template | |
usage() { | |
cat << EOF | |
make-web-app | |
-n name (e.g. twitter, used as profile name and wm class webapp.twitter) | |
-t title (e.g. Twitter) |
document.querySelectorAll('div[aria-label="More"]').forEach(more => more.addEventListener('click', () => { | |
setTimeout(() => document.querySelectorAll('div[role="menuitem"][tabindex="0"]')[0].click(), 250) | |
setTimeout(() => document.querySelector('[data-testid="confirmationSheetConfirm"]').click(), 500) | |
})) |
<!-- | |
TOUCHÉGG CONFIG BY @SK22 | |
* 3 finger swipe gestures are managed by GNOME 40 | |
* 4 finger swipe up/down maximizes/restores the window (using Super+Up/Down) | |
* 4 finger swipe left/right navigates backward/forward (using Alt+Left/Right) | |
* 3 finger pinch inwards closes the window (using the Touchégg action) |
@echo off | |
rem make sure to install python3 and "pip install img2pdf" before using this script | |
echo creating pdf from files: | |
echo. | |
echo %* | |
img2pdf -o %1.pdf %* | |
echo. | |
echo saved as %1.pdf | |
echo. |
save this as a bookmark:
make sure the
javascript:
part stays in place - your browser might remove it for security reasons when pasting!
javascript:(({excludeQueries:a,defaultAltTexts:b,disableBlur:c})=>{window.visualizeAltTextInterval?(clearInterval(window.visualizeAltTextInterval),delete window.visualizeAltTextInterval,document.getElementsByTagName("img").forEach(a=>{a.title="",a.parentNode.style.filter=null})):window.visualizeAltTextInterval=window.setInterval(()=>{const d=a.map(a=>":not("+a+")").join(""),e=([a,d])=>{a.title=d,a.style.zIndex="1",d&&!b.includes(d)||c||(a.parentNode.style.filter="blur(15px)")};Array.from(document.querySelectorAll("img"+d)).map(a=>[a,a.alt]).forEach(e),Array.from(document.querySelectorAll("video"+d)).map(a=>[a,a.getAttribute("aria-label")]).forEach(e)},100)})({excludeQueries:["#partner_id_sync_pixel"],defaultAltTexts:["Image","Bild"],disableBlur:false})
^^^
or copy this code into your browser's address bar:
'hello', 'aaaaa', 'eeeee' | |
| % { $_ -replace 'e', 'a' } | |
| % { $_ -replace 'hallo', 'oida' } | |
| ? { $_ -like '*a*' } | |
# equivalent to | |
@('hello', 'aaaaa', 'eeeee') | |
| ForEach-Object { $PSItem -replace 'e', 'a' } | |
| ForEach-Object { $PSItem -replace 'hallo', 'oida' } |