Skip to content

Instantly share code, notes, and snippets.

View timrisi's full-sized avatar

Timothy Risi timrisi

  • KickBack Reward Systems
  • Anchorage, AK
View GitHub Profile
[12-Nov-2013 13:22:54] Command [Info: CommmandUrl=Info] finished (10)
[12-Nov-2013 13:22:54] Handling with command: [Login: CommmandUrl=Login] (11)
[12-Nov-2013 13:22:54] Attempting to acquire command execution lock, timeout set to 00:10:00
[12-Nov-2013 13:22:54] Login process initiated, returning UUID for pairing.
[12-Nov-2013 13:22:54] Command [Login: CommmandUrl=Login] finished (11)
[12-Nov-2013 13:22:54] Handling with command: [Login: CommmandUrl=Login] (11)
[12-Nov-2013 13:22:54] Attempting to acquire command execution lock, timeout set to 00:10:00
[12-Nov-2013 13:22:54] Command [Login: CommmandUrl=Login] finished (11)
[12-Nov-2013 13:22:55] Handling with command: [ListDevices: CommmandUrl=ListDevices] (11)
[12-Nov-2013 13:22:55] Attempting to acquire command execution lock, timeout set to 00:10:00
Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : [2013-11-08 08:51:55.6] Build server returned an Error.
Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : [2013-11-08 08:51:55.7] Installation failed: Package Inspection Failed Error (error: 0xe8000051)
error MT1006: Could not install the application '/Users/Tim/Library/Caches/Xamarin/mtbs/builds/MyCompanyVisitorsClientiOS/e473ab4e-2896-4637-b81e-4078483e3885/output/Debug/iPhone/MyCompanyVisitorsClientiOS.app' on the device 'Mark’s iPad': Package Inspection Failed Error (error: 0xe8000051).
Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : [2013-11-08 08:51:55.7] Xamarin.iOS encountered the following error(s):
System.Exception: Application deployment failed (Generic)
Server command 'Deploy': failed to deploy application to device
Server failure while processing the command. See below for details
Response status: Error
@timrisi
timrisi / gist:6135761
Created August 1, 2013 22:02
AVFoundation
//Xamarin Code
NSUrl url = new NSUrl (NSBundle.MainBundle.PathForResource ("IMG_1254", "MOV"), false);
AVUrlAsset asset = new AVUrlAsset (url, new AVUrlAssetOptions ());
NSError error;
AVAssetReader assetReader = new AVAssetReader (asset, out error);
AVAssetTrack videoTrack = asset.Tracks [0];
NSString key = CVPixelBuffer.PixelFormatTypeKey;
NSString value = new NSString (CVPixelFormatType.CV32BGRA.ToString ());
NSDictionary videoSettings = NSDictionary.FromObjectAndKey (value, key);
@timrisi
timrisi / gist:5978899
Created July 11, 2013 20:23
PCL Build error
Building: NewPCL (Debug)
---------------------- Done ----------------------
Build failed. MSBuild operation failed
Build: 1 error, 0 warnings
PS C:\Users\trisi> gem install capybara-webkit
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit:
ERROR: Failed to build gem native extension.
C:/Ruby193/bin/ruby.exe extconf.rb
cd src/ && c:/Users/trisi/Downloads/Qt-4.7.3-dev-msvc2010-rdh/bin/qmake.exe c:/Ruby193/lib/ruby/gems/1.9.1/gems/capybara
-webkit-0.14.1/src/webkit_server.pro -spec c:/Users/trisi/Downloads/Qt-4.7.3-dev-msvc2010-rdh/mkspecs/win32-g++ -o Makef
ile.webkit_server
@timrisi
timrisi / gist:3944082
Created October 24, 2012 05:11
android layout
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<xamarin.controls.SignatureView
android:id="@+id/signature"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
@timrisi
timrisi / gist:2760763
Created May 21, 2012 06:16
testflight sdk error
Building Solution: ChessGame (Debug|iPhone)
Building: ChessGame (Debug|iPhone)
Detecting signing identity...
Provisioning profile: "Knightmare Chess Game Center Test" (7A4E3779-C1EF-4AD3-A06D-44710BB740E1)
Signing Identity: "iPhone Developer: Timothy Risi (UWZP44RP7F)"
App ID: "GF4DUJBW65.com.RisiApps.KCGCTest"
Performing main compilation...
flyoutController = new FlyOutNavigationController();
tl = new Timeline();
flyoutController.NavigationRoot = new RootElement("")
{
new Section("Navigation")
{
new StringElement("Timeline")
}
};
@timrisi
timrisi / gist:1631819
Created January 18, 2012 07:39
PlayersToInvite
-(void)handleInviteFromGameCenter:(NSArray *)playersToInvite
{
NSLog(@"New invite");
[presentingViewController dismissModalViewControllerAnimated:YES];
GKMatchRequest *request = [[GKMatchRequest alloc] init];
request.playersToInvite = playersToInvite;
request.maxPlayers = 2;
request.minPlayers = 2;
GKTurnBasedMatchmakerViewController *viewController = [[GKTurnBasedMatchmakerViewController alloc] initWithMatchRequest:request];
@timrisi
timrisi / gist:1498188
Created December 19, 2011 18:02
MapKitTest
using MonoTouch.UIKit;
using System.Drawing;
using System;
using MonoTouch.Foundation;
using System.IO;
using MonoTouch.MapKit;
using MonoTouch.CoreLocation;
namespace MapKitTest
{