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
var f = {} | |
> undefined | |
f.hasOwnProperty = ["F"] | |
> ["F"] | |
f.hasOwnProperty | |
> ["F"] | |
f.hasOwnProperty("hasOwnProperty") |
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
#!/usr/bin/env ruby | |
# encoding: UTF-8 | |
# GitHub issues reflection | |
# Evadne Wu at Iridia Productions, 2011 | |
# everything is hardcoded to a certain degree and it requires a lot of gems to work. one can only hack and avoid doing this repeatedly if things are just not going to work out as intended. | |
require 'optparse' | |
require 'pp' |
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
// Edge | |
#ifndef __EdgeDefines__ | |
#define __EdgeDefines__ | |
typedef BOOL(^)(id recognizer /* maybe gets recognizer.history */ , id anEvent) EGRecognitionHandler; | |
#endif | |
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
2011-05-11 03:25:07.462 GlobalSingletonSupportTest[63618:1803] irSharedInstance instance NSObject 15f980, 181511 ns | |
2011-05-11 03:25:07.465 GlobalSingletonSupportTest[63618:5303] irSharedInstance instance NSObject 15f980, 614 ns | |
2011-05-11 03:25:07.465 GlobalSingletonSupportTest[63618:5403] irSharedInstance instance NSObject 15f980, 584 ns | |
2011-05-11 03:25:07.464 GlobalSingletonSupportTest[63618:a0f] irSharedInstance instance NSObject 15f980, 1546 ns | |
2011-05-11 03:25:07.466 GlobalSingletonSupportTest[63618:a0f] irSharedInstance instance NSObject 15f980, 1545 ns |
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
// | |
// TAPaginatedView.h | |
// Tarotie | |
// | |
// Created by Evadne Wu on 4/17/11. | |
// Copyright 2011 Iridia Productions. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import "Foundation+IRAdditions.h" |
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
anImageView.image = ((^ (CGRect *outKeyboardRect){ | |
[CATransaction begin]; | |
UIWindow *tempWindow = [[[UIWindow alloc] initWithFrame:[UIScreen mainScreen].applicationFrame] autorelease]; | |
[tempWindow makeKeyAndVisible]; | |
UITextField *fauxTextField = [[[UITextField alloc] initWithFrame:(CGRect){ 0, 0, 128, 128 }] autorelease]; | |
[tempWindow addSubview:fauxTextField]; |
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
- (void) longPressGestureRecognizerChanged:(UILongPressGestureRecognizer *)gr { | |
static UIGestureRecognizerState lastState = UIGestureRecognizerStatePossible; // or in ivar | |
if (gr.state == UIGestureRecognizerStatePossible) | |
if (lastState == UIGestureRecognizerStateChanged) { | |
// do 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
Last login: Wed Jul 4 23:21:56 on ttys000 | |
evadne ~ $ sudo brew install postgres --no-ossp-uuid | |
Password: | |
==> Downloading http://ftp.postgresql.org/pub/source/v9.1.2/postgresql-9.1.2.tar.bz2 | |
File already downloaded in /Library/Caches/Homebrew | |
==> ./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.1.2 --datadir=/usr/local/Cellar/postgresql/9.1.2/share/postgresql --docdir=/usr/local/Cellar/p | |
==> make install-world | |
make -C doc install | |
make -C src install |
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
/** | |
Copyright (C) 2011 Evan Long | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
of the Software, and to permit persons to whom the Software is furnished to do | |
so, subject to the following conditions: |
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
// | |
// RAPageViewController.h | |
// PagingTest | |
// | |
// Created by Evadne Wu on 11/8/12. | |
// Copyright (c) 2012 Radius. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |