Skip to content

Instantly share code, notes, and snippets.

@nyxorz
nyxorz / CompleteDiscordQuest.md
Created January 3, 2026 06:30 — forked from aamiaa/CompleteDiscordQuest.md
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created January 3, 2026 06:29
Rimworld output log published using HugsLib
Log uploaded on Saturday, January 3, 2026, 2:29:25 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
Visual Exceptions(brrainz.visualexceptions)[mv:1.4.0.0]: CrossPromotion(1.1.2), VisualExceptions(1.4.0)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
@Wintus
Wintus / zip-merge.rs
Created January 3, 2026 06:28
Merging ZIP Files Without Deflation
use std::fs::File;
use std::io::{self, Read, Seek, SeekFrom, Write};
use std::path::PathBuf;
use zip::read::ZipArchive;
use zip::result::ZipResult;
#[derive(Debug)]
struct EntryInfo {
filename: String,
@kpab
kpab / 20260103.md
Created January 3, 2026 06:28
コミット数を可視化する

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created January 3, 2026 06:26
pw1037862-p14364951
CHECK: extern prototypes should be avoided in .h files
#281: FILE: include/linux/hugetlb.h:1321:
+extern void __init hugetlb_cma_reserve(void);
total: 0 errors, 0 warnings, 1 checks, 216 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
Commit 64f14dab3c1d ("mm, arch: consolidate hugetlb CMA reservation") has style problems, please review.
@AnotherSubatomo
AnotherSubatomo / Line.luau
Created January 3, 2026 06:25
Minimal, ergonomic, and robust line-drawing library for drawing Path2Ds with arbitrary point count.
-- Minimal, ergonomic, and robust line-drawing library
-- for drawing Path2Ds with arbitrary point count.
-- License: MIT
-- Author: @AnotherSubatomo (GitHub)
--!strict
--!optimize 2
--!native
@schandra81
schandra81 / wheel_options_data.json
Created January 3, 2026 06:25
Wheel Options Data - Auto-generated - 2026-01-03 06:25 UTC
{
"fileDescription": "Consolidated options data including Robinhood account info, active orders, stock quotes, and option chains with Greeks for all symbols with active positions",
"generatedAtUtc": "2026-01-03T06:25:23.5946788Z",
"accountBuyingPowerUsd": "17732.6500",
"totalSymbolsWithActiveOrders": 3,
"totalActiveOrdersCount": 3,
"symbolsData": [
{
"tickerSymbol": "RKLB",
"currentStockQuote": {
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created January 3, 2026 06:25
Rimworld output log published using HugsLib Standalone Log Publisher
This file has been truncated, but you can view the full file.
Log uploaded on Saturday, January 3, 2026, 1:24:20 AM
Loaded mods:
Auto Mod Config (Continued)(Garethp.ModlistConfigurator)[v:1.0.0]: ModlistConfigurator(0.0.0)
Prepatcher(jikulopo.prepatcher)[v:1.3.1]: 0Harmony(2.4.2), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.3.1), Prestarter(1.0.0)
Harmony(brrainz.harmony)[v:2.4.2.0][mv:2.4.2.0]: 0Harmony(av:2.4.2,fv:2.4.1), HarmonyMod(2.4.2)
Loading Progress(ilyvion.LoadingProgress)[v:0.9.5]: ilyvion.LoadingProgress(0.9.5)
Better Stacktraces(aleksey.betterstacktraces): BetterStacktraces(1.0.0)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
import axios from 'axios'
window.axios = axios
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'
// Add CSRF token header for Laravel (prevents 419 on POST/PUT/DELETE)
const token = document.head.querySelector('meta[name="csrf-token"]')
if (token) {