short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown --> PDF (as a booklet!)
Markdown --> EPUB and MOBI
short url: caseywatts.com/selfpublish
my book is out! an applied psychology / self-help book targeted at developers: Debugging Your Brain
Markdown --> PDF (as a booklet!)
Markdown --> EPUB and MOBI
| #!/bin/bash | |
| <<ABOUT_THIS_SCRIPT | |
| ----------------------------------------------------------------------- | |
| Written by:William Smith | |
| Professional Services Engineer | |
| Jamf | |
| [email protected] | |
| https://gist.github.com/talkingmoose/9faf50deaaefafa9a147e48ba39bb4b0 |
| #!/bin/zsh | |
| # pkgAndNotarize.sh | |
| # 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 |
| const { CredentialProviderChain } = require('aws-sdk'); | |
| const AWS = require('aws-sdk'); | |
| const accountProvider = require('./account-provider'); | |
| let getEnv = function(accountId) { | |
| // TODO: insert logic to get your desired profile name | |
| return profileName; | |
| }; | |
| let getProvider = async (accountId, mode) => { |
| #!/bin/sh | |
| # | |
| # 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 |
| #!/bin/bash | |
| 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") |
| import UIKit | |
| @UIApplicationMain | |
| class AppDelegate: UIResponder, UIApplicationDelegate { | |
| var window: UIWindow? | |
| func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |
| let window = UIWindow(frame: UIScreen.main.bounds) |
| <?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> |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/aws/aws-sdk-go/aws" | |
| "github.com/aws/aws-sdk-go/aws/session" | |
| "github.com/aws/aws-sdk-go/service/ssm" | |
| ) |