Skip to content

Instantly share code, notes, and snippets.

View JonasKrausch's full-sized avatar

Jonas-Noah Krausch JonasKrausch

View GitHub Profile
@rtrouton
rtrouton / gist:3ac68ac3770ab23ebae354c581f526b7
Last active October 14, 2024 07:59
MigrateADMobileAccountToLocalAccount.command script
#!/bin/bash
# Modified 4/5/2019
Version=1.4
# Original source is from MigrateUserHomeToDomainAcct.sh
# Written by Patrick Gallagher - https://twitter.com/patgmac
#
# Guidance and inspiration from Lisa Davies:
# http://lisacherie.com/?p=239
#
# Modified by Rich Trouton
@mhubig
mhubig / apt-config.conf
Last active February 5, 2025 11:55
Logstash config file for parsing apt history.log files (usually found at /var/log/apt/history.log).
input {
tcp {
type => "apt-history"
port => 3333
}
}
filter {
# First, glue all lines together into one event!