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 November 1, 2024 15:10
๐Ÿ’ฃ 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 ๐Ÿ˜ฎ