Skip to content

Instantly share code, notes, and snippets.

@keithmorris
keithmorris / drive-format-ubuntu.md
Last active May 19, 2024 14:36
Partition, format, and mount a drive on Ubuntu
@jhaddix
jhaddix / all.txt
Last active May 19, 2024 14:35
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
@bmaupin
bmaupin / free-database-hosting.md
Last active May 19, 2024 14:35
Free database hosting

Thread Pools

Thread pools on the JVM should usually be divided into the following three categories:

  1. CPU-bound
  2. Blocking IO
  3. Non-blocking IO polling

Each of these categories has a different optimal configuration and usage pattern.

@mathcodes
mathcodes / dsa_pattern.md
Last active May 19, 2024 14:31
14 DSA Patterns to Master

14 Coding Patterns To Master

This is a collection of coding patterns I have learned to solve not only some of the most common problems, but the 14 patterns (yes, there are way more than 14, but the point here is taking 6 months of preparation and condensing it into a 30 minute read that would not take more than 1-2 weeks to master. I have found these problems and patterns to be the most useful in that the data structures and algorithms are used in many other problems and become familiar over time. Good luck!

Please feel free to comment if you got some value or find any errors!

Thanks!

Table of Contents

@Moutard3
Moutard3 / mp3-upload-direct-link.md
Last active May 19, 2024 14:30
Tutorials / Walkthrough for uploading & getting direct link of sound file (mp3, ogg, ...)
@Caellian
Caellian / A_option_list.md
Last active May 19, 2024 14:27
Dump of all Hades game console options
Option Value
/ResetRoomData bool
/ShowSocialLinks bool
/WindowY int
/SkipVideoCardTest bool
/SteamTrackpadMultiplier float
/LastUpdateDate std::string
/ZPassCullRadius float
/DirectLoadCheckpoint bool
import { Client } from "@upstash/qstash"
import { NextRequest } from "next/server"
const baseUrl = process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL
? `https://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL}`
: "http://localhost:3000"
interface Step<I> {
create: <O>(action: (prevResult: Awaited<I>) => O) => Step<O>
finally: (action: (prevResult: Awaited<I>) => any) => any
@notnotrobby
notnotrobby / cgp.md
Last active May 19, 2024 14:21
List of free resources to study computer graphics programming.