This file contains 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
{ | |
"keys": [ | |
{ | |
"kty": "RSA", | |
"kid": "YL3gLAPGmmEk7ufk-cbK6_SrPAcPeLIpCw-l3ijferQ", | |
"use": "sig", | |
"alg": "RS384", | |
"e": "AQAB", | |
"n": "sgqeMd56yk4ZYxKC2oQn05P0BZZMVhHgFeu9CNJswmQlhv3KL9fGtn65aOEKpWdLhgYpOKGFqj-efY6X9TR34TnhG0eM3SFPVqEzAIiHW0w6fSDTAmnm_YOUw6apQj1BJVNdVaNjaOaCFeQy2KtoVJfZn3CiZaQUw3yqi7oWSirBMwWlhvw4PzpvE6rgt2UM9JVtvwWJuwgLS2jsxoqAuuV79jHcTKkj0W4_hOLJuT1wyrV9-KL8rQggUlzkmR6ilkpXXvqPn2y0rI_kNHmNthAeG8G85R25eFdclS7fxMrnCfifEpqFdqoHYUJiqdNKktuRWJoLHQ9SNEvDlq1lcQ" | |
} |
This file contains 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
#!/usr/bin/env sh | |
ROOT_DIR=$(cd "$(dirname "$0")/..";pwd -P) | |
PACKAGE_NAME=${1:-} | |
COMPLETE_FLAG="--complete" | |
if [ -z "$PACKAGE_NAME" ]; then | |
echo "Usage ./`basename $0` <app-name> <package>" | |
echo " i.e. ./`basename $0` applicant-app react-native" | |
exit 1 | |
fi |
This file contains 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
import express from 'express'; | |
import Joi from './joi'; | |
import validate from 'express-validation'; | |
import HttpStatus from 'http-status-codes'; | |
import logger from './logger'; | |
const validators = { | |
list: { | |
query: { | |
limit: Joi.number().min(0).max(100).default(25), |
This file contains 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
{ | |
"data": [ | |
{ | |
"id": 933, | |
"user_id": null, | |
"name": "Caspian Sea", | |
"description": "Caspian sea is considered to be one of the best food corners. It has a large variety of food along with a very pleasant ambiance, wonderful location and dining facilities. A must visit and dine in place.", | |
"slug": "caspian-sea", | |
"thumb_image": "https://cdn.hungerist.com/public/uploads/rest/featured/03094630127864_2032553690153238_5340232413085696000_n.jpg", | |
"featured_image": "https://cdn.hungerist.com/public/uploads/rest/featured/03094630127864_2032553690153238_5340232413085696000_n.jpg", |
This file contains 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
[ | |
{ | |
"code":"AF", | |
"id":1, | |
"label":"Region", | |
"name":"Afghanistan", | |
"phone_country_code":93, | |
"provinces":[ | |
], |
This file contains 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
{"lastUpload":"2021-04-30T23:36:01.041Z","extensionVersion":"v3.4.3"} |
This file contains 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
<script> | |
let base_url = 'https://zarashahjahan.com'; | |
let url = ''; | |
try { | |
let order_id_sel = document.getElementsByClassName("os-order-number") | |
let orderid = order_id_sel.length ? order_id_sel[0].innerText.toLocaleLowerCase().replace("order", "").trim() : null | |
const mop = | |
document.getElementsByClassName('payment-method-list_item_info') | |
.length !== 0 |
This file contains 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
import serial, time, datetime | |
import struct #Convert between strings and binary data | |
import sys | |
import os | |
import binascii | |
import mysql.connector | |
cnx=mysql.connector.connect(user='root',password='root',host='localhost',database='fingerdb', port=8889) # connect to MySql database | |
cur=cnx.cursor() | |
ser = serial.Serial('/dev/tty.usbmodem14101',57600) # serial communication in Linux |
This file contains 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
{ | |
"env": { | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 8 | |
}, | |
"globals": { |
This file contains 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
/** | |
* This example will convert all boolean values into string. | |
**/ | |
function parse(obj, parent) { | |
for (let key in obj) { | |
let value = obj[key]; | |
if (typeof value === "object") { | |
let tmpParent = Array.isArray(value)) ? [] : {}; | |
parent[key] = parse(value, tmpParent); |
NewerOlder