天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。
- gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
| // ==UserScript== | |
| // @name github-build-badge | |
| // @author linyows | |
| // @namespace http://linyows.com/ | |
| // @description "Expand build status badge" | |
| // @include https://github.com/* | |
| // ==/UserScript== | |
| (function() { | |
| var match_witch_badge = /<a href="(http:\/\/ci[0-9]{0,3}\..*\.[a-z]{2,5}\/job\/.*)"><img src=".*" alt="Build Status" data-canonical-src=".*" style=".*"><\/a>/g; |
Awesome PHP の記事をフォークして翻訳したものです (2013年4月25日)。おどろくほどすごい PHP ライブラリ、リソースやちょっとした情報のリストです。
【訳者コメント】 PHP 入門者のかたにはクィックリファレンスとして PHP: The Right Way 、セキュリティに関しては2011年3月に出版された 体系的に学ぶ 安全なWebアプリケーションの作り方 をおすすめします。
| func printClasses() { | |
| var count: CUnsignedInt = 0 | |
| var clist = objc_copyClassList(&count) | |
| for var i: CUnsignedInt = 0; i < count; i++ { | |
| let c : AnyClass? = clist.memory | |
| println(" #Class \(class_getName(c))") | |
| printMethods(c) | |
| clist = clist.succ() | |
| } | |
| } |
| @implementation NSObject (forSwift) | |
| - (id)__performSelector:(SEL)aSelector | |
| { | |
| Method m = class_getInstanceMethod(self.class, aSelector); | |
| const char *types = method_copyReturnType(m); | |
| if (strcmp("v", types)) { | |
| return [self performSelector:aSelector]; | |
| } else { |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /// Observes a run loop to detect any stalling or blocking that occurs. | |
| /// | |
| /// This class is thread-safe. | |
| @interface GHRunLoopWatchdog : NSObject | |
| /// Initializes the receiver to watch the specified run loop, using a default | |
| /// stalling threshold. | |
| - (id)initWithRunLoop:(CFRunLoopRef)runLoop; | |
| /// Initializes the receiver to detect when the specified run loop blocks for |