Skip to content

Instantly share code, notes, and snippets.

View cHolzberger's full-sized avatar
😈

Christian cHolzberger

😈
View GitHub Profile

Keybase proof

I hereby claim:

  • I am cholzberger on github.
  • I am cholzberger (https://keybase.io/cholzberger) on keybase.
  • I have a public key whose fingerprint is 0855 E4B3 AA48 1BC0 4868 1FF4 5DCD EF13 1031 3F85

To claim this, I am signing this object:

@cHolzberger
cHolzberger / ipxe initial
Created May 3, 2018 23:21
Inital ipxe script
#!ipxe
dhcp
chain proxy/bios/pxelinux.cfg/default.ipxe
@cHolzberger
cHolzberger / certbot-alldomains.sh
Created October 27, 2016 20:01
A Skript to generate a certificate for each top domain in your plesk
STDHOST="xxx"
STDROOT="/xxx"
CARGS=(-w $STDROOT -d $STDHOST)
blacklist=(host1 host2)
SITESCMD="(xxx"
for blackl in ${blacklist[@]}; do
SITESCMD="$SITESCMD|$blackl"
@cHolzberger
cHolzberger / fix-vm-windows.bat
Last active July 7, 2016 13:08
Windows VM Optimizations
bcdedit /set BOOTUX disabled
vssadmin delete shadows /All /Quiet
Powershell disable-computerrestore -drive c:\
netsh advfirewall set allprofiles state off
powercfg -H OFF
net stop "sysmain"
fsutil behavior set DisableLastAccess 1
schtasks /change /TN "\Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
schtasks /change /TN "\Microsoft\Windows\SystemRestore\SR" /Disable
@cHolzberger
cHolzberger / macos-tune-vm.sh
Last active August 29, 2015 14:25
MacOS X - VM Optimizations
echo "Fix LoginBackground"
mv /System/Library/CoreServices/DefaultDesktop.jpg /System/Library/CoreServices/DefaultDesktop.jpg.orig
echo "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEWAdnEYKLmAAAAACklEQVR4nGNiAAAABgADNjd8qAAAAABJRU5ErkJggg" | base64 -D -o /System/Library/CoreServices/DefaultDesktop.jpg
chflangs uchg /System/Library/CoreServices/DefaultDesktop.jpg
echo "Disable Animations"
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO
echo "Disable Mail Animations"
defaults write com.apple.Mail DisableReplyAnimations -bool YES
@cHolzberger
cHolzberger / create-install-cd.sh
Last active September 1, 2016 02:31 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/bash
set -e
FOLDER=Install\ OS\ X\ Yosemite.app
echo "Cleaning Up leftovers"
test -e /tmp/MacOS.cdr && echo deleting MacOS.cdr ... && rm /tmp/MacOS.cdr
test -e /tmp/MacOS.cdr.dmg && echo deleting MacOS.cdr.dmg && rm /tmp/MacOS.cdr.dmg
test -d /Volumes/install_app && hdiutil eject /Volumes/install_app
echo Mount the installer image
diff --git a/sys/amd64/acpica/madt.c b/sys/amd64/acpica/madt.c
index 90ffd64..dcb7c30 100644
--- a/sys/amd64/acpica/madt.c
+++ b/sys/amd64/acpica/madt.c
@@ -306,7 +306,9 @@ interrupt_polarity(UINT16 IntiFlags, UINT8 Source)
case ACPI_MADT_POLARITY_ACTIVE_LOW:
return (INTR_POLARITY_LOW);
default:
- panic("Bogus Interrupt Polarity");
+ printf("Bogus Interrupt Polarity %x, set to low\n",