Skip to content

Instantly share code, notes, and snippets.

View mdales's full-sized avatar

Michael Dales mdales

View GitHub Profile
@mdales
mdales / gist:2622886
Created May 6, 2012 15:20
Updating Xcode project version number from git
# Assumes that you tag versions with the version number (e.g., "1.1") and then the build number is
# that plus the number of commits since the tag (e.g., "1.1.17")
echo "Updating version/build number from git..."
plist=${PROJECT_DIR}/${INFOPLIST_FILE}
# increment the build number (ie 115 to 116)
versionnum=`git describe | awk '{split($0,a,"-"); print a[1]}'`
buildnum=`git describe | awk '{split($0,a,"-"); print a[1] "." a[2]}'`
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by readline configure 6.2, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/readline/6.2.2 --mandir=/usr/local/Cellar/readline/6.2.2/share/man --infodir=/usr/local/Cellar/readline/6.2.2/share/info --enable-multibyte
## --------- ##
## Platform. ##
HOMEBREW_VERSION: 0.9.2
HEAD: 6740810501e9a615aee9ab4c9502f9229b7e0c04
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit dunno
OS X: 10.7.4-x86_64
Xcode: 4.3.3
CLT: 4.3.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
pisteuo[/tmp]% /usr/bin/clang -v -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -arch i386 -arch x86_64 -isystem /usr/local/include -L/usr/local/lib -arch i386 -arch x86_64 conftest.c 8:32
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
"/usr/bin/clang" -cc1 -triple i386-apple-macosx10.7.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name conftest.c -pic-level 1 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -target-cpu i686 -target-linker-version 128.2 -v -resource-dir /usr/bin/../lib/clang/3.1 -isystem /usr/local/include -fmodule-cache-path /var/folders/br/8tl1xl954m13qt180qp_csf80000gn/T/clang-module-cache -Os -w -fdebug-compilation-dir /tmp -ferror-limit 19 -fmessage-length 249 -stack-protector 1 -fblocks -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/br/8tl1xl954m13qt18
pisteuo[/tmp]% /usr/bin/clang -v -Os -w -pipe -march=native -Qunused-arguments -arch i386 -arch x86_64 -isystem /usr/local/include -L/usr/local/lib conftest.cApple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
"/usr/bin/clang" -cc1 -triple i386-apple-macosx10.7.4 -emit-obj -disable-free -disable-llvm-verifier -main-file-name conftest.c -pic-level 1 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -target-cpu i686 -target-linker-version 128.2 -v -resource-dir /usr/bin/../lib/clang/3.1 -isystem /usr/local/include -fmodule-cache-path /var/folders/br/8tl1xl954m13qt180qp_csf80000gn/T/clang-module-cache -Os -w -fdebug-compilation-dir /tmp -ferror-limit 19 -fmessage-length 80 -stack-protector 1 -fblocks -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/br/8tl1xl954m13qt180qp_csf80000gn/T/conftest-SCpybJ.o -x c conftest.c
clang -cc1 version 3.1 based upon llvm 3.
package main
import (
"image"
"image/color"
"image/png"
"math/cmplx"
"log"
"net/http"
)
@mdales
mdales / dvtcolorconvert.rb
Created January 24, 2011 09:34 — forked from aktowns/dvtcolorconvert.rb
Fork of aktowns' excellent little script for converting xcode3 color themes to xcode4. Just added rubygems import
#!/usr/bin/env ruby
# This script converts xccolorthemes to dtvcolorthemes for porting xcode 3.x themes to xcode 4.x
# created by ashley towns <ashleyis@me.com>
# Public domain.
# ./dvtcolorconvert <inputfile>
# spits out a .dtvcolortheme file
require 'rubygems'
require 'plist'
raise "Error: need a source file #{__FILE__} [file.xccolortheme]" if ARGV.length == 0
import Foundation
struct SoundSample {}
class Effect: Codable {
// Properties we are intersted in
var name: String = ""
var active: Bool = true
[2018-06-16 19:41:17.395] [INFO] /Users/autobuild/jenkins/workspace/boundless-macosx-deploy/native/src/appbase/macosx/macosxentry.mm:318 TryPixelFormatsGot NSOpenGLPixelFormat for samples:1, opengl32:true
[2018-06-16 19:41:17.395] [INFO] /Users/autobuild/jenkins/workspace/boundless-macosx-deploy/native/src/appbase/macosx/macosxentry.mm:395 -[NativeEntryView initWithFrame:]Format: alpha 8, depth 24, stencil 0
[2018-06-16 19:41:17.397] [INFO] /Users/autobuild/jenkins/workspace/boundless-macosx-deploy/native/src/browserfeatures/filecache.cpp:169 InitializeCache dir: /Users/michael/Library/Caches/com.turbulenz.boundless/
[2018-06-16 19:41:17.398] [INFO] /Users/autobuild/jenkins/workspace/boundless-macosx-deploy/native/src/appbase/standaloneplatformreaders.cpp:574 SetHttpCachePathHttpCache: enabled (/Users/michael/Library/Caches/com.turbulenz.boundless)
[2018-06-16 19:41:17.532] [INFO] /Users/autobuild/jenkins/workspace/boundless-macosx-deploy/game/client/standalone/standalone.cpp:70 ApplicationStartupGameCod
Process: boundless [4690]
Path: /Users/USER/Library/Application Support/Steam/*/boundless.app/Contents/MacOS/boundless
Identifier: com.turbulenz.boundless
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: boundless [4690]
User ID: 501
Date/Time: 2018-06-16 20:42:08.326 +0100