This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My original email: | |
Hi there, | |
I'm emailing you to share my experience of cycling over Bow roundabout, particularly with reference to the early start system in place. | |
http://www.tfl.gov.uk/travel-information/improvements-and-projects/bow-roundabout | |
The above article claims that the early start system makes the roundabout safer - and I can see the logic behind it - but in reality, the junction is still very dangerous as cyclists are exposed to dangers from traffic already on the roundabout jumping the red lights. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0K$ sudo service postgresql start 9.3 | |
* Starting PostgreSQL 9.3 database server [80G [31m*[39;49m Error: /var/ramfs/postgresql/9.3/main is not accessible or does not exist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date: 24.09.2014 | |
Dear Mr Redpath | |
Thank you for contacting us on 10 September 2014 suggesting improvements for Bow roundabout. | |
I am sorry you have experienced motorist jumping the red lights at Bow roundabout. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lldb) po viewController | |
error: instance variable '_modalPresentationStyle' declared with incompatible types in different translation units ('UIModalPresentationStyle' vs. 'UIModalPresentationStyle') | |
error: instance variable '_lastKnownInterfaceOrientation' declared with incompatible types in different translation units ('UIInterfaceOrientation' vs. 'UIInterfaceOrientation') | |
error: instance variable '_viewControllerFlags' declared with incompatible types in different translation units ('<anonymous struct>' vs. '<anonymous struct>') | |
error: property 'modalPresentationStyle' declared with incompatible types in different translation units ('UIModalPresentationStyle' vs. 'UIModalPresentationStyle') | |
error: instance method 'modalPresentationStyle' has incompatible result types in different translation units ('UIModalPresentationStyle' vs. 'UIModalPresentationStyle') | |
note: declared here with type 'UIModalPresentationStyle' | |
note: declared here with type 'UIInterfaceOrientation' | |
note: declared here with type '<anonymou |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1ad1e05f28a81cf7e2f3bc65d43b45b12e075742 Mon Sep 17 00:00:00 2001 | |
From: Luke Redpath <[email protected]> | |
Date: Thu, 7 Aug 2014 17:09:50 +0100 | |
Subject: [PATCH] Allow protocol mocks to not implicitly handle optional | |
protocol methods. | |
--- | |
Source/OCMockito/MKTObjectAndProtocolMock.m | 2 +- | |
Source/OCMockito/MKTProtocolMock.h | 6 ++++-- | |
Source/OCMockito/MKTProtocolMock.m | 9 +++++---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# just an example of what it could be | |
argument = capture('label') | |
widget = double | |
# argument acts like an argument matcher that always matches but stores a reference to the real value | |
allow(widget).to receive(:do_something).with(argument) | |
# contrived, I know this could be done using the instance_of argument matcher | |
expect(argument.value).to be_instance_of(Something) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/Xcode6-Beta4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: objective-c | |
rvm: 2.1.1 | |
install: bundle | |
before_script: ./script/add-key.sh | |
after_script: ./script/remove-key.sh | |
script: ./script/travis.sh | |
env: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gem install wrong | |
require 'wrong' | |
class RSpec::Expectations::ExpectationTarget | |
include Wrong::Assert | |
include Wrong::Eventually | |
def will(matcher) | |
eventually { to(matcher) } | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Cocoa | |
protocol Matcher { | |
typealias Matchable | |
func matches(object: Matchable) -> Bool | |
} | |
class EqualMatcher<T:Equatable>: Matcher { | |
typealias Matchable = T | |