Skip to content

Instantly share code, notes, and snippets.

View wotomas's full-sized avatar
🎯
Focusing

Blocksage wotomas

🎯
Focusing
View GitHub Profile
@wotomas
wotomas / uploadBintray.sh
Created August 28, 2017 02:23
Bash Script to release your Android and other artifacts to bintray, when using bintray-release library
clear
echo "You are going to upload your library to bintray?"
select yn in "Yes" "No"; do
case $yn in
Yes )
echo "Please Type your bintray username: "
read username
echo "Please Type your bintray API Key: "
read apiKey
@wotomas
wotomas / ZoomableViewGroup.java
Last active July 25, 2017 08:32
ZoomableViewGroup with max min zoom scope and zoom boundaries
package info.kimjihyok.customviewtestproject;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.PointF;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
@wotomas
wotomas / RetryWithExponentialBackOff.java
Last active August 29, 2022 01:19
Rxjava Retry With Exponential Backoff
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import rx.Observable;
import rx.functions.Func1;
import rx.functions.Func2;
import rx.schedulers.Schedulers;
/**
* Created by jimmy on 30/05/2017.