Skip to content

Instantly share code, notes, and snippets.

View jeffbonnes's full-sized avatar

Jeff Bonnes jeffbonnes

View GitHub Profile
@jeffbonnes
jeffbonnes / gist:483722dc18990aaf64fd
Created December 30, 2014 01:37
Errors Running Windows Phone Developer Preview
Running this in Parallels. Clean Install of Window 8.1 Pro (x64). Visual Studio Community 2013. Version 12.0.31101.00
Instructions worked well. I was able to create / build / run in emulator a sample app from Visual Studio Community.
The app does seem to install on the Emulator - I can see the icon and the splash screen does flicker on first install. After that, when you tap on the icon in the emulator, it just flickers black and brings you back to the screen with the icon.
ti build output:
Titanium Command-Line Interface, CLI version 3.5.0-dev, Titanium SDK version 3.6.0.v20141223223700
Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved.
@jeffbonnes
jeffbonnes / gist:225e7b337b8f593d0c0e
Created April 30, 2014 23:41
Hyperloop Launch Errors
I'm thinking this must have something to do with my node setup - but I think it is pretty standard!
Output:
magneto:hyperloop jeff$ hyperloop launch --src=examples/ios/spritekit --debug
[DEBUG] copying /usr/local/lib/node_modules/hyperloop/deps/_source-map.js to build/src/hl__source_map.js
[DEBUG] clang arguments are: -O0 -g -fobjc-abi-version=2 -fobjc-legacy-dispatch -fpascal-strings -fexceptions -fasm-blocks -fstrict-aliasing -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fmodules -arch i386 -mios-simulator-version-min=7.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -x objective-c -Xclang -ast-dump --analyze -fno-color-diagnostics -fretain-comments-from-system-headers /Users/jeff/Library/Application Support/org.appcelerator.hyperloop/objc.h
[DEBUG] Generated clang AST in 0.045 seconds.
[INFO] Generating system metabase will take up to a minute (or greater) depending on your environment.
@jeffbonnes
jeffbonnes / app.js
Created September 16, 2011 05:50
Google Reader Starter
Titanium.UI.setBackgroundColor('#fff');
Ti.include( "js/greader.js");
var win = Ti.UI.createWindow({
});
var button1 = Ti.UI.createButton({
@jeffbonnes
jeffbonnes / tracer.js
Created September 12, 2011 01:10
A tracer object to Titanium Mobile to show elapsed time and memory usage
var tracer = {};
(function() {
tracer.levels = {};
tracer.levels.DEBUG = 1;
tracer.levels.INFO = 2;
tracer.levels.WARN = 3;
tracer.levels.ERROR = 4;
tracer.levels.OFF = 5;
tracer.allTracers = [];