Skip to content

Instantly share code, notes, and snippets.

View deltanode's full-sized avatar
:octocat:
Working remotely

Yogesh Yadav deltanode

:octocat:
Working remotely
View GitHub Profile
@deltanode
deltanode / gist:c652647abdf7a161a5b544b49ec824de
Created May 17, 2023 14:12 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
/*=============== VARIABLES CSS ===============*/
:root{
--header-height: 3.5rem; /* 56px */
/*===== colors =====*/
--first-color: ;
--first-color-alt: ;
--first-color-light: ;
--first-color-lighten: ;
--title-color: ;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- FAVICON -->
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/x-icon">
<!-- GOOGLE FONTS -->
@deltanode
deltanode / Linear Gradient
Created August 29, 2022 10:19
List of must try linear gradient
linear-gradient(120deg,#ffa600,#ff5f58 30%,#4044b7 88%,#6151a2)
linear-gradient(90deg,#4ca5ff 2.34%,#b673f8 100.78%)
@deltanode
deltanode / execution-context.js
Created August 17, 2022 09:13
Pseudo Code - Execution Context in Javascript
ExecutionContext = {
VariableEnvironment: { … },
LexicalEnvironment: { … },
// other components
}
@deltanode
deltanode / environment-record.js
Last active August 17, 2022 09:15
Pseudo Code - Environment Record in Execution Context
executioncontext.environment = {
// storage
<identifier> : <value>,
<identifier> : <value>,
// reference to the parent environment
outer: <…>
}
@deltanode
deltanode / lexical-environment.js
Last active August 17, 2022 09:15
Pseudo Code - Lexical Environment in Execution Context
executioncontext.environment = {
environmentRecord: {
// storage
<identifier> : <value>
<identifier> : <value>
}
// reference to the parent environment
outer: <…>
}
@deltanode
deltanode / difference.csv
Last active August 17, 2022 09:14
Difference [Lexical Environment & Environment Record] - For Blog
Till ES2020 From ES2021
The `LexicalEnvironment component` and `VariableEnvironment component` of an execution context are always Lexical Environments The `LexicalEnvironment component` and `VariableEnvironment` components of an execution context are always Environment Records