Skip to content

Instantly share code, notes, and snippets.

@jfernandz
jfernandz / toggle-overlayfs
Created June 24, 2021 14:48
Script to toggle overlayfs for rootfs in Debian
#!/bin/sh
# Part of raspi-config https://github.com/RPi-Distro/raspi-config
#
# See LICENSE file for copyright and license details
INTERACTIVE=True
ASK_TO_REBOOT=0
get_overlay_now() {
@bathtime
bathtime / transmerge.sh
Last active June 22, 2024 02:26
A simple Linux shell script for translating an .srt file into another language and merging both languages into an .ass file
#!/bin/sh
#
# This program takes an .srt file, translates it, and merges both translations into a .ass file with the user's selected
# language on top of the screen and the other language at the bottom.
#
# Usage: ./transmerge.sh [source language] [target language] [language on top (en|fri|...)] [source .srt] [target .ass (optional)]
#
# ex., $ ./transmerge.sh en fr en movie.srt
#
@avinash-oza
avinash-oza / boot-from-ram-debian.md
Last active June 10, 2024 03:37
How to boot from RAM on debian