Skip to content

Instantly share code, notes, and snippets.

View therajanmaurya's full-sized avatar
🎯
Focusing

Rajan Maurya therajanmaurya

🎯
Focusing
View GitHub Profile
@therajanmaurya
therajanmaurya / multiple_ssh_setting.md
Created October 29, 2017 20:51 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@therajanmaurya
therajanmaurya / introrx.md
Created June 24, 2016 09:54 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@therajanmaurya
therajanmaurya / DeleteModelInBatchOnSubscribe.java
Created June 23, 2016 11:43 — forked from trajakovic/DeleteModelInBatchOnSubscribe.java
Android DbFlow Update/Delete/Save models in batch with RxJava - ReactiveX with DbFlow
import android.database.Cursor;
import android.support.annotation.NonNull;
import com.raizlabs.android.dbflow.runtime.DBTransactionInfo;
import com.raizlabs.android.dbflow.runtime.TransactionManager;
import com.raizlabs.android.dbflow.runtime.transaction.BaseTransaction;
import com.raizlabs.android.dbflow.runtime.transaction.QueryTransaction;
import com.raizlabs.android.dbflow.runtime.transaction.TransactionListener;
import com.raizlabs.android.dbflow.sql.builder.ConditionQueryBuilder;
import com.raizlabs.android.dbflow.sql.language.Delete;
@therajanmaurya
therajanmaurya / proguard-rules.pro
Created June 21, 2016 12:22
proguard rules for roboguice, greendao, retrofit, support design, picasso
-target 1.6
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
-optimizationpasses 5
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application