Skip to content

Instantly share code, notes, and snippets.

View esters's full-sized avatar

Kristaps Esterliņš esters

View GitHub Profile
@esters
esters / Slackware64-15.0-Minimal-Setup.txt
Last active February 25, 2022 10:00
Slackware64 15.0 Setup
KVM Host - Debian 11
UEFI Boot
Partitions:
/dev/vda1 - 128M - EFI
/dev/vda2 - BTRFS
Packages:
@esters
esters / openwrt-user-installed-packages.sh
Created August 7, 2019 12:00
OpenWRT - List user installed packages
#!/bin/sh
for o in `opkg list-installed | awk '{ print $1}'`
do
opkg status $o | grep "user installed" -B 3 | awk '/Package:/{print $2}'
done
@esters
esters / Apple-Magic-Mouse-Windows-10-Drivers.txt
Last active July 17, 2023 07:56
Apple Magic Mouse (A1296) - Windows 10 x64 Drivers
1. Download Brigadier - https://github.com/timsutton/brigadier/releases
2. Extract and run Brigadier (via CMD) with the following flags - brigadier.exe -m Macmini8,1
3. Brigadier will download and extract the bootcamp drivers for Mac Mini (2018)
4. Navigate - BootCamp-091-87418\BootCamp\Drivers\Apple\AppleWirelessMouse
5. Right click on AppleWirelessMouse.inf - Install.
@esters
esters / virt-install.sh
Created September 13, 2017 15:18
Windows Server 2016 on KVM, Debian 9
# sha1sum - Image
## f185197af68fae4f0e06510a4579fc511ba27616 en_windows_server_2016_x64_dvd_9718492.iso
# EFI is mandatory, Install OVMF (apt-get install ovmf)
# Setup the image with the following script:
home=/srv/kvm
name="Windows-Server-2016"
memmax=6144 # in Mb
cpu=2
disk_path=$home/vm/$name/$name.img
disk_size=51.2 # In Gigabytes