Skip to content

Instantly share code, notes, and snippets.

View pookjw's full-sized avatar

Jinwoo Kim pookjw

View GitHub Profile
@mywizz
mywizz / gist:6396743
Created August 31, 2013 07:33
사파리에서 현재 열려있는 클량 게시판이나 게시물을 ClienKit에서 보는 (뻘)북마클릿
javascript:void(function(w){var%20u=w.document.location;var%20x=/bo_table=([_a-z]+)/;var%20y=/wr_id=([0-9]+)/;var%20c,a=[];if((m=x.exec(u))){c='list';a.push('board='+m[1]);}if((n=y.exec(u))){c='read';a.push('id='+n[1]);}if(c){w.location.href='clienkit://x-callback-url/'+c+'?'+a.join('&');}})(window)
@norio-nomura
norio-nomura / AppDelegate.m
Created October 4, 2012 02:14
How to call objc_msgSendSuper()
//
// AppDelegate.m
// CallSuperMethod
//
#import <objc/objc-runtime.h>
#import "AppDelegate.h"
@interface Superclass : NSObject
- (NSString*)a;