Skip to content

Instantly share code, notes, and snippets.

View Rafat97's full-sized avatar
🌎
Working for earth.

Emdadul Haque Rafat97

🌎
Working for earth.
View GitHub Profile

Get all the keys from a deeply nested object

const data = {
  a: "asdsa",
  c: "dsad",
  f: {
    sadasd: "dasd",
    w: "sad",
 m: {
const getBucketName = process.env.AWS_BUCKET_NAME;
const getBucketKey = process.env.AWS_BUCKET_KEY;
const getNewFileName = process.env.NEW_VIDEO_FILE_NAME;
await $`echo "Downloading file..."`;
await $`aws s3 cp s3://${getBucketName}/${getBucketKey} ./${getNewFileName}`;
await $`echo "Downloading end..."`;
// node ./TasinProblem.js

/**
 *
 * Problem is
 * Forced fully stop a function after a period of time
 *
 */

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

service: my-api-gateway
provider:
name: aws
runtime: nodejs6.10
region: sa-east-1
stage: v1
deploymentBucket: ${env:DEPLOYMENT_BUCKET}
iamRoleStatements:
- Effect: Allow
@Rafat97
Rafat97 / A.md
Last active February 7, 2022 16:27
🐳🐳 Docker Compose django & python 🐳🐳

🐳🐳 Dockerfile & Docker Compose React 🐳🐳

@Rafat97
Rafat97 / 1.md
Last active November 26, 2021 13:55
FFMPEG webcam udp livestreaming

💣 FFMPEG webcam UDP livestreaming 💣

@Rafat97
Rafat97 / 1.md
Last active July 26, 2023 06:09
💣 AWS EC2 Amazon Linux 2 init commend 💣

💣 AWS 💣

@Rafat97
Rafat97 / A.md
Last active January 14, 2021 11:54
How compilation process work

😮 How Compilation Process Worked 😮