https://github.com/linkedin/bluepill
https://github.com/linkedin/bluepill/releases (use the XCode 9.2 compatible release)
Copy the binary (bluepill
) to /usr/local/bin
Alphabet Sentences | |
https://github.com/linkedin/bluepill
https://github.com/linkedin/bluepill/releases (use the XCode 9.2 compatible release)
Copy the binary (bluepill
) to /usr/local/bin
{"arguments":{"torrents":[{"id":5,"name":"60.Minutes.S50E37.1080p.WEB.x264-CookieMonster[rarbg]","percentDone":0.4061},{"id":6,"name":"Elementary.S06E04.1080p.HDTV.X264-DIMENSION[rarbg]","percentDone":0.1815},{"id":7,"name":"Stephen.Colbert.2018.05.21.Zachary.Quinto.1080p.WEB.x264-TBS[rarbg]","percentDone":0.1827}]},"result":"success"} |
While you can not update XCode's progress bar via an external process, you can generate a progress indicator of some sort in the MacOS menu bar using status items.
For example there's an OpenSource project called
BitBar which can be used to
create a status item menu using any scripting language (via #!
/
shebang.)
extension JSContext { | |
subscript(_ get: String) -> JSValue! { | |
get { | |
return self.objectForKeyedSubscript(get) | |
} | |
set { fatalError("get: cannot be used to set") } | |
} | |
subscript(_ set: String) -> Any! { | |
set { |
import Cocoa | |
// Use this as a helper function in your table view delegate. | |
func getRowView<T: NSView>(_ tableView: NSTableView) -> T { | |
let identifier = NSUserInterfaceItemIdentifier( | |
rawValue: "\(T.self)") | |
var dequeuedRowView: T? = tableView.makeView( | |
withIdentifier: identifier, owner: self |
// | |
// NSScreen+currentScreenForMouseLocation.swift | |
// CutBox | |
// | |
import Cocoa | |
extension NSScreen { | |
static func currentScreenForMouseLocation() -> NSScreen? { | |
let mouseLocation = NSEvent.mouseLocation |
ec() { | |
emacsclient -n $@ 2> /dev/null | |
if [[ $? == 1 ]]; then | |
open -a Emacs.app -- $@ | |
fi | |
} |