Terminal 9

How to use iTMSTransporter

Issue #563

Transporter app

The new Transporter app for macOS makes it easy to upload your binary to App Store Connect. To get started, download Transporter from the Mac App Store, and simply drag and …

How to keep command line tool running with async in Swift

Issue #549

Use Semaphore

public class Sequence: Task {
    public func run(workflow: Workflow, completion: @escaping TaskCompletion) {
        let semaphore = DispatchSemaphore(value: 0)
        runFirst(tasks: tasks, workflow: workflow, completion: …

How to use xcodebuild

Issue #544

man xcodebuild

man xcodebuild

XCODEBUILD(1)             BSD General Commands Manual            XCODEBUILD(1)

NAME
     xcodebuild -- build Xcode projects and workspaces

SYNOPSIS
     xcodebuild [-project name.xcodeproj] [[-target …

How to set language and locale with xcodebuild

Issue #540

testLanguage and testRegion

 -testLanguage language
       Specifies ISO 639-1 language during testing. This overrides the setting for the test action of a
       scheme in a workspace.

 -testRegion region
       Specifies ISO 3166-1 …

How to use bundle with rbenv

Issue #534

Workaround

/Users/khoa/.rbenv/shims/bundler install

How to setup multiple git accounts for GitHub and Bitbucket

Issue #514

Generate SSH keys

ssh-keygen -t rsa -C "onmyway133@gmail.com" -f "id_rsa_github"
ssh-keygen -t rsa -C "onmyway133bitbucket@gmail.com" -f "id_rsa_bitbucket"

pbcopy < ~/.ssh/id_rsa_github.pub
pbcopy < …

How to work around app damaged warning in macOS

Issue #238

“App” is damaged and can’t be opened. You should move it to the Trash.

👉 Disable gate keeper

sudo spctl --master-disable
spctl --status

Current workaround is to remove Launch At Login handling code.

How to resize image using imagemagick

Issue #202

mogrify -resize 1280x800 s2.png