Skip to content

Instantly share code, notes, and snippets.

353809: RUPAY, DEBIT, PLATINUM, STATE BANK OF INDIA, IN
354039: JCB, CREDIT, STANDARD, N/A, JP
354043: JCB, CREDIT, STANDARD, N/A, JP
354232: JCB, CREDIT, STANDARD, N/A, JP
356162: RUPAY, CREDIT, N/A, BANK OF BARODA, IN
356299: JCB, CREDIT, STANDARD, GAZPROMBANK (JOINT STOCK COMPANY), RU
364878: DINERS CLUB INTERNATIONAL, CREDIT, PERSONAL, N/A, AT
370055: AMERICAN EXPRESS, CREDIT, CORPORATE PURCHASING, AMEX GCS UK GBP, GB
370197: AMERICAN EXPRESS, CREDIT, N/A, AMERICAN EXPRESS COMPANY, GB
370251: AMERICAN EXPRESS, CREDIT, N/A, N/A, US
@wa1kb0y
wa1kb0y / repackage_epubs.sh
Created February 25, 2026 22:01
EPUB format fix for books exported from Apple Books
#!/usr/bin/env bash
# This script is used to export epub books from iBooks / Mac Books and fix format to correct EPUB
# What you find in the $ibooks_dir on iCloud are epubs that are zipped directories
# This script will make them normal .epub files that you can use in other e-readers
# I would advise to download your epubs from the iCloud to a folder on your desktop, there might also be pdf's in there
# How to run:
@wa1kb0y
wa1kb0y / dropbox_cleanup.sh
Created September 5, 2021 20:38
Deleting files older from Dropbox than date with using ./dropbox_uploader.sh
#!/bin/bash
#
# Deleting files from dropbox with names like YYYY-MM-DD_blabla
#
if [ "$*" == "" ]; then
echo "No arguments provided. Example usage: ./dropbox_cleanup.sh mydir '2 months' --dry-run"
exit 1
fi