Skip to content

Instantly share code, notes, and snippets.

View jaredumbehr's full-sized avatar

Jared Umbehr jaredumbehr

  • Kiln, MS
  • 06:10 (UTC -05:00)
View GitHub Profile
Code Desc Details
10001 Account is not active https://www.twilio.com/docs/api/errors/10001
10002 Trial account does not support this feature https://www.twilio.com/docs/api/errors/10002
10003 Incoming call rejected due to inactive account https://www.twilio.com/docs/api/errors/10003
11100 Invalid URL format https://www.twilio.com/docs/api/errors/11100
11200 HTTP retrieval failure https://www.twilio.com/docs/api/errors/11200
11205 HTTP connection failure https://www.twilio.com/docs/api/errors/11205
11206 HTTP protocol violation https://www.twilio.com/docs/api/errors/11206
11210 HTTP bad host name https://www.twilio.com/docs/api/errors/11210
11215 HTTP too many redirects https://www.twilio.com/docs/api/errors/11215
@LinusHenze
LinusHenze / iOS_16_Launch_Constraints.txt
Created June 15, 2022 16:30
Description of the Launch Constraints introduced in iOS 16
iOS 16 introduced launch constraints, which can be used to constraint the launch of an application.
There are three types of constraints:
Self Constraints, which the launched application itself must meet
Parent Constraints, which the parent process must meet
Responsible Constraints, which the "responsible process" must meet (I assume that the responsible process is the process that asked launchd to launch a service)
Additionally, the TrustCache format was updated (see below) to support assigning each binary a "Constraint Category", which forces Self and Parent Constraints.
Note that Self, Parent and Responsible Constraints can also be set by the process performing the launch and they can be included in the code signature, in the new blob type 0xFADE8181. In both cases, the constraints are DER encoded (just like the DER entitlements).
Constraint Categories (from TrustCache, new in version 2):
@jjtroberts
jjtroberts / osx_cli_tools_installer.sh
Last active June 1, 2023 15:04
Tests MacOS for xcode and installs devops tools.
#!/usr/bin/env bash
# Install all the things
function install {
xcode-select --install
if ! type "brew" > /dev/null; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/$(whoami)/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
@jaredumbehr
jaredumbehr / README.md
Created September 28, 2021 01:43
Don't send referrer header!

No Referrer Header

Don't send referrer header

How it works?

This userscript append the <meta> element to <head> for every websites.

@zhuowei
zhuowei / Ensemble.plist
Last active September 18, 2023 06:26
Put this file as /Library/Preferences/FeatureFlags/Domain/Ensemble.plist and reboot to (hopefully) turn on Universal Control on macOS 12
<?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>
<!-- not sure which one it is, so set both -->
<key>Ensemble</key>
<dict>
<key>Enabled</key>
<true/>
</dict>
@thienha1
thienha1 / Absolute Enable Right Click & Copy.user.js
Created April 25, 2021 15:16
Absolute Enable Right Click & Copy.user.js
// ==UserScript==
// @name Absolute Enable Right Click & Copy
// @namespace Absolute Right Click
// @description Force Enable Right Click & Copy & Highlight
// @shortcutKeys [Ctrl + `] Activate Absolute Right Click Mode To Force Remove Any Type Of Protection
// @author Absolute
// @version 1.8.9
// @include *://*
// @icon https://i.imgur.com/AC7SyUr.png
// @compatible Chrome Google Chrome + Tampermonkey
@nikolay-n
nikolay-n / prefixes.md
Last active October 25, 2021 04:11
macOS Namespacing
Prefix Framework
AB AddressBook / AddressBookUI
AC Accounts
AD iAd
AK AuthKit
AL AssetsLibrary
AM Automator
AU AudioUnit
AV AVFoundation
@rmcdongit
rmcdongit / macOS_SytemPrefs.md
Last active May 4, 2024 07:49
Apple System Preferences URL Schemes

macOS 10.15 System Preference Panes

Below are a list of System Preference pane URLs and paths that can be accessed with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard and display any available anchors:

tell application "System Preferences"
	set CurrentPane to the id of the current pane
	set the clipboard to CurrentPane
@jordicenzano
jordicenzano / generate-fairplay.sh
Last active October 7, 2022 06:15
Bash script that generates an HLS chunklist with Fairplay DRM from MP4. Also providing a test chunklist bypassing DRM
#Generate fairplay file with random generated Key, IV.
#And generate also a trobleshooting chunklist bypassing fairplay server and providing the plain key for testing
#Source data
SOURCE="/Users/jcenzano/Movies/test10m_baseline_30_320x240_a25fpsB.mp4"
#Dest data
DEST="/Users/jcenzano/Movies/hls-encrypted/result-fairplay"
KEYS_DIR="keys"
KEY_IV_FILENAME="key-iv.bin"
@balupton
balupton / README.md
Last active February 23, 2022 04:19
Convert XPS to PDF

Convert XPS to PDF on macOS

# IF you are on alpine, install the dependencies
apk add curl git bash

# IF you are on ubuntu, install the dependencies
apt update
apt install curl git bash