Skip to content

Instantly share code, notes, and snippets.

View Debdut's full-sized avatar
💭
Chill

Debdut Karmakar Debdut

💭
Chill
View GitHub Profile
@Debdut
Debdut / vim_cheatsheet.md
Last active January 25, 2023 19:53 — forked from awidegreen/vim_cheatsheet.md
Vim shortcuts

Introduction

C-a       Ctrl-a 
M-a       Alt-a

General

:q        close
:w        write/saves
@Debdut
Debdut / css-properties.css
Created March 19, 2021 06:42 — forked from simurai/css-properties.css
All CSS properties
/*
* CSS Properties
* http://ref.openweb.io/CSS/
**/
.properties {
align-content: value;
align-items: value;
align-self: value;
@Debdut
Debdut / promise.js
Created September 20, 2020 17:17 — forked from vkarpov15/promise.js
Simple Promises/A+ Compliant Promise
const assert = (v, err) => {
if (!v) {
throw err;
}
};
let counter = 0;
class Promise {
constructor(executor) {
@Debdut
Debdut / promise2.js
Created September 20, 2020 17:16 — forked from vkarpov15/promise2.js
Write Your Own Node.js Promise Library from Scratch, Part 2
class MyPromise {
constructor(executor) {
if (typeof executor !== 'function') {
throw new Error('Executor must be a function');
}
// Internal state. `$state` is the state of the promise, and `$chained` is
// an array of the functions we need to call once this promise is settled.
this.$state = 'PENDING';
this.$chained = [];
@Debdut
Debdut / gist:ec6589c22ab0c5eb22d0ed42b5e20f2c
Created June 16, 2020 00:40 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: