Commit graph

35 commits

Author SHA1 Message Date
Simon Bruder 88b1d14273
cbz2ebook: Pad to screen size
This avoids issues with my Kobo Forma, which displays full-width pages
at an offset, if it is preceded by a page which is less wide.
2024-02-19 21:10:53 +01:00
Simon Bruder f59ab31d54
tabletcfg: Make huion-tablet more generic 2022-11-27 18:00:56 +01:00
Simon Bruder 61ef98c688
animetosho2mks: Use parallel processing 2022-09-03 12:29:28 +02:00
Simon Bruder b31f03679b
Switch to flake 2022-09-03 12:29:18 +02:00
Simon Bruder 9d479c44ca
cbz2ebook: Refer constants by their new names
The old ones are deprecated and will be removed in Pillow 10.
2022-07-15 23:36:48 +02:00
Simon Bruder 2b5735a380
cbz2ebook: Replace with python implementation
It has multiple advantages:

 * It processes the images in memory, without writing intermediary files
 * It supports multithreading (though zlib fails non-reproducibly with
 some files, so it falls back to single-threading)
 * It does not spawn an army of subprocesses
 * It shows a better progress bar
2021-07-11 11:45:16 +02:00
Simon Bruder 1cb0ab9cf9
Switch to cached-nix-shell 2021-07-11 11:12:28 +02:00
Simon Bruder 1d2bf8c88a
animetosho2mks: Force font/sfnt as mime type 2021-05-07 22:03:25 +02:00
Simon Bruder 3b5459b2b2
quizlet2anki: Refactor
It now uses CJK characters instead of repeated ASCI characters, since
they are not used in my cards.
2021-03-15 19:13:21 +01:00
Simon Bruder 712baf2b4f
ass2mks: Add default mime type 2021-02-27 12:14:33 +01:00
Simon Bruder 5497f01009
ass2mks: Fix not working with shorter addressses 2021-02-27 12:14:06 +01:00
Simon Bruder a5576c60f7
Refactor nix pre-commit hoooks 2021-02-27 12:13:28 +01:00
Simon Bruder 46a4a8245e
Add chiptune-mix 2020-10-04 12:05:19 +02:00
Simon Bruder e39b3dac30
Use pre-commit hook from pre-commit-hooks.nix 2020-10-02 17:20:30 +02:00
Simon Bruder f8cf89b532
latexpic: Use nix-shell 2020-10-02 17:18:41 +02:00
Simon Bruder 7791a46986
Add quizlet2anki 2020-09-14 20:58:57 +02:00
Simon Bruder f94b0ab07e
cbz2ebook: Remove dependency on my zshrc
This script could now easily be ported to bash (or even sh), but we are
using nix-shell anyway, so why not use zsh.
2020-09-02 13:05:41 +02:00
Simon Bruder 86283411ad
cbz2ebook: Use nix-shell 2020-09-02 13:01:56 +02:00
Simon Bruder 31319baa22
Make huion-tablet compatible with wayland 2020-08-29 10:46:18 +02:00
Simon Bruder ecd7808dd1
Make scripts suitable for running on NixOS
Older scripts (that now have no real purpose) or ones that require
packages that are not in nixpkgs are not updated. They should either be
removed or fixed at a later date.
2020-08-25 23:52:58 +02:00
Simon Bruder cf5df35d97
Add ass2mks 2020-08-05 19:32:47 +02:00
Simon Bruder 958b092ca4
Fix run script 2020-08-05 17:26:08 +02:00
Simon Bruder 4ee2d5534e
Add get_tracker_peers script 2020-07-31 18:57:22 +02:00
Simon Bruder f0f82d4b13
Add odrive-proxy script 2020-07-26 12:46:08 +02:00
Simon Bruder 0474a6455a
Fix run script 2020-07-04 22:35:38 +02:00
Simon Bruder b1cfaf5c96
latexpic: Add chemfig 2020-05-22 18:17:18 +02:00
Simon Bruder 83d907d8bb
Use pipenv and add wrapper script 2020-05-22 18:03:23 +02:00
Simon Bruder 9f4cdab346
latexpic.sh: Crop to content 2020-03-19 12:59:53 +00:00
Simon Bruder 83e88d682b
animetosho2mks: Work with older format
An older format has no language flag for subtitles.
2020-03-07 19:32:31 +00:00
Simon Bruder 87ff30582f
latexpic: use mutool instead of convert 2020-03-02 19:13:48 +00:00
Simon Bruder 9715c1b70f
animetosho2mks: Add 2020-03-01 17:26:18 +00:00
Simon Bruder 07bfb40425
Blacken python scripts 2020-02-25 23:40:57 +00:00
Simon Bruder 0984845eab
cbz2ebook: work with nested directories 2020-02-25 23:40:52 +00:00
Simon Bruder 687e9e0812
Use right resolution for vertical pages 2020-01-16 19:31:53 +00:00
Simon Bruder 9ebd8f4936
init 2020-01-16 18:26:13 +00:00