Skip to content

Instantly share code, notes, and snippets.

Balys Valentukevicius balysv

Block or report user

Report or block balysv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@balysv
balysv / T.java
Last active Jul 18, 2017
jackson + immutables.io deserialization issue
View T.java
package test;
import static com.fasterxml.jackson.annotation.JsonCreator.Mode.DELEGATING;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
@balysv
balysv / webtranslateit-android.sh
Created Aug 7, 2015
Small script to rename WebTranslateIt .xml files into Android Studio compatible format
View webtranslateit-android.sh
## WebTranslateIt file rename utility
# Run this script in unzipped folder of
# .xml resources to move them into
# Android Studio compatible folder format
#
# ./strings.de.xml -> ./values-de/strings.xml
declare -A dirnames
View gist:1a8950796b94b50963d5
### Keybase proof
I hereby claim:
* I am balysv on github.
* I am balysv (https://keybase.io/balysv) on keybase.
* I have a public key whose fingerprint is EC1F 3A22 9CEA D644 929F B6D7 0ECE 8019 900F E605
To claim this, I am signing this object:
@balysv
balysv / EndlessBindableAdapter.java
Last active Aug 29, 2015
Endless Collection adapter using RxJava and Bindable pattern for Android
View EndlessBindableAdapter.java
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.Collection;
import java.util.concurrent.atomic.AtomicInteger;
import rx.Observable;
You can’t perform that action at this time.