Skip to content

Instantly share code, notes, and snippets.

Paul Galow paulgalow

Block or report user

Report or block paulgalow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
scriptingosx /
Created Sep 10, 2019
Script that builds, packages and notarizes an Xcode command line tool.
# 2019 - Armin Briegel - Scripting OS X
# place a copy of this script in in the project folder
# when run it will build for installation,
# create a pkg from the product,
# upload the pkg for notarization and monitor the notarization status
soundsnw /
Created Jun 11, 2019
Give macOS standard users access to networking, printing and more
# Provides standard user access to preference panels they would expect to be able to access, and might need access to.
# Provides standard users access to system preferences
/usr/bin/security authorizationdb write system.preferences allow
vakila / SingleArrow.ipynb
Created Apr 12, 2019
Anjana Vakil, "The Universe in a Single Arrow", JSHeroes 2019
View SingleArrow.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
scriptingosx /
Created Mar 28, 2019
This script will print the build numbers of the macOS version from all installer apps
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
installerBuildVersion() { # $1 path to the installer app
installerApp=${1:?"no path for installer"}
# echo "inspecting: $installerApp"
if [[ -d "$installerApp" ]]; then
identifier=$(/usr/libexec/PlistBuddy -c "print CFBundleIdentifier" "$installerApp/Contents/Info.plist")
cellularmitosis / EmojiPointersDemo.swift
Created Aug 15, 2018
Representing pointer values as emoji can be useful for "visually" debugging certain issues, like cell reuse, etc.
View EmojiPointersDemo.swift
import UIKit
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
let window = UIWindow(frame: UIScreen.main.bounds)
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" "">
<plist version="1.0">
miguelmota / ssm_parameter.go
Last active Nov 14, 2019
AWS SSM Go SDK parameter store example
View ssm_parameter.go
package main
import (
pudquick /
Created Jan 10, 2018
A variation on that doesn't attempt to contact WindowServer / trigger errors
from Foundation import NSZeroRect, NSMakeRect, NSMakeSize
from AppKit import NSPNGFileType, NSCompositeCopy, NSGraphicsContext, NSCalibratedRGBColorSpace, NSBitmapImageRep, NSImage, NSImageNameComputer
dimension = 512
size = NSMakeSize(dimension, dimension)
rect = NSMakeRect(0, 0, dimension, dimension)
image = NSImage.imageNamed_(NSImageNameComputer)
View pem.go
package main
import (
mrbar42 /
Last active Nov 14, 2019
bash scripts to create VOD HLS stream with ffmpeg almighty (tested on Linux and OS X)


bash beach.mkv

will produce:

      |- playlist.m3u8
      |- 360p.m3u8
You can’t perform that action at this time.