Skip to content

Instantly share code, notes, and snippets.

View amixpal's full-sized avatar

Amit Pal amixpal

  • RedEye Studio
  • Seattle
View GitHub Profile
$(document).ready(function() {
HandleLoginFunction();
});
var GenericErrorMessage = "Something went wrong! Please try again later.";
<!-- CSS Code: Place this code in the document's head (between the 'head' tags) -->
<style>
table.GeneratedTable {
width: 100%;
border-collapse: collapse;
border-width: 2px;
border-color: #46978C;
border-style: solid;
color: #000000;
}
{
"imageURL": "https://firebasestorage.googleapis.com/v0/b/fitme-226818.appspot.com/o/documents%2FAmit%20Pal2021-04-26%2012:28:18%20%2B0000?alt=media&token=75237305-211e-420a-8793-d0480f596de8",
"name": "personal",
"workoutFocusId": [
159114288059404
],
"bodyFocusId": [
159114236138203
],
"nutritionFocusId": null,
What are the different Session state management options available in ASP.NET?
What is caching?
What are the different types of caching?
List the events in page life cycle.
What is the good practice to implement validations in aspx page?
What is the difference between web config and machine config?
What are the asp.net Security Controls?
package com.fitme.app.activity.v2;
import android.os.Handler;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import androidx.recyclerview.widget.LinearLayoutManager;
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
package app.fitme.trainer.utils.common;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import android.util.Log;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GoogleApiAvailability;
@amixpal
amixpal / request.json
Created January 6, 2021 09:03
To place an order
{
"expectedDeliveryDate": "2020-05-20T12:45:21.072Z",
"extOrderReference": "Fynch-123456",
"extInvoiceReference": "Invoice-123456F",
"fulfillmentInstructions": "enter instructions here",
"personalCardText": "Thank you",
"orderLines": [{
"productCode": "0000061060516",
"productValue": 6,
geocoder.reverseGeocodeCoordinate(coordinate) { response, error in
guard
let address = response?.firstResult(),
let lines = address.lines
else {
return
}
var addressString : String = ""
if address.thoroughfare != nil {
{[
timeline : "7 days"
[
kpi {
unit : "",
value : ""
}
],
objective : [