Skip to content

Instantly share code, notes, and snippets.

View PawanKolhe's full-sized avatar
Pushing pixels & shipping commits

Pawan Kolhe PawanKolhe

Pushing pixels & shipping commits
View GitHub Profile
@PawanKolhe
PawanKolhe / USEFUL_WEBSITES.md
Last active November 16, 2025 15:38
Compilation of useful websites for frontend engineering

📋 Frontend Engineering SDLC Checklists 📋

Task Grooming

  • Due date / Timeline of entire feature?
    • Can timeline be divided into phases?
  • Product Announcement required?
    • How are POCs that need to be kept in the loop.
  • Feature Flag/Toggle required? Plan and timeline to deprecate the flag?
  • Backend Effort required?
@PawanKolhe
PawanKolhe / throttle.js
Last active October 7, 2023 03:05
Throttling in JavaScript
/**
* Throttling a function stops the execution of
* a function call for a certain amount of time
* after it is invoked. Throttled function can
* be invoked again after the timeout expires.
*/
const throttle = (callback, timeout) => {
let shouldInvoke = true;
const throttledCallback = function(...args) {
@PawanKolhe
PawanKolhe / debounce.js
Last active October 6, 2023 20:03
Debouncing in JavaScript
/**
* Debouncing a function limits the execution of
* a function call by delaying the function call
* for a certain amount of time. Delay timer is reset
* each time a debounced function is called.
*/
const debounce = (callback, delay) => {
let timeoutId = null;
const debouncedCallback = function(...args) {
@PawanKolhe
PawanKolhe / gulpfile.js
Created December 10, 2020 17:48
Gulp config for Sass processing
const gulp = require('gulp');
const del = require('del');
const sass = require('gulp-sass');
const postcss = require('gulp-postcss');
const autoprefixer = require('autoprefixer');
const env = require('postcss-preset-env');
gulp.task('clean', () => {
return del([
'dist/css/',
@PawanKolhe
PawanKolhe / flattenObject.js
Created September 18, 2020 06:13
Flattens object, separating keys with underscores
const user = {
"id": 1,
"name": "Leanne Graham",
"username": "Bret",
"email": "Sincere@april.biz",
"address": {
"street": "Kulas Light",
"suite": "Apt. 556",
"city": "Gwenborough",
"zipcode": "92998-3874",

Keybase proof

I hereby claim:

  • I am PawanKolhe on github.
  • I am pawankolhe (https://keybase.io/pawankolhe) on keybase.
  • I have a public key whose fingerprint is 8FBC 9821 FCF5 0227 CF9B 906D D076 FAEA EAE2 6E9E

To claim this, I am signing this object: