Skip to content

Instantly share code, notes, and snippets.

View pizofreude's full-sized avatar
πŸ‘

Hafeez Pizofreude pizofreude

πŸ‘
View GitHub Profile
@dewomser
dewomser / lq.sh
Last active June 3, 2024 16:59
LuftqualitΓ€t Stadt in Deutschland / Bash Einzeiler
readarray -td ";" lq <<< $(curl "https://www.umweltbundesamt.de/api/air_data/v2/airquality/csv?date_from=$(date +%F)&time_from=$(($(date +%H)-1))&date_to=$(date +%F)&time_to=$(date +%H)&station=1460&lang=de"| grep -m1 DERP023) ; echo ${lq[5]}
@lorenzo-stoakes
lorenzo-stoakes / watch.sh
Created February 11, 2023 10:33
inotify script for mm-book LaTeX build
#!/bin/bash
set -e; set -o pipefail
# Thanks to https://stackoverflow.com/a/246128
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )"
cd ${SCRIPT_DIR}
[[ -z $1 ]] || ${SCRIPT_DIR}/build.sh $1
# Now watch for file changes.
/*
/$$$$$$ /$$$$$$$$ /$$ /$$
/$$__ $$|__ $$__/| $$$ /$$$
| $$ \ $$ | $$ | $$$$ /$$$$
| $$$$$$$$ | $$ | $$ $$/$$ $$
| $$__ $$ | $$ | $$ $$$| $$
| $$ | $$ | $$ | $$\ $ | $$
| $$ | $$ | $$ | $$ \/ | $$
|__/ |__/ |__/ |__/ |__/
/*
/$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
/$$__ $$ /$$__ $$|_ $$_/ /$$__ $$
| $$ \ $$| $$ \__/ | $$ | $$ \__/
| $$$$$$$$| $$$$$$ | $$ | $$
| $$__ $$ \____ $$ | $$ | $$
| $$ | $$ /$$ \ $$ | $$ | $$ $$
| $$ | $$| $$$$$$/ /$$$$$$| $$$$$$/
|__/ |__/ \______/ |______/ \______/
/*
/$$$$$$$ /$$ /$$$$$$$ /$$ /$$ /$$
| $$__ $$ | $$ | $$__ $$|__/ | $$ |__/
| $$ \ $$ /$$ /$$| $$ /$$$$$$$ /$$$$$$ | $$ \ $$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$$$$$$
| $$$$$$$/| $$ | $$| $$ /$$_____/ /$$__ $$| $$$$$$$ | $$|_ $$_/ /$$_____/ /$$__ $$| $$| $$__ $$
| $$____/ | $$ | $$| $$| $$$$$$ | $$$$$$$$| $$__ $$| $$ | $$ | $$ | $$ \ $$| $$| $$ \ $$
| $$ | $$ | $$| $$ \____ $$| $$_____/| $$ \ $$| $$ | $$ /$$| $$ | $$ | $$| $$| $$ | $$
| $$ | $$$$$$/| $$ /$$$$$$$/| $$$$$$$| $$$$$$$/| $$ | $$$$/| $$$$$$$| $$$$$$/| $$| $$ | $$
|__/ \______/ |__/|_______/ \_______/|_______/ |__/ \___/ \_______/ \______/ |__/|__/ |__/
@pizofreude
pizofreude / index.htm
Last active October 2, 2022 06:12 — forked from vampireneo/index.htm
HTML for embed another page by iframe, without border
<html>
<head>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
</head>
<body style="margin:0px;padding:0px;overflow:hidden">
<!-- <iframe src="__URL_HERE__" frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px" height="100%" width="100%"></iframe> -->
<iframe class="gas-cards-iframe" src="https://www.blocknative.com/gas-iframe" style="width:100%;height:500px;display:block"></iframe>
</body>
</html>
@gpsarkar
gpsarkar / setup-git-repo-on-onedrive.txt
Last active June 13, 2024 01:52
Setup git repo on onedrive.
Go to onedrive folder in your pc and create a folder for git repository.
Usually onedrive resides in `C:\Users\%username%\OneDrive`
Open GitBash
cd ~/OneDrive
mkdir git
cd git
mkdir myproject
cd myproject
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 19, 2025 17:17 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@rxaviers
rxaviers / gist:7360908
Last active April 20, 2025 03:24
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: