hdiutil attach /Applications/Install\ macOS\ Sierra\ Public\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_apphdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+Jhdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_buildasr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -eraserm /Volumes/OS\ X\ Base\ System/System/Installation/Packagescp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist
| { | |
| "name": "ObjectiveGit", | |
| "version": "0.8.7", | |
| "summary": "Objective-C bindings to libgit2.", | |
| "homepage": "https://github.com/libgit2/objective-git", | |
| "license": "MIT", | |
| "authors": { | |
| "Tim Clem": "timothy.clem@gmail.com", | |
| "Josh Abernathy": "josh@github.com" | |
| }, |
| function setjdk | |
| if test -n "$JAVA_HOME" | |
| removeFromPath "$JAVA_HOME/bin" | |
| end | |
| set -gx JAVA_HOME (/usr/libexec/java_home -v $argv[1]) | |
| set -gx PATH $JAVA_HOME/bin $PATH | |
| end | |
| function removeFromPath | |
| set -l idx 0 |
| if(buildType == "AppStore") { | |
| infoplist { | |
| bundleIdentifier = "com.hpe.appstore" | |
| } | |
| signing { | |
| mobileProvisionURI = 'file://' + currentPath + appStoreProfile | |
| certificateURI = "file://" + currentPath + appStoreCert | |
| certificatePassword = certPassword | |
| } |
| #!/bin/sh | |
| # Usage: ./watch-fds.sh <application_id> [delay_secs = 5] | |
| APP_ID=${1:?missing application id} | |
| DELAY=$(( ${2:-5} )) | |
| DEVICE_LIMIT=$(( $(adb shell ulimit -n) )) | |
| WARN_THRESHOLD=$(( ${DEVICE_LIMIT} / 3 )) | |
| echo "Will warn at ${WARN_THRESHOLD}" |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
| build.doLast() { | |
| // Augmented from https://github.com/bascan/kotlin-js-example/blob/master/build.gradle | |
| def jsFileFilter = { fileTreeElement -> | |
| def path = fileTreeElement.path | |
| path.endsWith(".js") && (path.startsWith("META-INF/resources/") || !path.startsWith("META-INF/")) | |
| } | |
| configurations.compile.each { File file -> | |
| copy { |
- Proposal: SE-XXXX
- Authors: Chris Lattner, Joe Groff
Modern Cocoa development involves a lot of asynchronous programming using closures and completion handlers, but these APIs are hard to use. This gets particularly problematic when many asynchronous operations are used, error handling is required, or control flow between asynchronous calls gets complicated. This proposal describes a language extension to make this a lot more natural and less error prone.
This paper introduces a first class Coroutine model to Swift. Functions can opt into to being async, allowing the programmer to compose complex logic involving asynchronous operations, leaving the compiler in charge of producing the necessary closures and state machines to implement that logic.
| <?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>method</key> | |
| <string>app-store</string> | |
| <key>teamID</key> | |
| <string>XXXXXXXXXX</string> | |
| <key>uploadBitcode</key> | |
| <true/> |
| #!/usr/bin/env fish | |
| # | |
| # Copyright 2017 Marco Vermeulen | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 |