Skip to content

Instantly share code, notes, and snippets.

View klaaspieter's full-sized avatar
🏠
Working from home

Klaas Pieter Annema klaaspieter

🏠
Working from home
View GitHub Profile
@klaaspieter
klaaspieter / gist:1388989
Created November 23, 2011 15:35
List of the most beautiful Windows applications
We couldn’t find that file to show.
@klaaspieter
klaaspieter / Path crash log
Created February 7, 2012 18:52
Path crash log
Incident Identifier: F40BDD1B-503B-4336-AC48-891BA3DA1896
CrashReporter Key: 4970c74a469a4e4e5a605f1948b4f25eb56f00ec
Hardware Model: iPhone4,1
Process: Path [2862]
Path: /var/mobile/Applications/728B2D1F-E3CF-4FAF-A27E-8E6F1154181E/Path.app/Path
Identifier: Path
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
@klaaspieter
klaaspieter / index.html
Created July 18, 2012 23:39
Interactive graph using d3.js
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Interactive Line Graph using d3.js</title>
<style type="text/css">
.axis path, .axis line {
fill: none;
stroke: gray;
}
test("#each accepts a name binding and does not change the context", function() {
var controller = Ember.Controller.create({
name: 'bob the controller'
}),
obj = Ember.Object.create({
name: 'henry the item'
});
view = Ember.View.create({
template: templateFor("{{#view}}{{#each item in view.items}}{{name}}{{/each}}{{/view}}"),
# This exposes the the isLoaded property from a AdapterPopulatedRecordArray which
# functions as expected. This is needed because the store will set the Model.find() recordArray
# to loaded immediately. If the behavior of Model.find() changes you can switch back
# to it's behavior by simply removing the IsLoadedSupport mixin.
App.IsLoadedSupport = Em.Mixin.create({
_content: (->
@get('content.type').find({})
).property('content')
isLoaded: (->
^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$
Feb 28 10:11:28 klaaspieter-iPhone Mailbox[178] <Warning>: Application windows are expected to have a root view controller at the end of application launch
Feb 28 10:11:28 klaaspieter-iPhone kernel[0] <Debug>: launchd[178] Builtin profile: container (sandbox)
Feb 28 10:11:28 klaaspieter-iPhone kernel[0] <Debug>: launchd[178] Container: /private/var/mobile/Applications/0E9B6CD0-A358-4D26-80F1-CCF773876EAE (sandbox)
Feb 28 10:11:28 klaaspieter-iPhone Mailbox[178] <Warning>: Reachability Flag Status: -R -----l- networkStatusForFlags
Feb 28 10:11:40 klaaspieter-iPhone Mailbox[178] <Error>: *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<__NSDictionaryM 0x1edeb1b0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key followup.'
*** First throw call stack:
(0x333da2a3 0x3b0f797f 0x333d9f99 0x33cc5c19 0x33c45ceb 0x33c43e13 0x15f2af 0x130f4d 0x126acf 0x126929 0x1251c3 0x124ebd 0x113403 0x112d5f 0x1122e5 0x331d7075 0x3b512ecf 0x3b512dc1 0x3b51391
Pod::Spec.new do |s|
s.name = "MBSliderView"
s.version = "0.0.1"
s.summary = "An iOS control that looks like the 'Slide to unlock' slider."
s.homepage = "http://mattlawer.github.com/MBSliderView/"
s.license = 'BSD'
s.author = { "Mathieu Bolard" => "mattlawer08@gmail.com" }
s.source = { :git => "https://github.com/mattlawer/MBSliderView.git", :commit => "37ed4e19b4b388b9053b0e901619c0efba5e3ce0" }
s.platform = :ios, '5.0'
Pod::Spec.new do |s|
s.name = "Stripe"
s.version = "1.0.1"
s.summary = "Stripe is a web-based API for accepting payments online."
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.homepage = "https://stripe.com"
s.author = { "Saikat Chakrabarti" => "saikat@stripe.com" }
s.source = { :git => "https://github.com/stripe/stripe-ios.git", :tag => "v1.0.1"}
s.source_files = 'Stripe/**/*.{h,m}'
s.public_header_files = 'Stripe/**/*.h'
@klaaspieter
klaaspieter / Podfile
Last active December 15, 2015 11:59
Example podfile for including Stripe that is currently not working
platform :ios, '6'
pod 'Stripe', :git => 'https://github.com/stripe/stripe-ios.git'