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
"use strict"; | |
const axios = require("axios"); | |
const https = require("https"); | |
async function uploadFileToPresignedUrl(presignedUrl, fileUrl) { | |
const response = await axios({ | |
method: "get", | |
url: fileUrl, | |
responseType: "stream", | |
httpsAgent: new https.Agent({ keepAlive: true }), |
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
version: '3' | |
services: | |
app: | |
build: | |
context: . | |
dockerfile: nodejs/Dockerfile | |
args: | |
# Update 'VARIANT' to pick an LTS version of Node.js: 16, 14, 12. | |
# Append -bullseye or -buster to pin to an OS version. |
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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Shyam Sunder Verma", | |
"label": "Lead & Manager, Full Stack Team", | |
"image": "", | |
"email": "er.ssverma@gmail.com", | |
"phone": "9982231113", | |
"url": "", | |
"summary": "Shyam is passionate to problem solving, he eagerly learns and adapt to solve problems. \nHe leads his team by example and firmly believes in empathy & innovation driven teams.\nHe represented Ready Bytes in the delegation of NASSCOM’s first India-US Startup Konnect. (2015)\n\nShyam founded Ready Bytes in 2009. In last 12 years it have built more than 10+ web/mobile products. \n● PayPlans: Worlds #1 Joomla Payment Component (2009-2017, Sold)\n● Products Review Analysis & Recommendation Engine ReadyViews (2015-2018 Shutdown)\n● Exchange Rate analysis platform ExchangeRateIQ (2016-2018, Sold)\n● 15+ mobile apps in last years (2015-Present)\n\nReady Bytes have worked for clients as well |
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
#!/bin/bash | |
parent_branch="${1:-master}" | |
# Check if the current branch has any uncommitted changes | |
if [[ $(git status --porcelain) ]]; then | |
echo "Error: The current branch has uncommitted changes. Please commit or stash them before running this script." | |
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
#!/bin/bash | |
parent_branch="${1:-master}" | |
# Switch to the root directory of the Git repository | |
cd "$(git rev-parse --show-toplevel)" | |
# Check if there are any uncommitted changes | |
if [[ -n $(git status -s) ]]; then | |
echo "There are uncommitted changes in the branch. Please commit or stash them before running this script." |
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
# for checking if it belongs ot our domain list | |
{ | |
email myemail@example.test | |
on_demand_tls { | |
ask https://api.example.test/check-domain | |
interval 2m | |
burst 5 | |
} | |
} |
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 notLoadedFor = 1; | |
let loadingElementId = 'loading-counter'; | |
function reloadVueApp() { | |
var path = window.location.href + "?reset=true&ver=" + Math.random().toString(36).substring(2); | |
window.location.href = path; | |
}; | |
const interval = setInterval(function() { | |
let el = document.getElementById(loadingElementId); |
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
function rnIsMobileApp() { | |
// check website open in browser or mobile app | |
return window.ReactNativeWebView !== undefined; | |
} | |
// Returns if a value is a string | |
function rnIsString(value) { | |
return typeof value === 'string' || value instanceof String; | |
} |
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
# Disable Directory listing | |
Options -Indexes | |
# block files which needs to be hidden // in here specify .example extension of the file | |
<Files ~ "\.(env|json|config.js|md|gitignore|gitattributes|lock)$"> | |
Order allow,deny | |
Deny from all | |
</Files> | |
# in here specify full file name sperator '|' |
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
<?php | |
namespace App\Sk\Session; | |
use App\Sk\SkApi; | |
use Carbon\Carbon; | |
use App\Sk\SkModel; | |
use App\Sk\SkPayload; | |
use App\Sk\User\User; |
NewerOlder