This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global | |
| maxconn 2048 | |
| defaults | |
| mode http | |
| timeout connect 5000ms | |
| timeout client 90000ms | |
| timeout server 90000ms | |
| frontend secure-http-in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # For mojave only | |
| # In order for this to work, you will need to go to System Preferences in Mojave -> Security & Privacy -> Privacy -> Full Disk Access and grant Terminal.app permissions | |
| import sqlite3 | |
| conn = sqlite3.connect('/var/db/SystemPolicyConfiguration/KextPolicy') | |
| c = conn.cursor() | |
| query = 'SELECT * FROM kext_policy' | |
| c.execute(query) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| <<ABOUT_THIS_SCRIPT | |
| ----------------------------------------------------------------------- | |
| Written by:William Smith | |
| Professional Services Engineer | |
| Jamf | |
| bill@talkingmoose.net | |
| https://gist.github.com/talkingmoose/9faf50deaaefafa9a147e48ba39bb4b0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import os | |
| import sys | |
| from CoreFoundation import (CFPreferencesAppValueIsForced, | |
| CFPreferencesCopyAppValue, | |
| CFPreferencesCopyValue, | |
| kCFPreferencesAnyUser, | |
| kCFPreferencesAnyHost, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Extracted from http://chris-fletcher.com/2009/05/17/backup-and-burn-wii-games-on-a-mac/ | |
| 1. Insert the Wii Game disc into your DVD drive. | |
| 2. Click Ignore | |
| 3. Open Terminal ( Applications -> Utilities -> Terminal | |
| 4. Type drutil status ( Get the Name i.e. /dev/disk1 ) | |
| 5. Type dd if=/path_to_dvd of=/game_name.iso and wait 15 min | |
| 6. Type drutil eject to eject your game. | |
| To copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| VERSION=4.0.1 | |
| SCRIPT=`basename "$0"` | |
| APPNAME="My App" | |
| APPICONS="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns" | |
| OSX_VERSION=`sw_vers -productVersion` | |
| PWD=`pwd` | |
| function usage { |
NewerOlder