Skip to content

Instantly share code, notes, and snippets.

@unixabg
unixabg / LICENCE.txt
Created April 15, 2025 16:22 — forked from superboum/LICENCE.txt
Install Debian with Debootstrap + Grub EFI
MIT LICENSE
Copyright 2018 Quentin Dufour
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR TH
@unixabg
unixabg / clip-ripper
Last active February 18, 2025 01:01
Script to generate clip rips from a video
#!/bin/bash
# clip-ripper v1.0.0
# Author: Richard Nelson [email protected]
# Description: A script to slice videos into smaller clips using FFmpeg.
# Usage: Run with required parameters to extract video segments.
VERSION="1.0.0"
# Function to display help message
@unixabg
unixabg / chroot-tools
Last active February 18, 2025 01:02
Script to aid in chroot operations
#!/bin/bash
# chroot-tools v1.0
# Author: Richard Nelson [email protected]
# This script sets up a chroot environment for testing on a Debian system.
# Run with sudo privileges.
VERSION="1.0"
# Default chroot directory, action, and packages
CHROOT_DIR=""
@unixabg
unixabg / veyron-install.sh
Created November 23, 2023 13:39
Veyron Installer Script
#!/bin/bash
set -x
_VER='1.0.1-beta'
echo "Script version veyron-install: $_VER"
export TGTDEV=mmcblk0
sgdisk -Z /dev/$TGTDEV
sync
partprobe /dev/$TGTDEV
partprobe /dev/$TGTDEV
sgdisk -C -e -G /dev/$TGTDEV
@unixabg
unixabg / Digital Signage
Last active June 8, 2024 14:01
Upcycle example kiosk Debian 12 XFCE
1. connect to network
2. open terminal
3. change password
1. $: passwd
4. update packages
1. $: sudo apt update
5. install chromium
1. $: sudo apt install chromium unclutter
6. Reboot
7. set chromium to launch at start up with custom url and flags
@unixabg
unixabg / gist:4ca86477b6ad0504d8b9486f1a160057
Created July 22, 2022 23:43
Samsung Chromebook 4 alsa helper script for the glkda7219max
#!/bin/bash
echo Adding microphone to Pulseaudio
grep -qxF 'load-module module-alsa-source device=hw:0,99' /etc/pulse/default.pa || echo 'load-module module-alsa-source device=hw:0,99' >> /etc/pulse/default.pa
echo Adding headphone to Pulseaudio
grep -qxF 'load-module module-alsa-sink device=hw:0,1' /etc/pulse/default.pa || echo 'load-module module-alsa-sink device=hw:0,1' >> /etc/pulse/default.pa
echo Adding headset microphone to Pulseaudio