This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ARCH=arm-apple-darwin10 | |
export ARCH_PREFIX=${ARCH}- | |
export PLATFORM=iPhoneOS | |
export SDKVER=5.0 | |
export DEVROOT=/Developer/Platforms/${PLATFORM}.platform/Developer | |
export SDKROOT="$DEVROOT/SDKs/${PLATFORM}$SDKVER.sdk" | |
export PKG_CONFIG_PATH="$SDKROOT/usr/lib/pkgconfig:$DEVROOT/usr/lib/pkgconfig" | |
export AS="$DEVROOT/usr/bin/as" | |
export ASCPP="$DEVROOT/usr/bin/as" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vapor | |
import Theo | |
func theoClient(completion: @escaping (BoltClient) -> ()) { | |
do { | |
let client = try BoltClient(hostname: "127.0.0.1", | |
port: 7687, | |
username: "neo4j", | |
password: "test", | |
encrypted: true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TAGS="TODO:|FIXME:|\/\/TODO" | |
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/" |