Skip to content

Instantly share code, notes, and snippets.

View DavidMihola's full-sized avatar

DavidMihola

  • Wolkersdorf im Weinviertel
View GitHub Profile
This file has been truncated, but you can view the full file.
========================================================
== dumpstate: 2016-04-15 16:37:59
========================================================
Build: sugar_ref001-eng 4.2.2 JDQ39 20141031 test-keys
Build fingerprint: 'softwinners/sugar_ref001/sugar-ref001:4.2.2/JDQ39/20141031:eng/test-keys'
Bootloader: unknown
Radio: unknown
Network: (unknown)
Kernel: Linux version 3.3.0 (lien@ws01) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #94 SMP PREEMPT Fri Oct 31 09:44:24 CST 2014
@DavidMihola
DavidMihola / RetrofitErrorCodeTest.java
Last active December 14, 2020 17:59
A simple test for Retrofit2, RxJava and HTTP error codes
package com.example;
import okhttp3.ResponseBody;
import retrofit2.Response;
import retrofit2.Retrofit;
import retrofit2.RxJavaCallAdapterFactory;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Url;
import rx.Observable;
package com.example;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.util.List;
/**
* Created by dmta on 18.11.15.
*/
<html>
<head>
<meta property="og:title" content="My First App Link" />
<meta property="al:android:app_name" content="Kleine Zeitung" />
<meta property="al:android:package" content="com.tailoredapps" />
<meta property="al:android:class" content="com.kleinezeitung.next.SplashScreen_" />
<meta property="al:web:url" content="http://www.tailored-apps.com" />
<meta property="al:web:should_fallback" content="false" />
@DavidMihola
DavidMihola / dependencies
Last active August 29, 2015 14:16
gradle dependencies -- current versions
in alphabetical order, please:
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'
compile 'com.squareup.okhttp:okhttp:2.2.0'
compile 'com.squareup:otto:1.3.6'
compile 'com.squareup.picasso:picasso:2.5.0'