My efforts to port http://www.youtube.com/watch?v=f6kdp27TYZs to Clojure.
func boring(msg string) {
for i := 0; ; i++ {
fmt.Println(msg, i)
time.Sleep(time.Second)
}
public class Pager<I, O> { | |
private static final Observable FINISH_SEQUENCE = Observable.never(); | |
private PublishSubject<Observable<I>> pages; | |
private Observable<I> nextPage = finish(); | |
private Subscription subscription = Subscriptions.empty(); | |
private final PagingFunction<I> pagingFunction; | |
private final Func1<I, O> pageTransformer; |
My efforts to port http://www.youtube.com/watch?v=f6kdp27TYZs to Clojure.
func boring(msg string) {
for i := 0; ; i++ {
fmt.Println(msg, i)
time.Sleep(time.Second)
}
package com.getpebble.example; | |
import android.app.Activity; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.View; |
@SuppressWarnings("unchecked") | |
List<Object> aList = edn.unmarshall("(:one :two 3 4)", List.class); | |
assertThat(aList, Matchers.<Object>contains(Keyword.newKeyword("one"), Keyword.newKeyword("two"), 3L, 4L)); |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Go at Heroku | |
http://blog.golang.org/2011/04/go-at-heroku.html | |
Why you PHP guys should learn Golang | |
http://www.mikespook.com/2012/08/why-you-php-guys-should-learn-golang/ | |
Go at CloudFlare | |
http://blog.cloudflare.com/go-at-cloudflare | |
Go at Moovweb |