Skip to content

Instantly share code, notes, and snippets.

View tmaes's full-sized avatar

Tom Maes tmaes

  • itsuma AB
  • Stockholm, Sweden
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tmaes on github.
  • I am tmaes (https://keybase.io/tmaes) on keybase.
  • I have a public key whose fingerprint is 0C1D C0BA 6068 8DFD F1DD 8B14 DBDC 4BBA 3460 A68A

To claim this, I am signing this object:

@tmaes
tmaes / version.sh
Created May 13, 2016 12:31 — forked from osteslag/version.sh
Script for managing build and version numbers using git and agvtool. See link in comments below.
#!/bin/sh
# Script for managing build and version numbers using git and agvtool.
# Change log:
# v1.0 18-Jul-11 First public release.
# v1.1 29-Sep-12 Launch git, agvtool via xcrun.
version() {
@tmaes
tmaes / gist:3df2a7e0238ad674fd840b8f54aaf008
Last active June 21, 2016 08:48 — forked from steipete/ios-xcode-device-support.sh
Using Xcode 7.3.1 and iOS 10 devices
// The trick is to copy the DeviceSupport folder from the beta to the stable version.
// (or make a symbolic link)
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5261u\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
// Then restart Xcode. You might need to do that for every beta of iOS 10/Xcode 8.
@tmaes
tmaes / loggingPrint.swift
Created March 29, 2017 11:02 — forked from Abizern/loggingPrint.swift
Debug logging for Swift
//
// LoggingPrint.swift
//
import Foundation
/**
Prints the filename, function name, line number and textual representation of `object` and a newline character into
the standard output if the build setting for "Active Complilation Conditions" (SWIFT_ACTIVE_COMPILATION_CONDITIONS) defines `DEBUG`.