Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander von Below below

  • Deutsche Telekom AG
  • Köln, Germany
  • @avbelow
View GitHub Profile
@shinvou
shinvou / build_xnu.sh
Created Dec 4, 2017
Build the macOS High Sierra (10.13.x) xnu kernel.
View build_xnu.sh
#!/bin/bash
#
# This is more or less just a bash script for this tutorial: https://0xcc.re/building-xnu-kernel-macosx-sierrra-10-12-x/
# So, huge thanks to Mikal Villa! I updated the tarballs for macOS 10.13 and added line 29.
#
curl -O https://opensource.apple.com/tarballs/dtrace/dtrace-262.tar.gz && \
curl -O https://opensource.apple.com/tarballs/AvailabilityVersions/AvailabilityVersions-32.tar.gz && \
curl -O https://opensource.apple.com/tarballs/libdispatch/libdispatch-913.1.6.tar.gz && \
curl -O https://opensource.apple.com/tarballs/libplatform/libplatform-161.tar.gz
@karlvr
karlvr / 00README.md
Last active Sep 10, 2020
Roadwarrior configuration for macOS 10.12, iOS 10 and Windows 10 using strongSwan and user certificates
View 00README.md

strongSwan setup for Road Warriors on macOS 10.12, iOS 10 and Windows 10

This setup is for remote users to connect into an office/home LAN using a VPN (ipsec). This is based on (but not the same as) the strongSwan documentation and this guide: https://raymii.org/s/tutorials/IPSEC_vpn_with_Ubuntu_16.04.html

I used strongSwan 5.5.1.

apt-get install -y strongswan strongswan-pki
@rodionovd
rodionovd / mach_exceptions.cpp
Last active Oct 2, 2020
Mach exception handling examples by Apple
View mach_exceptions.cpp
/*
File: ExceptionTest.c
Contains: Test code for Mach exception handling.
Written by: DTS
Copyright: Copyright (c) 2006 by Apple Computer, Inc., All Rights Reserved.
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc.
You can’t perform that action at this time.