I hereby claim:
- I am donnfelker on github.
- I am donnfelker (https://keybase.io/donnfelker) on keybase.
- I have a public key ASDm0EqsT8YBPE8L0BlrQxAppoKpbs_C1r-ZER8m2blYmAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package com.donnfelker.rxexample; | |
import android.os.Bundle; | |
import android.support.v7.app.ActionBarActivity; | |
import rx.Subscriber; | |
import rx.Subscription; | |
import rx.android.schedulers.AndroidSchedulers; | |
import rx.schedulers.Schedulers; |
# Goes in your .git/config file | |
[alias] | |
# Temporarily stop tracking a file in git. | |
# usage: git unwatch path/to/file | |
unwatch = update-index --assume-unchanged | |
# Resume tracking a file in git. | |
# usage: git watch path/to/file | |
watch = update-index --no-assume-unchanged |
// Connect to your API with your http lib, i use http-request: https://github.com/kevinsawicki/http-request | |
// Then get the reader. The 'request' variable below is just a HttpRequest object | |
// as shown here: http://kevinsawicki.github.io/http-request/ | |
final Reader reader = request.reader(); | |
final ObjectMapper mapper = new ObjectMapper(); | |
final JsonFactory factory = mapper.getFactory(); | |
// Create a new streaming parser with the reader | |
JsonParser jp = factory.createParser(reader); |
package com.greenlifesoftware.robolectricpractice; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.robolectric.Robolectric; | |
import org.robolectric.RobolectricGradleTestRunner; | |
import org.robolectric.annotation.Config; | |
import static org.junit.Assert.assertNotNull; | |
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "If found, contact YOUR-NAME at XXX-XXX-XXXX" |
/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */ | |
.prettyprint { | |
background: #f5f5f5; | |
font-family: Menlo, "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, Consolas, monospace; | |
border: 0 !important; | |
padding: 16px; | |
} | |
.pln { | |
color: #4d4d4c; |
# | |
# Build configuration for Circle CI | |
# | |
# See this thread for speeding up and caching directories: | |
# https://discuss.circleci.com/t/installing-android-build-tools-23-0-2/924 | |
# | |
general: | |
artifacts: | |
- /home/ubuntu/AndroidCI/app/build/outputs/apk/ |
# | |
# Build configuration for Circle CI | |
# | |
# See this thread for speeding up and caching directories: https://discuss.circleci.com/t/installing-android-build-tools-23-0-2/924 | |
# | |
general: | |
artifacts: | |
- /home/ubuntu/AndroidCI/app/build/outputs/apk/ |