Skip to content

Instantly share code, notes, and snippets.

View max1mde's full-sized avatar
💀
I can't take it anymore

Maxim max1mde

💀
I can't take it anymore
View GitHub Profile
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active July 30, 2024 07:45
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@poonia
poonia / gh-pages_and_parceljs
Created March 19, 2019 08:57
gh-pages with parceljs
1.Create a github repo(It using github for free, then create a public repo).
2.Create a "gh-pages" branch
3.Clone it on local machine.
4.checkout to gh-pages branch
5.`npm init -y` in that local repo
6.`npm install --save-dev parcel-bundler` install parcel as dev dependency.
7. Add .html, .css and .js files.
8. Lets add npm script for bundling with parcel js.
9. `"start": "parcel src/index.html"`
Now we want to push code in github pages
@DavidWells
DavidWells / tiny-markdown-text.md
Last active July 12, 2024 15:00
Tiny tiny markdown text

How to make tiny text in markdown

Normal text here. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer vitae mauris arcu, eu pretium nisi. Vivamus vitae mi ligula, non hendrerit urna. Suspendisse potenti. Quisque eget massa a massa semper mollis.

Tiny text is here. Awwwww its so cuteeeeeeeeeee

Normal big text

@Iliannnn
Iliannnn / Discord.js-v14-Events.md
Last active July 29, 2024 03:31
Discord.js v14 Events - Cheatsheet

Discord.js v14 Events

An overview of all events in Discord.js v14 with examples.

📢 | Last updated: 27 July 2022

ℹ️ | client references to your client instance.

ℹ️ | The v13 overview can be found here.

@max1mde
max1mde / GenerateFriendInvite.js
Last active July 17, 2024 10:02
Discord friend invite link generator - Console script (Tested 7/17/2024)
const deepSearchForMethod = (obj, methodName, path = '', visited = new Set(), maxDepth = 10, depth = 0) => {
if (depth > maxDepth || visited.has(obj)) {
return null;
}
visited.add(obj);
for (let key in obj) {
if (obj[key] && typeof obj[key] === 'object') {
if (obj[key][methodName]) {
console.log(`Found ${methodName} at path: ${path}.${key}`);