Help Ukraine by attacking Russian web sites. Good load testing training.
Tools:
Help Ukraine by attacking Russian web sites. Good load testing training.
Tools:
open class A { | |
} | |
open class B { | |
} | |
class Factory<R>(val mapper: () -> R) { |
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
#include <dispatch/dispatch.h> | |
typedef void (^MHChannelsBlock)(id sender, NSDictionary *dictionary); | |
/*! | |
* A "channel" is like a private NSNotificationCenter between just two objects | |
* (although more are possible). | |
* | |
* Instead of making your objects, such as two view controllers, communicate |
Enable ‘Run’ in the ‘Build’ section of your test bundle’s scheme. (See http://www.raingrove.com/2012/03/28/running-ocunit-and-specta-tests-from-command-line.html)
$ gem install kicker open4 colored xcodebuild-rb
// Connecting AFIncrementalStore & MagicRecord | |
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
PDDebugger *debugger = [PDDebugger defaultInstance]; | |
[debugger connectToURL:[NSURL URLWithString:@"ws://localhost:9000/device"]]; | |
[debugger enableNetworkTrafficDebugging]; | |
[debugger forwardAllNetworkTraffic]; | |
[debugger enableCoreDataDebugging]; | |
#define $array(OBJS...) ({id objs[]={OBJS}; \ | |
[NSArray arrayWithObjects: objs count: sizeof(objs)/sizeof(id)];}) | |
#define $marray(OBJS...) ({id objs[]={OBJS}; \ | |
[NSMutableArray arrayWithObjects: objs count: sizeof(objs)/sizeof(id)];}) | |
#define $mdict(PAIRS...) ( \ | |
{id pairs[]={PAIRS}; \ | |
NSMutableDictionary *d = [NSMutableDictionary dictionary]; \ | |
int cnt = sizeof(pairs)/sizeof(id); \ |
require 'yaml' | |
require 'uri' | |
require 'tempfile' | |
require 'tmpdir' | |
SDK_DIR = "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk" | |
TESTFLIGHT_URL = 'http://testflightapp.com/api/builds.json' | |
PROJECT_DIR = File.dirname __FILE__ | |
RUBIOS_DIR = File.join(PROJECT_DIR, 'rubios') |