Skip to content

Instantly share code, notes, and snippets.

Ash Furrow ashfurrow

View GitHub Profile
View gist:9615017
### Keybase proof
I hereby claim:
* I am ashfurrow on github.
* I am ashfurrow ( on keybase.
* I have a public key whose fingerprint is 006F 20AD 6193 CAC3 2413 6FF3 DDB3 AF9C 765E 0680
To claim this, I am signing this object:
View gist:ead4276121cc8980fa2b
// from
func foo (closure: (Array<Int> -> ()) -> ()) {
closure({ (array: Array<Int>) -> () in
for i in array {
ashfurrow / gist:b9fa03387ca8c68bc07e
Last active Aug 29, 2015
Crashing on Unowned reference access
View gist:b9fa03387ca8c68bc07e
View gist:fc6d3de4c64a7a9c88e5
- (void)dontshipthis:(UIView *)view
[[RACObserve(view, center) skip:1] subscribeNext:^(id x) {
NSLog(@"view: %@", view);
for (UIView *v in view.subviews) {
[self dontshipthis:v];
ashfurrow / gist:8b896017ca8e3a2faa44
Last active Aug 29, 2015
Hide GitHub notification badge
View gist:8b896017ca8e3a2faa44
// Safari -> Preferences -> Advanced -> Stylesheet
.notification-indicator .mail-status.unread {
display: none !important;
View gist:6ef80a57dcf4048ebd7c

I don't want to get into a long, drawn out Internet argument. The fact of the matter is that what you're saying – that victims make themselves vulnerable to crime – is called victim blaming:

Victim blaming comes from a psychological fallacy called the Fundamental Attribution Error. Basically, if something bad happens to me, it's due to external factors I have no control over. If it happens to someone else, then it's due to internal factors that they do have control over. This faulty reasoning allows humans to believe that bad things won't happen to them, even though they can.

Since, as a society, we cannot blame the victims of crimes perpetrated against them (to do so would be logically fallacious, see above), we instead must focus on stopping crime by focusing on those who commit it: the criminals. I'm not telling you to go around and leave your house unlocked – certainly, reduce your own risk. But if someone does get robbed, even with a locked door, don't blam

View gist:02074d557901e21a20d0

/* Conversation about: */


I'm often puzzled by people who insist they don't "believe" in evolution. There is nothing to believe. Once you understand the biology behind DNA replication and natural selection, evolution becomes self-evident. The only wiggle-room for anti-evolutionists is the length of time over which evolution has been taking place. Some believe it's a matter of a few millennia, while the evidence tells us it's more like a matter of a billion years.


ashfurrow / gist:88cbd0b6de626706f853
Last active Aug 29, 2015
Swift initializer problem
View gist:88cbd0b6de626706f853
class A {
let i: Int
let j: Int
init (i: Int, j: Int) {
self.i = i
self.j = j
convenience init(i: Int) {
View gist:a533a44f0ede35015881
> CocoaPods/bin/pod --help
CocoaPods, the Objective-C library package manager.
+ help Show help for the given command.
View gist:65a85c5e71c5a7c6561a
Ash Furrow is a Canadian iOS developer and author, currently working at Artsy. He has published four books, many apps, and is a contributor to the open source community.
You can’t perform that action at this time.