This file contains hidden or 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/zsh | |
# | |
# Script to update binance app + aur package | |
# | |
# GistID:58d0769588db7a673c5a66843c3cc6db | |
echo "Loading Binance binary" | |
curl -sO https://ftp.binance.com/electron-desktop/linux/production/binance-amd64-linux-deb.deb |
This file contains hidden or 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/sh | |
# affiche le dernier R0 connu du la COVID19 | |
python -c "import csv,codecs,json,urllib.request;print(json.dumps(list(csv.reader(codecs.iterdecode(urllib.request.urlopen('https://www.data.gouv.fr/fr/datasets/r/381a9472-ce83-407d-9a64-1b8c23af83df'), 'utf-8')))))" | jq '.[] | .[2]' | grep -v "NA" | tail -1 | tr -d '"' |
This file contains hidden or 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/sh | |
# install and update adblock as https://github.com/Docbroke did it here https://github.com/fanglingsu/vimb/issues/430#issuecomment-367570464 | |
# Gist: 5e4649253bd023e5af4cdb5fefa541d2 | |
if [ ! -L /usr/lib/vimb/adblock.so ]; then | |
notify-send --urgency=normal "installing adblock plugin" | |
sudo ln -s /lib/wyebrowser/adblock.so /lib/vimb | |
fi |
This file contains hidden or 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/sh | |
# Desccription: autofill password field on vimb with the password from pasword-store | |
# Dependencies: password-store, vimb | |
# Installation: | |
# 1. copy this file in you local bin : ~/.local/bin | |
# 2. add this line in your vimb conf : nmap ,,; ::sh! ~/.local/bin/passgenvimb<CR> | |
# Last rev: 18-10-2020 | |
# License: WTFPL | |
# GistID: 52f7443b52fce7270066095101c93099 |
This file contains hidden or 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
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# Gist: 9f9569d9fc118c88ad3a758fc2b26502 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://gist.github.com/1595572). |
This file contains hidden or 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
<?xml version="1.0" ?> | |
<!DOCTYPE service-group SYSTEM 'avahi-service.dtd'> | |
<service-group> | |
<name replace-wildcards="yes">AirPrint HL-2030 @ %h</name> | |
<service> | |
<type>_ipp._tcp</type> | |
<subtype>_universal._sub._ipp._tcp</subtype> | |
<port>631</port> | |
<txt-record>txtvers=1</txt-record> | |
<txt-record>qtotal=1</txt-record> |
This file contains hidden or 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/sh | |
#set -e | |
#set -u | |
#set -o pipefail | |
export LC_ALL=C | |
POPUP_DEFAULT_WIDTH=800 | |
POPUP_DEFAULT_HEIGHT=600 | |
# TODO refacto |