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 July 17, 2024 11:25 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@rxaviers
rxaviers / gist:7360908
Last active July 17, 2024 08:59
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: