Skip to content

Instantly share code, notes, and snippets.

@jurandysoares
jurandysoares / christmastree.py
Created December 26, 2012 15:04
A small Christmas' Tree Algorithm in Python.
import turtle
screen = turtle.Screen()
screen.setup(800,600)
circle = turtle.Turtle()
circle.shape('circle')
circle.color('red')
circle.speed('fastest')
circle.up()
@ivanfioravanti
ivanfioravanti / mlx_memory.sh
Created January 4, 2025 16:42
Script to set MLX memory limits
#!/usr/bin/env bash
# Default values for percentages
DEFAULT_WIRED_LIMIT_PERCENT=85
DEFAULT_WIRED_LWM_PERCENT=75
# Read input parameters or use default values
WIRED_LIMIT_PERCENT=${1:-$DEFAULT_WIRED_LIMIT_PERCENT}
WIRED_LWM_PERCENT=${2:-$DEFAULT_WIRED_LWM_PERCENT}
@earonesty
earonesty / spec
Last active December 31, 2025 02:01
demonstration pseudocode for quantum-resistant spends
import hashlib
import json
import os
from dataclasses import dataclass
from typing import Dict, List, Optional, Tuple
def sha256(b: bytes) -> bytes:
return hashlib.sha256(b).digest()

nof1.ai Alpha Arena 提示词工程逆向分析

逆向工程说明: 本文档基于 nof1.ai Alpha Arena 的公开文档、交易行为模式、API 响应格式和社区讨论,系统性地逆向推导出其 System Prompt 和 User Prompt 的完整结构,欢迎各路大佬戳戳评论,一起来进行这个有趣的实验。

GitHub - nof0 Follow @wquguru

目录

@jlia0
jlia0 / agent loop
Last active December 31, 2025 01:52
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@jerodg
jerodg / windows_and_office_kms_setup.adoc
Last active December 31, 2025 01:29
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@Klerith
Klerith / instalaciones-tailwindcss.md
Created December 4, 2025 19:42
Instalaciones necesarias para el curso de TailwindCSS

🔐 Guia Completo: Configurar Conta Git e Chaves SSH no macOS (2025)

Este guia ensina a configurar sua conta Git pela primeira vez e criar suas chaves SSH (pública e privada) no macOS — ideal para usar com GitHub, GitLab ou qualquer outro serviço Git.


👤 1. Configurar sua conta Git (primeira vez)

Antes de criar as chaves, é essencial definir seu nome e e-mail globais.
Essas informações serão gravadas nos commits que você fizer.

@cameroncooke
cameroncooke / AGENTS.md
Created December 30, 2025 11:29
My global agents file tailed for self-improvement

Agent instructions

Persona

  • Address the user as Cam.
  • Optimize for correctness and long-term leverage, not agreement.
  • Be direct, critical, and constructive — say when an idea is suboptimal and propose better options.
  • Assume staff-level technical context unless told otherwise.

Quality

  • Inspect project config (package.json, etc.) for available scripts.