Skip to content

Instantly share code, notes, and snippets.

View jstart's full-sized avatar
💭
Learning SwiftUI... slowly

Christopher Truman jstart

💭
Learning SwiftUI... slowly
View GitHub Profile
@jstart
jstart / pggrep.swift
Last active August 29, 2015 14:23 — forked from erica/pggrep.swift
//
// main.swift
// pggrep
//
// Created by Erica Sadun on 6/17/15.
// Copyright © 2015 Erica Sadun. All rights reserved.
//
import Foundation
//
// main.swift
// pggrep
//
// Created by Erica Sadun on 6/17/15.
// Copyright © 2015 Erica Sadun. All rights reserved.
//
import Foundation
#!/bin/sh
PLIST_BUDDY=/usr/libexec/PlistBuddy
function add_compatibility() {
"$PLIST_BUDDY" -c "Add DVTPlugInCompatibilityUUIDs:10 string $2" \
"$1/Contents/Info.plist"
}
function has_compatibility() {