Skip to content

Instantly share code, notes, and snippets.

View KrishGarg's full-sized avatar

Krish Garg KrishGarg

View GitHub Profile
[
{
"batch": "10 Class- Term 2",
"id": "28714-4782"
},
{
"batch": "11J1-A0S",
"id": "28740-4782"
},
{
import cheerio from "cheerio";
import fetch from "node-fetch";
import fs from "fs/promises"
const ALLOWED_CLASSES = {
"REGULAR CLASS-H": "Regular Class",
"MERGE CLASS-H": "Merge Class"
};
const DEFAULT_BATCH = "31216-4846"
{
"compilerOptions": {
"module": "commonjs",
"target": "es6"
},
"exclude": ["node_modules", "**/node_modules/*"]
}
@KrishGarg
KrishGarg / React Vite Tailwind
Last active October 22, 2021 00:53
The process to setup a react app with vite and tailwind css (with jit enabled.)
React Vite Tailwind setup
@KrishGarg
KrishGarg / Winston Logger Config
Last active October 1, 2021 15:03
logger.js with winston for node projects. Made for personal projects but it is public so if anyone wants to use this config, go ahead.
Winston Logger Config
@KrishGarg
KrishGarg / Package.json for vanilla js (Parcel)
Last active October 18, 2021 19:21
A default package.json for vanilla js projects with parcel and del-cli for clean up.
Package.json for vanilla js (Parcel)
@KrishGarg
KrishGarg / Pop-up Back To Top Button
Last active August 29, 2021 13:11
Pop-up Back To Top Button.
Title of the gist.