I hereby claim:
- I am bkase on github.
- I am bkase (https://keybase.io/bkase) on keybase.
- I have a public key whose fingerprint is 1322 E170 4A16 0B6B 0886 C5F8 6FE8 5BAA 5615 E495
To claim this, I am signing this object:
| import Foundation | |
| public class A<T> { | |
| var callbacks: [A<T> -> ()] = [] | |
| public init() { | |
| } | |
| } |
I hereby claim:
To claim this, I am signing this object:
| // Basically a combination of the answers from here: http://stackoverflow.com/questions/7414984/how-could-i-display-x-y-coordinates-on-image-in-real-time-to-the-user-when-the | |
| $(function() { | |
| var tooltip = $( '<div id="coords" style="position: absolute; background-color: white;">' ).appendTo( 'body' )[0]; | |
| var imgPos = []; | |
| $( '#the_image' ). | |
| each(function () { | |
| imgPos = [ | |
| $(this).offset().left, |
| datatype 'a Option = None | Some of 'a |
| import org.json.{JSONObject, JSONArray} | |
| /** | |
| * Forked from https://gist.github.com/1240749 | |
| * Modified by bkase | |
| * | |
| * A concise typesafe JSON DSL in Scala. | |
| * When you want to use, only | |
| * import Jsson._ is needed. | |
| * { |
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent" | |
| android:orientation="vertical" > | |
| <TextView | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="@string/hello" /> |
| package org.cmu.mobileappsclub.circletime; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.view.View.OnClickListener; | |
| import android.widget.Button; | |
| import android.widget.EditText; | |
| import android.widget.Toast; |