Skip to content

Instantly share code, notes, and snippets.

@matey-jack
matey-jack / dl-list-mini.fs
Last active June 14, 2025 16:57 — forked from anonymous/dllist.rs
Simple doubly-linked list in safe Rust
//! A doubly-linked list in 50 LOCs of stable and safe Rust.
// Backup-fork of https://play.rust-lang.org/?gist=c3db81ec94bf231b721ef483f58deb35
use std::cell::RefCell;
use std::rc::{Rc, Weak};
use std::fmt::Display;
// The node type stores the data and two pointers.
//
// It uses Option to represent nullability in safe Rust. It has zero overhead
// over a null pointer due to the NonZero optimization.
@jonatasbueno
jonatasbueno / guia.md
Last active June 14, 2025 16:56
Estilizando terminal no Linux Ubuntu com Kettiy

🛠️ Guia Completo: Kitty + Zsh + Powerlevel10k no Ubuntu 24.04.2 LTS

Este guia mostra como configurar um terminal leve, moderno e bonito com:

  • Kitty como emulador de terminal padrão
  • Zsh
  • Powerlevel10k
  • Autosuggestions e Syntax Highlighting
  • Fonte Nerd Font com ícones e ligaduras ativadas
  • Tema escuro compatível com Powerlevel10k
@a-c-m
a-c-m / reflection.md
Last active June 14, 2025 16:53
reflection.md - a way to have claude-code self improve its context.

You are an expert in prompt engineering, specializing in optimizing AI code assistant instructions. Your task is to analyze and improve the instructions for Claude Code. Follow these steps carefully:

  1. Analysis Phase: Review the chat history in your context window.

Then, examine the current Claude instructions, commands and config <claude_instructions> /CLAUDE.md /.claude/commands/*

@hanxiao
hanxiao / testRegex.js
Last active June 14, 2025 16:51
Regex for chunking by using all semantic cues
// Updated: Aug. 20, 2024
// Run: node testRegex.js whatever.txt
// Live demo: https://jina.ai/tokenizer
// LICENSE: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0)
// COPYRIGHT: Jina AI
const fs = require('fs');
const util = require('util');
// Define variables for magic numbers
const MAX_HEADING_LENGTH = 7;
@knightstempler
knightstempler / block_gc.txt
Created March 22, 2024 19:50 — forked from rapinsa/block_gc.txt
Block Adobe Hosts C:\drivers\etc\hosts
For anyone who might read this in the future, I've found the best solution to this problem. For some reason I didn't need to go through all these steps on my surface pro adobe programs, but my desktop gave me issues. So if you're still having issues after doing the following, read on.
If you just end the process in Task Manager, the pop-up comes back up eventually.
If you just delete the files in "C:\Program Files (x86)\Common Files\Adobe\AdobeGCClient" or the folder itself, they may just recreate themselves every day or two.
If you delete/disable the Adobe services or schedules in Task Scheduler, those may just come back too.
To solve these issues, I decided to make a .bat file that deletes every file in that AdobeGCClient folder (exact location may depend on your Adobe install folder) and schedule it to do this every time I log on/turn on my pc. So far that has worked for the past few days.
@0xdevalias
0xdevalias / accessing-apple-screen-time-data.md
Last active June 14, 2025 16:48
Some notes on accessing / exporting Apple's Screen Time data
@brittanyellich
brittanyellich / new-codebase-discovery-template.md
Last active June 14, 2025 16:33
new-codebase-discovery-template

Overview

How to document a new codebase Use this template to document a new codebase.

Business Logic

A place to record any important logic that you come across that is worth documenting.

Landmarks

Refers to the different landmarks of a codebase to help you navigate around. Where are the API methods defined? Where are interactions with the database?

— Да?
— Алё!
— Да да?
— Ну как там с деньгами?
— А?
— Как с деньгами-то там?
— Чё с деньгами?
— Чё?
— Куда ты звонишь?
@wsricardo
wsricardo / png.py
Created December 15, 2020 03:37
Pure Python PNG module by Johann C. Rocholl, David Jones and Nicko van Someren
from __future__ import print_function
# png.py - PNG encoder/decoder in pure Python
#
# Copyright (C) 2006 Johann C. Rocholl <johann@browsershots.org>
# Portions Copyright (C) 2009 David Jones <drj@pobox.com>
# And probably portions Copyright (C) 2006 Nicko van Someren <nicko@nicko.org>
#
# Original concept by Johann C. Rocholl.
#
@ruvnet
ruvnet / *claude.md
Last active June 14, 2025 16:29
The Claude-SPARC Automated Development System is a comprehensive, agentic workflow for automated software development using the SPARC methodology with the Claude Code CLI

Claude-SPARC Automated Development System For Claude Code

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

The SPARC Automated Development System (claude-sparc.sh) is a comprehensive, agentic workflow for automated software development using the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion). This system leverages Claude Code's built-in tools for parallel task orchestration, comprehensive research, and Test-Driven Development.

Features