Skip to content

Instantly share code, notes, and snippets.

View aunetx's full-sized avatar

Aurélien Hamy aunetx

View GitHub Profile
@aunetx
aunetx / download_manga_wakascan.sh
Last active May 26, 2021 13:05
A little script to download manga from wakascan.com and convert them to pdf
#!/bin/bash
set -e
PDF_DIR="$HOME/Documents/books/berserk"
[ $# == 1 ] || (echo "expected one argument, the URL of the manga's volume.
example: 'https://wakascan.com/manga/berserk/vol-05/'" && exit 1)
DIR=$(dirname "$0")
@aunetx
aunetx / open-mt.py
Created May 13, 2021 22:09
A nautilus extension to open Mt in the current directory, instead of gnome-terminal.
# placed in /usr/share/nautilus-python/extensions/open-mt.py
# french version
# translate and enjoy
import subprocess
try:
from urllib import unquote
except ImportError:
from urllib.parse import unquote
import gi
@aunetx
aunetx / open-kitty.py
Last active May 29, 2022 17:18
A nautilus extension to open kitty in the current directory, instead of gnome-terminal.
# placed in ~/.local/share/nautilus-python/extensions/open-kitty.py
# you will need the package nautilus-python on fedora, or python-nautilus on ubuntu...
# french version
# translate and enjoy
import os
try:
from urllib import unquote
except ImportError:
from urllib.parse import unquote

Keybase proof

I hereby claim:

  • I am aunetx on github.

  • I am aunetx (https://keybase.io/aunetx) on keybase.

  • I have a public key ASCyb4n9NDQOpkzicYgLVuLER8rAXalAtpoicqSi6r5HTQo