Skip to content

Instantly share code, notes, and snippets.

View RajeshBatth's full-sized avatar

Rajesh Batth RajeshBatth

View GitHub Profile
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
/* eslint-disable */
const enableOfflinePlugin = false
const __DEV__ = process.env.NODE_ENV === 'development'
const __OFFLINE__ = enableOfflinePlugin && !__DEV__
const path = require('path')
const glob = require('glob')
const webpack = require('webpack')
private void publishProfileDetails(){
final ProgressDialog updateProgress = ProgressDialog.show(this, "Updating Your Details", "Please Wait", false);
try{
JSONObject params = new JSONObject();
params.put("first_name",firstName.getText().toString());
params.put("last_name",lastName.getText().toString());
params.put("age",age.getText().toString());
if(maleBtn.isChecked())
package com.rajesh.retrofit2example;
import android.os.Bundle;
import android.support.annotation.AnimRes;
import android.support.annotation.IntDef;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
<code_scheme name="SquareAndroid">
<option name="USE_SAME_INDENTS" value="true" />
<option name="IGNORE_SAME_INDENTS_FOR_LANGUAGES" value="true" />
<option name="AUTODETECT_INDENTS" value="false" />
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="2" />
<option name="USE_TAB_CHARACTER" value="false" />
http://peternixey.com/post/83510597580/how-to-be-a-great-software-developer
public class MyViewPager extends ViewPager {
private BgDrawableAdapter mAdapter;
private Paint mFgPaint;
private Bitmap mBitmap, mNextBitmap;
private Paint mBgPaint;
private int mAlpha;
public MyViewPager(Context context) {
super(context);