Skip to content

Instantly share code, notes, and snippets.

View sugamkarki's full-sized avatar
📐
}:

Sugam Karki sugamkarki

📐
}:
View GitHub Profile
@JacquesDuflos
JacquesDuflos / mangakatana_cbz_creater
Last active June 30, 2025 04:06
Makes cbz files for each chapter of a manga downloaded form mangakatana.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import zipfile
'''
this script is ment to turn .zip files downloaded from mangakatana.com to a serie
of .cbz files. The .zip files contain usually 10 chapters of a same manga stored as
a serie of folders.
'''
@Tras2
Tras2 / cloudflare-ddns-update.sh
Last active July 10, 2025 07:22
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record