Skip to content

Instantly share code, notes, and snippets.

Zack McCauley WardsParadox

View GitHub Profile
@WardsParadox
WardsParadox / aj.log
Created Sep 3, 2019
AppleJuice Crash catalina
View aj.log
default 16:10:50.274399-0600 lsd Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "The file “PlugIns” couldn’t be opened because there is no such file." UserInfo={NSURL=PlugIns/ -- file:///Volumes/Apple%20Juice/Apple%20Juice.app/Contents/Library/LoginItems/LaunchAtLoginHelper.app/Contents/, NSFilePath=/Volumes/Apple Juice/Apple Juice.app/Contents/Library/LoginItems/LaunchAtLoginHelper.app/Contents/PlugIns, NSUnderlyingError=0x7f9005653f00 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
default 16:10:50.311729-0600 lsd SecTranslocateCreateSecureDirectoryForURL: created /private/var/folders/td/79t1d1ps2lbb41jwt_4g7bvh0000gn/T/AppTranslocation/20F6CC80-2AB2-45E5-805D-77D8A1099D1C/d/Apple Juice.app
default 16:10:50.458385-0600 Finder LAUNCHING:0x0-0x136136 Apple Juice foreground=0 bringForward=0 seed=814 userActivityCount=0
default 16:10:50.472707-0600 kernel AMFI: '/private/var/folders/td/79t1d1ps2lbb41jwt_4g7bvh0000gn/T/AppTranslocation/20F6CC8
@WardsParadox
WardsParadox / passgen.py
Created Apr 30, 2018
PassGen for student passwords
View passgen.py
#!/usr/bin/python
'''
Generates password of random 4-letter word + 4-digit number
'''
from random import randint, \
choice
import os
import argparse
import re
@WardsParadox
WardsParadox / chrome.mobileconfig
Created Apr 9, 2018
Newer style chromeconfig example for multi domain pattern sign-in whitelist
View chrome.mobileconfig
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadIdentifier</key>
<string>org.example.profile.chrome</string>
<key>PayloadRemovalDisallowed</key>
<true/>
<key>PayloadScope</key>
<string>System</string>
@WardsParadox
WardsParadox / Destiny Tables and Columns
Created Sep 8, 2017
Follet Destiny Tables and Columns
View Destiny Tables and Columns
Table Name , Column
(u'Address', u'AddressID')
(u'Address', u'AddressType')
(u'Address', u'City')
(u'Address', u'Line1')
(u'Address', u'Line2')
(u'Address', u'OtherPhone')
(u'Address', u'PatronID')
(u'Address', u'PrimaryPhone')
(u'Address', u'State')
@WardsParadox
WardsParadox / chrome_pfm_manifest_merger.py
Last active Jul 13, 2018
Chrome PFM Merger - Requires Google Chrome in the Applications Folder
View chrome_pfm_manifest_merger.py
#!/usr/bin/python
# # -*- coding: utf-8 -*-
import plistlib
import os
from subprocess import call
#import base64
manifestpath = os.path.abspath('/Applications/Google Chrome.app/Contents/Resources/com.google.Chrome.manifest/Contents/Resources/com.google.Chrome.manifest')
@WardsParadox
WardsParadox / encode.py
Last active Dec 19, 2016 — forked from signed0/gist:2031157
Google Polyline encoder & decoder
View encode.py
#!/usr/bin/python
'''Provides utility functions for encoding and decoding linestrings using the
Google encoded polyline algorithm.
Original Script at https://gist.github.com/signed0/2031157
'''
from sys import argv
from ast import literal_eval
def encode_coords(coords):
'''Encodes a polyline using Google's polyline algorithm
View boxcarNotify.py
#!/usr/bin/python
'''
Sends boxcar.io notifications, you need a token so sign up at boxcar.io!
'''
try:
import requests
except ImportError:
print 'Please install requests'
defaulticon = "https://github.com/munkireport/munkireport-php/raw/wip/assets/images/favicons/android-chrome-192x192.png"
def boxcarnotify(accesstoken, title, message, sound="success",
@WardsParadox
WardsParadox / getBundleID.py
Last active Aug 24, 2016
GetBundleID.py - Get's Bundle ID for passed App ID. ( https://kb.acronis.com/content/39368 )
View getBundleID.py
#!/usr/bin/python
import json
import sys
from urllib2 import urlopen
AppID = sys.argv[1]
#AppID = "284910350" # Yelp app for testing
url = urlopen("https://itunes.apple.com/lookup?id={0}".format(AppID))
View getmodelinfo.py
#!/usr/bin/python
'''
Gets the Model Info of your Mac from Apple's product site.
'''
from urllib2 import urlopen
from xml.dom import minidom
from sys import argv
def getmodeldesc(serial):
'''
You can’t perform that action at this time.