Based on https://toggen.com.au/it-tips/glabels-build-script-for-ubuntu-18/
but with added patch to add collate flag to glabels-batch that is otherwise missing in the last glabels version:
#!/bin/sh
# add sources before
""" | |
This Python script processes an XML file that contains multiple songs with lyrics and chords, | |
extracting song information and converting each song into separate `.txt` files. The output files | |
are named based on the `author` and `title` fields found in the XML and placed in a `txt` | |
subfolder. | |
Key Features: | |
- Extracts the `author`, `title`, `step`, and `songtext` fields from each song in the XML. | |
- Writes the following content to each text file: | |
- First line: "author - title" |
@echo off | |
setlocal enabledelayedexpansion | |
:: Script to unfuck BSOD loop on Windows stations affected by Crowdstrike Falcon sensor screwed up update on 2024-07-19 | |
:: by renaming C-00000291*.sys files in C:\Windows\System32\drivers\CrowdStrike | |
:: Reddit megathread: https://www.reddit.com/r/crowdstrike/comments/1e6vmkf/bsod_error_in_latest_crowdstrike_update/ | |
:: Quick and dirty solution by Martin Brozkeff Malec (brozkeff.net) with the help of ChatGPT | |
:: Blog article: | |
:: https://www.brozkeff.net/2024/07/19/black-friday-2024-07-19-crowdstrike-falcon-edr-bsod-fuckup-workaround-batch-script-in-windows-safe-mode/ |
#!/bin/bash | |
SCRIPT_NAME="PDF splitter of scanned documents" | |
VERSION_NUMBER="v2024-02-02" | |
AUTHOR="Martin Brozkeff Malec - https://brozkeff.net" | |
LICENSE="MIT (https://opensource.org/license/mit/)" | |
# Shared on https://gist.github.com/brozkeff/b061b69800d3a08b088dfb89ca044fb5 | |
echo "${SCRIPT_NAME} ${VERSION_NUMBER}" | |
echo "Author: ${AUTHOR}" |
#!/bin/bash | |
SCRIPT_NAME="OCR and jbig2 compress document using Tesseract" | |
VERSION_NUMBER="v2024-02-02" | |
AUTHOR="Martin Brozkeff Malec - https://brozkeff.net" | |
LICENSE="MIT (https://opensource.org/license/mit/)" | |
# Shared on https://gist.github.com/brozkeff/76a8c537b15458a58355949c4c70da08 | |
echo "${SCRIPT_NAME} ${VERSION_NUMBER}" | |
echo "Author: ${AUTHOR}" | |
echo "License: ${LICENSE}" |
From da94d696fac2c4e2eedc6c82e71bd867b5bce177 Mon Sep 17 00:00:00 2001 | |
From: brozkeff <[email protected]> | |
Date: Fri, 25 Nov 2022 21:03:49 +0100 | |
Subject: [PATCH] Squashed history | |
--- | |
CMakeLists.txt | 75 ++ | |
library.c | 1874 ++++++++++++++++++++++++++++++++++++++++++++++++ | |
render.c | 859 ++++++++++++++++++++++ | |
zint.h | 454 ++++++++++++ |
Based on https://toggen.com.au/it-tips/glabels-build-script-for-ubuntu-18/
but with added patch to add collate flag to glabels-batch that is otherwise missing in the last glabels version:
#!/bin/sh
# add sources before
#!/bin/bash | |
declare -A arrayVolumes | |
# HOWTO: Enter new row with names of the volumes how you want your files to be named and their uuids | |
# You can find UUIDs via lsblk -o NAME,UUID. Use UUID of the /dev/sdx1 encrypted volume not the already mounted luks-xxx mapper | |
arrayVolumes[somevolume]="0e7d8c5e-fe46-4c24-bdfe-041e28e2055b" | |
arrayVolumes[anothervolume]="5e819f85-f283-41af-a774-6debaa4fa740" | |
listOfVolumes=$( echo "${!arrayVolumes[@]}" ) |
EDIT Brozkeff 2021-04-24: add Amazon AWS domain for Method 1 since Netflix started using it as well
Original gist before forking: https://gist.github.com/jamesmacwhite/6a642cb6bad00c5cefa91ec3d742e2a6
This gist was essentially created out of my own rant about Netflix being hostile to IPv6 tunnel services since June 2016. You are welcome to read my opinion on the matter, this is the more technical side to the issue and how to combat it within your own network.
Since I wrote this, various GitHub users have contributed their thoughts and ideas which has been incorporated into this gist. Thank you to everyone who have contributed their own methods and implementations.
# This script was created to convert a directory full | |
# of dokuwiki files into html. It uses dokuwiki2mediawiki.php for intermediate step converting to mediawiki, and | |
# pandoc to do the conversion from mediawiki to html. | |
# | |
# 1. Install pandoc from http://johnmacfarlane.net/pandoc/ | |
# 2. Copy this script into the directory containing the .txt files | |
# 3. Copy script (https://github.com/tstaerk/mediasyntax/blob/master/tools/dokuwiki2mediawiki.php) to the same directory, make sure you have PHP installed and capable running scripts | |
# 3. Ensure that the script has execute permissions | |
# 4. Run the script | |
# |
#!/bin/bash | |
# | |
# imposepdf-repeat.sh | |
# | |
# Author: Martin Malec <[email protected]> | |
# Date : May 17, 2017 | |
# | |
# Description: imposepdf-repeat.sh repeats one-page PDF multiple times | |
# on a single page. Requires bookletimposer installed. | |
# |