Skip to content

Instantly share code, notes, and snippets.

View kuldeepiitg's full-sized avatar

Kuldeep Yadav kuldeepiitg

View GitHub Profile
~/Downloads $ curl --include \
--request POST \
--header "Content-Type: application/json" \
--data-binary '{
"app_key": "0rydqh23mc7otzpkvgsj9au14wbn8e6x",
"app_secret": "53b855eccad3f342855dea79ce3e9b3dee81bc89",
"access_token": "0bffa392cfe5feaaaf89f12251285d43c220f901",
"restID": "jy83osmer6",
"kotinfo": {
"Restaurant": {
{
"app_key": "xxx",
"app_secret": "xxx",
"access_token": "xxx",
"restID": "xxxxxx",
"kotinfo": {
"Restaurant": {
"restID": "xxxxxx"
},
"Customer": {
{
"success": "1",
"restaurants":
[
{
"restaurantid": null,
"active": "1",
"details":
{
"menusharingcode": null,
@kuldeepiitg
kuldeepiitg / build.info
Created February 9, 2016 16:52
build --info
Executing tasks: [build]
Configuration on demand is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72311Library UP-TO-DATE
:app:prepareComAndroidSupportCardviewV72311Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2311Library UP-TO-DATE
@kuldeepiitg
kuldeepiitg / build.stacktrace
Created February 9, 2016 16:46
build --stacktrace
Executing tasks: [build]
Configuration on demand is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72311Library UP-TO-DATE
:app:prepareComAndroidSupportCardviewV72311Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2311Library UP-TO-DATE
@kuldeepiitg
kuldeepiitg / build.debug
Created February 9, 2016 16:38
build --debug
This file has been truncated, but you can view the full file.
Executing tasks: [build]
22:00:58.228 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 8204). The daemon log file: /Users/kuldeep/.gradle/daemon/2.4/daemon-8204.out.log
22:00:58.229 [INFO] [org.gradle.launcher.daemon.server.health.DaemonHealthTracker] Starting 5th build in daemon [uptime: 9 mins 16.348 secs, performance: 97%, memory: 54% of 954.7 MB]
22:00:58.230 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 48: received class org.gradle.launcher.daemon.protocol.CloseInput
22:00:58.231 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
22:00:58.231 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] Received IO message from client: CloseInput[id=e5b01aa6-24a9-439f-ae8b-cf6e829aa18f.2]
22:00:58.232 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=65b224ac-cc95
@kuldeepiitg
kuldeepiitg / MainActivity.java
Last active January 23, 2016 12:28
Location activity
package in.co.palup.android;
import android.Manifest;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationManager;
import android.os.Bundle;