Spritz sans oeufs
Les ingredients
115 gramme(s) de farine 30 gramme(s) de maïzena 30 gramme(s) de sucre glace 150 gramme(s) de chocolat
| #!/bin/sh | |
| # Display qrcode in floating window in i3wm | |
| # GistID: 3d87379105af6b5b4f5eb1463fee6228 | |
| qrcode() { | |
| qrencode -o - | feh --class "_popup-notitle" -x - | |
| } | |
| if [ -t 1 ] | |
| then |
| <?xml version="1.0" encoding="utf-8"?> | |
| <opml version="2.0"> | |
| <head> | |
| <title>gPodder subscriptions</title> | |
| <dateCreated>Tue, 30 Aug 2022 14:37:58 +0200</dateCreated> | |
| </head> | |
| <body> | |
| <outline title="La Grande table" text="A l'heure du déjeuner, les convives - artistes, personnalités du monde de la culture et des idées - prennent place à table. Rendez-vous sur l'application Radio France pour découvrir tous les autres épisodes." xmlUrl="http://radiofrance-podcast.net/podcast09/rss_12360.xml" type="rss"/> | |
| <outline title="Les pieds sur terre" text="Tous les jours, une demi-heure de reportage sans commentaire. Du lundi au vendredi, de 13h30 à 14h Rendez-vous sur l'application Radio France pour découvrir tous les autres épisodes." xmlUrl="http://radiofrance-podcast.net/podcast09/rss_10078.xml" type="rss"/> | |
| <outline title="La fabrique de l'histoire" text="Mieux comprendre quotidiennement le lien étrange qui nous unit au passé. |
| #Calendrier des jours fériés | |
| # GistID: e62ff64d9346dfadf3881cb86d9a971b | |
| JF Jours fériés | |
| 00000101 Nouvel an | |
| 00000501 Fête du travail | |
| 00000508 Armistice 1945 | |
| 00000714 Fête nationale française | |
| 00001111 Armistice 1918 | |
| Easter Pâques |
| #!/bin/zsh | |
| # switch a2dp ot hfh codec for bluetooth headset to have quality sound or mic | |
| # GistID: 418ff6f6ff9f3c0ea5adc22fcf43d65b | |
| HEADSET=$1 | |
| HIGH_QUALITY=$(pacmd list-cards | grep -B5 -A20 -c -e 'active profile: <a2dp_sink>' -e 'device.description = "'$HEADSET'"') | |
| echo "test: $HIGH_QUALITY" | |
| QUALITY=a2dp_sink |
| #!/bin/zsh | |
| # utility to get level battery for i3pystatus | |
| # need the device name as argument | |
| # GistID: abb0acf1bfd890713aadeef7e46fe834 | |
| MAC=$(bluetoothctl devices | grep "$1" | cut -d" " -f2) | |
| LEVEL=$(bluetoothctl info $MAC | grep -q Connected && based-connect $MAC -b) | |
| if [ $LEVEL ] | |
| then |
| #!/bin/zsh | |
| # | |
| # i3 new workspace based on folder or git name selected by fzf menu | |
| # | |
| # GistID: 6509cdf90fe43fa4017bef50ad63f909 | |
| cd $1 | |
| sleep 0.1 | |
| FILE_TO_OPEN=$(fd | fzf --reverse --height=20% --no-info --color=dark,pointer:#859900,prompt:#859900,fg:#002b36,bg:#eee8d5,bg+:#859900,fg+:#002b36,marker:#eee8d5,pointer:#eee8d5,query:#002b36,hl:#859900,hl+:#eee8d5) | |
| PATH_TO_FILE=$(realpath $FILE_TO_OPEN) |
| <?xml version="1.0" encoding="utf-8"?> | |
| <opml version="2.0"> | |
| <head> | |
| <title>gPodder subscriptions</title> | |
| <dateCreated>Sat, 03 Dec 2022 10:37:23 +0100</dateCreated> | |
| </head> | |
| <body> | |
| <outline title="Les Cours du Collège de France" text="Les grandes voix du savoir pour tous. Rendez-vous sur l'application Radio France pour découvrir tous les autres épisodes." xmlUrl="http://radiofrance-podcast.net/podcast09/rss_11921.xml" type="rss"/> | |
| <outline title="Le Cours de l'histoire" text="Mieux comprendre quotidiennement le lien étrange qui nous unit au passé. | |
| Du lundi au vendredi de 9h à 10h. Rendez-vous sur l'application Radio France pour découvrir tous les autres épisodes." xmlUrl="http://radiofrance-podcast.net/podcast09/rss_10076.xml" type="rss"/> |
| # install and configure oh-my-zsh | |
| # GistID: a575ab9f07e5e448ba9584061b3694ca | |
| # configure | |
| echo " | |
| #--move this block in begining-- | |
| ZSH_THEME=\"agnoster\" | |
| # custom prompt | |
| [ ! -f \"\$ZSH/custom/themes/agnoster.zsh-theme\" ] && curl -L -o \"\$ZSH/custom/themes/agnoster.zsh-theme\" https://gist.github.com/tyjak/9f9569d9fc118c88ad3a758fc2b26502/raw/agnoster.zsh-theme |