Skip to content

Instantly share code, notes, and snippets.

@rheaditi
rheaditi / downloadKekaPayslips.js
Last active June 21, 2021 16:19
Download all Payslips from Keka HR Software
/**
* This puppeteer script will automatically download all payslips for you, if your company uses Keka HR Software.
* I downloaded about 4 years of payslips in approximately 2 minutes! :P
*
* - Download this file and save it in some temporary directory.
* - Fill in the params wherever you see the ℹ️ in this file & save.
* - Install the dependency `puppeteer-core` (just run `npm init` and `npm install --save puppeteer-core@2` in your directory).
* - Requires NodeJS >= 12 (tested with v12.13.1), puppeteer-core@2 & Google Chrome browser.
* - Run: `node downloadPayslips.js`
* - The files are all saved to the browser's default download folder.
@gricard
gricard / webpack4upgrade.md
Last active February 29, 2024 20:23
Just some notes about my attempt to upgrade to webpack 4

If you enjoyed reading this, I'm intending to do more blogging like this over here: https://cdgd.tech

This is not a complaint about Webpack or v4 in any way. This is just a record of my process trying it out so I could provide feedback to the webpack team

Hmm... I don't see any docs for 4.0 on https://webpack.js.org. I guess I'll just wing it. All I need to do is npm i -D webpack@next, right?

+ webpack@4.0.0-beta.2