Skip to content

Instantly share code, notes, and snippets.

@sunmeat
sunmeat / Program.cs
Last active March 30, 2026 19:06
приклад на пул потоків
using System.Text;
class Program
{
static readonly object fileLock = new object();
static void RoastDuck(object? state)
{
var dishName = (string?)state;
@tak-dcxi
tak-dcxi / css-responsive.md
Last active March 30, 2026 19:03
CSS Responsive Rules

CSS Responsive Rules

目的

レスポンシブ実装の判断基準を明確にし、不要なブレイクポイントとコード量を最小化する。 CSS はブラウザへの「提案」であり、厳密な命令ではない。ブラウザに委ねられる仕事は委ねる。

基本方針: エスカレーション順序

レスポンシブ対応は以下の優先順序で検討する。上位で解決できるなら下位は使わない。

@aaronpk
aaronpk / _howto.md
Last active March 30, 2026 19:00
How to compile and install spatialite on iOS

Spatialite for iOS

Install compiler dependencies

brew install automake autoconf libtool libxml2 pkg-config
brew link libxml2

Build libspatialite

@carefree-ladka
carefree-ladka / Google 2026 Interview Preparation - Complete Weekly Roadmap.mdx
Created December 31, 2025 15:09
Google 2026 Interview Preparation - Complete Weekly Roadmap

Google 2026 Interview Preparation - Complete Weekly Roadmap

image

Target: Crack Google L3/L4/L5 by 2026 Duration: 24 weeks (6 months intensive preparation) Daily Time Commitment: 3-4 hours minimum


@kettanaito
kettanaito / README.md
Last active March 30, 2026 18:58
Publishing to npm in 2026

Prerequisites

  • Use Node.js v24. Trusted Publishing does not work on earlier versions of Node.js.

Steps

  1. Go to "Account > Access Tokens" and click "Generate Access Token".
  2. Give the new token "read and write" persmissions to "All packages".
  3. If you have 2FA enabled on npm (which you should), check the "Bypass 2FA" checkbox neatly hidden in the UI. Otherwise, npm will fail with an error demanding an OTP during automatic publishing.
  4. Create the token.
@Als-Pal
Als-Pal / QUICKEN_AMAZON_MATCHER_GUIDE.md
Last active March 30, 2026 18:56
Quicken Amazon Transaction Matcher — auto-enrich Quicken transactions with Amazon order item names

Quicken ↔ Amazon Order History Matcher — AI Context Guide

What This Is

This file is a context document you can give to an AI coding assistant (Claude, ChatGPT, Copilot, etc.) so it understands the Quicken Amazon Matcher project and can help you set it up, troubleshoot it, or extend it.

How to use this file: Copy its contents into a conversation with your AI assistant, or upload it as an attachment. Then ask your question. The AI will have everything it needs to give you specific, accurate help.


Ubuntu setup(but without bloatware)

Download ubuntu(server) from: https://ubuntu.com/download/server.

In linux you can make bootable usb using dd command:

sudo dd if=file_name_ubuntu_server.iso of=/dev/sdX bs=4M status=progress
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active March 30, 2026 18:54
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }
@yisusvaldevrrey
yisusvaldevrrey / prompt-maestro-setup.md
Last active March 30, 2026 18:52
Prepara tu entorno para construir con IA — Setup para el método De Idea a Realidad

Prepara tu entorno para construir con IA

Estas son las instrucciones para dejar todo listo y poder usar el método de la guía De Idea a Realidad. Sigue los pasos en orden. Si algo ya lo tienes instalado, sáltalo.

Requisito previo: Necesitas una cuenta en alguno de estos agentes de IA:

  • Claude Code — requiere suscripción de pago. El plan mínimo es Claude Pro. Si no la tienes, suscríbete en claude.ai.
  • Codex — tiene versión gratuita. Solo necesitas una cuenta de OpenAI en platform.openai.com.

Puedes usar cualquiera de los dos. Si no tienes preferencia y quieres empezar sin pagar, empieza con Codex.