# | I76 OST Title | Inspired By |
---|---|---|
1 | Interstate '76 Theme | |
2 | In the Junkyard | |
3 | Revenge Rocco Style | |
4 | Think About It | |
5 | Pimp Like Me | The Dramatics - Get Up and Get Down |
6 | The Cake | |
7 | Vigilante Shuffle | |
8 | The Cake |
These are all in the Settings app.
- Battery > Low Power Mode ON
If Low Power Mode didn't exist, this list would be much longer. It disables most iOS background features like email fetching, app refreshing, app updates, and iCloud photo syncing. It automatically turns off once your battery is charged to 80%, so you may have to turn it back on again. - Do Not Disturb > Do Not Disturb ON
Do Not Disturb will prevent the screen from turning on whenever a notification comes in. Double-check the settings here, or you may not get an urgent phone call.
This file contains 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 | |
# As of Pi-hole v5.0, this script is no longer needed. | |
pihole_whitelist_string="" | |
if [[ $# -eq 0 ]]; then | |
echo "Please use one or more domains as arguments for this script:" | |
echo "./"`basename "$0"`" example.com foo.org" | |
exit 1 |
This file contains 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
require 'socket' | |
require 'digest' | |
def encode_header(is_from_server, is_response, sequence) | |
header = sequence & 0x3fffffff | |
header += 0x80000000 if is_from_server | |
header += 0x40000000 if is_response | |
[header].pack('<I') | |
end |
This file contains 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/sh | |
# mcafeeInstall.sh | |
# Created by Rob Freiburger on 5/19/11 | |
### GET VARS | |
tmpfolder=/tmp/mcafeeInstall$(/usr/bin/date '+%Y%m%d%H%M%S') | |
/usr/bin/mkdir $tmpfolder | |
username=$SUDO_USER | |
if [ -z $username ]; then | |
username=$(/usr/bin/users) |
This file contains 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/local/bin/python | |
# Majority of code is taken from EA DICE's Server Administrator Docs | |
from struct import * | |
import md5 | |
import socket | |
import sys | |
import shlex | |
import string |
Daniel Miessler's directions are very good for setting up git to manage a website. However, they make the assumption that the user pushing the code is the same user that can publish websites. On shared hosting this is probably the case. On dedicated hosting it's probably not. If you're using OS X's built-in Apache server, it's definitely not. The user www has proper rights, and by default it isn't an ssh-able account. So you have to make some modifications to his directions.
- Create a group named git. This group contains all users that have permission to read and write to the git repo. In OS X, you can do this via Accounts in System Preferences.
- Add users to the group. In OS X, you can use dseditgroup to add non-visible users like www to the group.
This file contains 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
// What works | |
var original = new Date(); | |
var copy = new Date(original); | |
// What doesn't work | |
copy = original; // It should work, but it passes by reference so changes to copy also affect original | |
copy = jQuery.extend(true, {}, original); // Passes a useless object |
This file contains 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 | |
# "Kick Some Pubbies" script for BF3 server admins | |
# Script is a modified version of EA DICE's CommandConsole.py from BFBC2 | |
# Confirmed working on Battlefield 3 servers on launch day, 10/25/11 | |
# Go to the configurable variables section to modify to your needs. | |
# Made to retrieve whitelist from a URL, can be easily changed to local file. See getWhitelist() function. | |
from struct import * | |
import binascii |
This file contains 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/sh | |
# Credit to http://www.officeformachelp.com/office/install/remove-office/ | |
osascript -e 'tell application "Remote Desktop Connection" to quit' | |
osascript -e 'tell application "Microsoft Document Connection" to quit' | |
osascript -e 'tell application "Microsoft Messenger" to quit' | |
osascript -e 'tell application "Microsoft Communicator" to quit' | |
osascript -e 'tell application "Microsoft Outlook" to quit' | |
osascript -e 'tell application "Microsoft Excel" to quit' |
NewerOlder