This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function getPayPageUrl(marchentUserId, amount) { | |
try { | |
const txnId = randomUUID(); | |
const muId = marchentUserId || randomUUID(); | |
const merchantTransactionId = txnId; | |
const data = { | |
merchantId: PHONEPE_MARCHENT_ID, | |
merchantTransactionId: txnId, | |
merchantUserId: muId, | |
// name: req.body.name, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,8pt]{article} | |
\usepackage{parskip} | |
\usepackage{hologo} | |
\usepackage{fontspec} | |
%other packages for formatting | |
\RequirePackage{color} | |
\RequirePackage{graphicx} | |
\usepackage[usenames,dvipsnames]{xcolor} |
I hereby claim:
- I am abdus on github.
- I am abdus (https://keybase.io/abdus) on keybase.
- I have a public key ASBqzQFYfJOQUN9_fsAALrBFZ-Lk-pBs7OdK26rZQpMEZAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# blog: https://sysdown.co/devops/terraform-lambda-ag-deployment/ | |
resource "aws_api_gateway_resource" "lambda_api_gateway_proxy" { | |
rest_api_id = aws_api_gateway_rest_api.lambda_api_gateway.id | |
parent_id = aws_api_gateway_rest_api.lambda_api_gateway.root_resource_id | |
path_part = "{proxy+}" | |
} | |
resource "aws_api_gateway_method" "lambda_api_gateway_method" { | |
rest_api_id = aws_api_gateway_rest_api.lambda_api_gateway.id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* the first example uses Kotlin's data classes to define the structure | |
* this is the suitable approach if the classes are already defined | |
*/ | |
data class UserData( | |
var user_id: String? = null, | |
var user_name: String? = null | |
) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Back-up Level Database and store it in a S3 bucket in Gunzip format | |
* required packages: | |
* 1. mysqldump | |
* 2. gzip | |
* 3. aws-cli | |
* | |
* set mysql credentials using mysql_config_editor | |
* 1. mysql_config_editor set --password | |
* 2. mysql_config_editor print --all (to see config option) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "es5", | |
"lib": [ | |
"dom", | |
"dom.iterable", | |
"esnext" | |
], | |
"allowJs": true, | |
"skipLibCheck": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>WebRTC Practice</title> | |
</head> | |
<body> | |
<video | |
id="vid1" | |
src="" |
NewerOlder