Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 14:36
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@tykurtz
tykurtz / grokking_to_leetcode.md
Last active April 26, 2024 14:36
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@kekfultv
kekfultv / CompleteDiscordQuest.md
Created April 26, 2024 14:36 — forked from aamiaa/CompleteDiscordQuest.md
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@andrasguseo
andrasguseo / attendee-info-column.php
Last active April 26, 2024 14:36
ET+ > Show the collected attendee information on the Attendees page in a column
<?php
/**
* Description: Add a column with attendee information to the Attendees admin page in Event Tickets
* Usage: Paste the below snippet into your active (child) theme's functions.php file
* or use a plugin like Code Snippets.
*
* Plugin: Event Tickets, Event Tickets Plus
* Author: Andras Guseo
* Last updated: 2024-04-25
*/
@ChampionAsh5357
ChampionAsh5357 / 1204-1205-primer.md
Last active April 26, 2024 14:36
Minecraft 1.20.4 -> 1.20.5 Mod Migration Primer

Minecraft 1.20.4 -> 1.20.5 Mod Migration Primer

This is a high level, non-exhaustive overview on how to migrate your mod from 1.20.4 to 1.20.5. This does not look at any specific mod loader, just the changes to the vanilla classes.

This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.

If there's any incorrect or missing information, please leave a comment below. Thanks!

Pack Changes

# sh vcluster.sh bublebee-vcluster youcef 600Mi 2000m 300Mi 1000m
VCLUSTER=$1
NAMESPACE=$2
MEMORY_LIMIT=$3
CPU_LIMIT=$4
MEMORY_REQUEST=$5
CPU_REQUEST=$6