Skip to content

Instantly share code, notes, and snippets.

@hosokawa0825
hosokawa0825 / mouse_keys.xml
Last active August 29, 2015 14:27
changed standard mouse_keys settings H,J,K,L to I,J,M,L
We couldn’t find that file to show.
public class MyTestRunner extends RobolectricTestRunner {
public MyTestRunner(Class<?> testClass) throws InitializationError {
super(testClass);
}
@Override
protected AndroidManifest getAppManifest(Config config) {
System.setProperty("android.assets", "./src/test/assets");
return super.getAppManifest(config);
}
@hosokawa0825
hosokawa0825 / NSObject+CustomMethod.m
Last active August 29, 2015 13:57
Customizable Responder Chain Category
#import "NSObject+CustomMethod.h"
typedef void(^SelectorBlock)(NSObject *responder);
@implementation NSObject (CustomMethod)
#pragma mark associative storage
- (NSObject *)spi_nextResponder
{
NSObject *ao = objc_getAssociatedObject(self, _cmd);
if (ao) {
@hosokawa0825
hosokawa0825 / README.md
Last active January 1, 2016 14:59 — forked from shunirr/README.md

Jenkins をOS X のログインユーザー権限のデーモンで自動起動しておく設定

必要なもの

うっかり jenkins.pkg を入れてしまった人はアンインストールする

@hosokawa0825
hosokawa0825 / ur_scraper.coffee
Created September 16, 2012 06:17
URスクレイピングコード
casper = require('casper').create
verbose: true
logLevel: "debug"
clientScripts: ["../lib/jquery-1.7.1.min.js"]
pageSettings: [loadImages:false]
onError: ->
@echo arguments
#for i in [1..6]