Skip to content

Instantly share code, notes, and snippets.

View kanxoramesh's full-sized avatar
🏠
Working from home

Ramesh Pokhrel kanxoramesh

🏠
Working from home
View GitHub Profile
@kanxoramesh
kanxoramesh / AdbCommands
Created April 8, 2020 05:42 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@kanxoramesh
kanxoramesh / docker-help.md
Created April 5, 2020 14:09 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@kanxoramesh
kanxoramesh / AuthTokenRefreshInterceptor.java
Created September 19, 2018 08:50 — forked from CarolusX74/AuthTokenRefreshInterceptor.java
How I automatically refresh OAuth "access token" with okhttp interceptors using "refresh token". All requests will wait until token refresh finished, and then will continue with the new token. - EN (By Carlos Torres)
package com.cjtp.android.api.interceptors;
import android.util.Log;
import com.google.gson.JsonObject;
import com.inviteez.android.core.Session;
import com.inviteez.android.utils.Constant;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;