Skip to content

Instantly share code, notes, and snippets.

View KasRoudra's full-sized avatar
🚋
Taking preparation for exam

Roudra Sarker KasRoudra

🚋
Taking preparation for exam
View GitHub Profile

Initialize npm empty file

npm init -y

Install postcss

npm install -D postcss postcss-cli autoprefixer cssnano cssnano-preset-advanced
// Discord all events!
// A quick and dirty fleshing out of the discord.js event listeners (not tested at all!)
// listed here -> https://discord.js.org/#/docs/main/stable/class/Client
// Learn from this, do not just copy it mofo!
//
// Saved to -> https://gist.github.com/koad/316b265a91d933fd1b62dddfcc3ff584
// Last Updated -> Halloween 2022
/*
@longsangstan
longsangstan / react-text-file-reader.js
Created April 27, 2017 03:30
A React component to read text file.
import React from "react";
/*
Read a text file and out put the content.
Example Usage:
var myTxt = require("./myTxt.txt");
...