Skip to content

Instantly share code, notes, and snippets.

View sumit-gupta91's full-sized avatar

Sumit Gupta sumit-gupta91

View GitHub Profile
{
"customerid": "917012969837",
"ac": {
"name": "PRIYANK PRAVINCHANDRA SHAH",
"accRefNumber": "OyQGvlTDk5bbESSMbBdAZTC2n9E=",
"ifsc": "AXIS0000003",
"vpa": "7012969837-123@axis",
"type": "SAVINGS",
"atmpinFormat": "FORMAT2"
},
Axis request
{
"customerid": "917012969837",
"ac": {
"name": "PRIYANK PRAVINCHANDRA SHAH",
"accRefNumber": "OyQGvlTDk5bbESSMbBdAZTC2n9E=",
"ifsc": "AXIS0000003",
"vpa": "7012969837-123@axis",
"type": "SAVINGS",
"atmpinFormat": "FORMAT2"
Axis request
{
"customerId": "917012969837",
"ac": {
"name": "PRIYANK PRAVINCHANDRA SHAH",
"accRefNumber": "OyQGvlTDk5bbESSMbBdAZTC2n9E=",
"ifsc": "AXIS0000003",
"vpa": "rzp@rzp",
"type": "SAVINGS",
"atmpinFormat": "FORMAT2"
@sumit-gupta91
sumit-gupta91 / alb_sumo.txt
Created October 29, 2021 08:14 — forked from rupertbg/alb_sumo.txt
AWS Application Load Balancer (ALB, ELB v2) log message parse query for Sumologic
parse "* * * * * * * * * * * * \"*\" \"*\" * * * \"*\" \"*\" \"*\" * * \"*\" \"*\" \"*\"" as type, timestamp, elb, client, target, request_processing_time, target_processing_time, response_processing_time, elb_status_code, target_status_code, received_bytes, sent_bytes, request, user_agent, ssl_cipher, ssl_protocol, target_group_arn, trace_id, domain_name, chosen_cert_arn, matched_rule_priority, request_creation_time, actions_executed, redirect_url, error_reason
@sumit-gupta91
sumit-gupta91 / gist:06a8ad3c09866fcde18885c02d21a33a
Created June 1, 2020 12:54
A way to reduce complexity while exporting a component
import { bindActionCreators, compose } from 'redux';
const mapStoreToProps = data => ({
[createVendorPayoutFields.EXISTING_VENDOR]:
data[createVendorPayoutFields.EXISTING_VENDOR],
[createVendorPayoutFields.CREATED_VENDOR]:
data[createVendorPayoutFields.CREATED_VENDOR],
[createVendorPayoutFields.VENDOR_STEP_STATE]:
data[createVendorPayoutFields.VENDOR_STEP_STATE],
@sumit-gupta91
sumit-gupta91 / phoenix_project_notes.md
Created August 28, 2018 10:07 — forked from rhenning/phoenix_project_notes.md
Notes from The Phoenix Project

The Phoenix Project

Chapters 1-5

  • Bill goes out of his way during his conversation with Dick to understand the real business impact of the payroll outage.
  • IT Operations is frequently viewed as a business cost/liability rather than a valued asset, as evidenced by language used to discuss infrastructure. Steve says "IT ... should be like the toilet ... I don't ever
new SWPrecacheWebpackPlugin({
cacheId: 'rodimus',
filename: 'serviceWorker.js',
staticFileGlobsIgnorePatterns: [/\.map$/, /\.json$/],
importScripts: ['offline/offline.00000002.js'],
dontCacheBustUrlsMatching: /./,
minify: true,
runtimeCaching: [{
urlPattern: new RegExp('/images.treebohotels.com/'),
@sumit-gupta91
sumit-gupta91 / ComposeDropDownParent.jsx
Created December 5, 2017 06:01
How a parent component can reuse two dropdown components
class ParentComponent extends Component {
state = {
active: true,
}
toggleVisibility = () =>
this.setState(({ active}) => ({
active: !active
}))
// .ssrp__review {
// padding: 28px;
// display: flex;
// flex-direction: column;
// align-items: center;
// &:nth-child(2) {
// margin-top: 32px;
// }
@sumit-gupta91
sumit-gupta91 / 0_reuse_code.js
Created December 14, 2016 06:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console