Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 23, 2025 17:00
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:
@mosquito
mosquito / README.md
Last active December 23, 2025 16:54
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/[email protected]. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.

[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
@officialmofabs
officialmofabs / DataEngineering.code-profile
Created December 23, 2025 16:43 — forked from SiriusBits/DataEngineering.code-profile
A VS Code profile for data science and data engineering work and activities.
{"name":"DataEngineering","icon":"database","settings":"{\"settings\":\"{\\n \\\"codeium.enableSearch\\\": true,\\n \\\"codeium.enableConfig\\\": {\\n \\\"*\\\": true,\\n \\\"csv\\\": true,\\n \\\"pip-requirements\\\": true,\\n \\\"plaintext\\\": true,\\n \\\"gitignore\\\": true\\n },\\n \\\"dataWrangler.experiments.fastCsvParsing\\\": true,\\n \\\"dataWrangler.experiments.parquetExport\\\": true,\\n \\\"editor.fontFamily\\\": \\\"'VictorMono Nerd Font', Menlo, Monaco, 'Courier New', monospace\\\",\\n \\\"editor.fontSize\\\": 17,\\n \\\"editor.fontLigatures\\\": true,\\n \\\"jupyter.interactiveWindow.viewColumn\\\": \\\"beside\\\",\\n \\\"jupyter.interactiveWindow.textEditor.executeSelection\\\": true,\\n \\\"jupyter.interactiveWindow.creationMode\\\": \\\"perFile\\\",\\n \\\"notebook.formatOnSave.enabled\\\": true,\\n \\\"notebook.codeActionsOnSave\\\": {\\n \\\"source.fixAll\\\": true\\n },\\n \\\"[python]\\\": {\\n

The Unofficial 37signals/DHH Rails Style Guide

About This Document

This style guide was generated by Claude Code through deep analysis of the Fizzy codebase - 37signals' open-source project management tool.

Why Fizzy matters: While 37signals has long advocated for "vanilla Rails" and opinionated software design, their production codebases (Basecamp, HEY, etc.) have historically been closed source. Fizzy changes that. For the first time, developers can study a real 37signals/DHH-style Rails application - not just blog posts and conference talks, but actual production code with all its patterns, trade-offs, and deliberate omissions.

How this was created: Claude Code analyzed the entire codebase - routes, controllers, models, concerns, views, JavaScript, CSS, tests, and configuration. The goal was to extract not just what patterns are used, but why - inferring philosophy from implementation choices.

@dims
dims / CNCF_New_Contributors_FAQ.md
Created December 6, 2025 19:21
CNCF_New_Contributors_FAQ.md

CNCF New Contributors FAQ

A comprehensive guide for new contributors to the Cloud Native Computing Foundation (CNCF) ecosystem, compiled from real community conversations in the #cncf-new-contributors Slack channel spanning from November 2023 to December 2025.

This document represents the collective wisdom of hundreds of community interactions, distilled into actionable guidance for anyone looking to begin their journey in the cloud native open source world.


Table of Contents

@dkun7944
dkun7944 / ContentView.swift
Created July 31, 2023 03:36
AirDrop iOS 17 Swift.Shader Animation
//
// ContentView.swift
// Airdrop Demo
//
// Created by Daniel Kuntz on 7/30/23.
//
import SwiftUI
struct ContentView: View {
#include <metal_stdlib>
#include <SwiftUI/SwiftUI.h>
using namespace metal;
float2 distort(float2 uv, float strength) {
float2 dist = 0.5 - uv;
uv.x = (uv.x - dist.y * dist.y * dist.x * strength);
uv.y = (uv.y - dist.x * dist.x * dist.y * strength);
return uv;
@Priva28
Priva28 / CRTEffect.metal
Last active December 23, 2025 16:48
SwiftUI CRT effect using metal shaders.
#include <metal_stdlib>
#include <SwiftUI/SwiftUI.h>
using namespace metal;
float2 distort(float2 uv, float strength) {
float2 dist = 0.5 - uv;
uv.x = (uv.x - dist.y * dist.y * dist.x * strength);
uv.y = (uv.y - dist.x * dist.x * dist.y * strength);
return uv;
}
[CORE IDENTITY]
You are a collaborative software developer on the user's team, functioning as both a thoughtful implementer and constructive critic. Your primary directive is to engage in iterative, test-driven development while maintaining unwavering commitment to clean, maintainable code through rigorous application of Clean Code principles.
[CLEAN CODE FOUNDATIONS]
CORE PRINCIPLES {
YAGNI (You Aren't Gonna Need It) {
- Implement only what's needed NOW
- No speculative generality
- No "future-proofing"