View unicode-emoji-v14.0.txt
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
😀 grinning face | |
😃 grinning face with big eyes | |
😄 grinning face with smiling eyes | |
😁 beaming face with smiling eyes | |
😆 grinning squinting face | |
😅 grinning face with sweat | |
🤣 rolling on the floor laughing | |
😂 crying laughing | |
🙂 slightly smiling face | |
🙃 upside-down face |
View extract-emoji.fish
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 | |
# download this pages as html | |
# https://unicode.org/emoji/charts/full-emoji-list.html | |
paste -d " " (grep -oP "(?<=<td class='chars'>).*?(?=</td>)" Full\ Emoji\ List,\ v14.0.html | psub) (grep -oP "(?<=<td class='name'>).*?(?=</td>)" Full\ Emoji\ List,\ v14.0.html | psub) > ~/emojout |
View precise-age-in-years.fish
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
while true | |
printf "%.11g\r" (echo "("(date +%s%5N)"-"(date -d '2000-01-01 00:01' +%s%5N)")/100000/60/60/24/365.25" | bc -l) | |
end |
View mp3-sony-walkman-fix.fish
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
# fix album cover art not being recognized by various (sony walkman) mp3 players (~2011ish) | |
mkdir ./img | |
for i in (ls -1 *.mp3) | |
eyeD3 --write-images=img "$i" | |
eyeD3 --remove-all-images "$i" | |
# this is the magic. convert progressive to baseline jpgs | |
convert img/FRONT_COVER.jpg -interlace none img/cov.jpg | |
eyeD3 --add-image "img/cov.jpg:FRONT_COVER" "$i" | |
rm img/* |
View pulseaudio-mic-auto-adjust-fix.txt
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
# https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting | |
append | |
[Element Mic Boost] | |
volume = zero | |
[Element Int Mic Boost] | |
volume = zero |
View startpage-light-mode.css
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
@font-face { | |
font-family: "Fira Code"; | |
src:local("Fira Code Regular"), | |
url("font/firacode.woff2") format("woff2"), | |
url("font/firacode.woff") format("woff"); | |
} | |
* { | |
font-family: "Fira Code", monospace; | |
font-size: 20px; | |
background-color: #eee; |
View genbooklist.sh
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 | |
# usage: ./genbooklist WISHLIST_ID | |
# please make sure to set $FILE to the desired output file | |
set -eu -o pipefail | |
ID="$1" | |
FILE="" | |
# if you're not from germany, change the tld | |
URL="https://www.amazon.de/hz/wishlist/printview/""$ID" |
View rssmanage.sh
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 | |
set -eu -o pipefail | |
FEEDTITLE="" # feed title (as displayed in rss readers) | |
FEEDLINK="" # link to the .rss file, publicly accesible | |
RSSLINKTO="" # where the feed links to (ex: website) | |
FEEDIMAGEURL="" # use this as the feed image | |
FEEDDESCRIPTION="" # short feed description | |
RSSFILE="./feed.rss" | |
RSSDATE="$(date +%a,-%d-%b-%Y-%T-%z | sed -e 's/-/ /g')" |
View href-for-list.js
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
# print all href links in list, however deep. use devtools, rightclick > copy > selector | |
document.querySelectorAll(" SELECTOR ").forEach(y=>console.log(y.href)) |
View hugendubel-instock.sh
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 | |
# hugendubel ladenvorrat checker | |
# usage: ./instock.sh <ISBN13> | |
set -e -o pipefail | |
[[ -z "$1" ]] && echo -e "error: no isbn\n usage: ./instock.sh <ISBN13>" && exit 1 | |
# check if $1 matches ISBN13 format | |
[[ ! $(grep -P '978[0-9\-]{10}' <<< "$1") ]] && echo "error: that's not an ISBN" && exit 1 |
NewerOlder