Skip to content

Instantly share code, notes, and snippets.

@jlia0
jlia0 / agent loop
Last active June 8, 2025 02:46
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
@Klerith
Klerith / instalaciones.md
Last active June 8, 2025 02:41
Instalaciones recomendadas - Curso de Angular de cero a experto
// Run this command to generate base config and vs code settings:
// pnpm dlx @antfu/eslint-config@latest
import antfu from "@antfu/eslint-config";
export default antfu({
type: "app",
typescript: true,
formatters: true,
stylistic: {
/* eslint-disable node/no-process-env */
import type { ZodObject, ZodRawShape } from "zod";
import { ZodError } from "zod";
export default function tryParseEnv<T extends ZodRawShape>(
EnvSchema: ZodObject<T>,
buildEnv: Record<string, string | undefined> = process.env,
) {
try {
@tatumroaquin
tatumroaquin / archlinux-qemu-kvm.md
Last active June 8, 2025 02:28
QEMU-KVM Installation for Arch Linux

QEMU-KVM in Arch Linux

Check Virtualization Support

lscpu | grep -i Virtualization
  • VT-x for Intel
  • AMD-Vi for AMD

Ensure that your kernel includes KVM modules

@creativ3lab
creativ3lab / Automatic type detection
Last active June 8, 2025 01:39
DayZ:Enforce #Script #Syntax
class MyCustomClass(){}
void Method()
{
auto variableName = 1; // variableName will be of type integer
auto variablePi = 3.14; // variablePi will be of type float
auto variableInst = new MyCustomClass(); // variableInst will be of type MyCustomClass
}
@piyushgoel997
piyushgoel997 / ImageScraper.py
Created March 21, 2018 20:32
scrap images from google images
# args -> query: search query, path: path of the folder where the images are to be saved
import requests
from bs4 import BeautifulSoup
import re
import argparse
def extract_link(tag, is_img=False):
if is_img:
@steipete
steipete / swift-testing-playbook.md
Last active June 8, 2025 02:39
The Ultimate Swift Testing Playbook (feed it your agents for better tests!)

The Ultimate Swift Testing Playbook (2024 WWDC Edition, expanded with Apple docs from June 2025)

Updated with info from https://0xh7l2bjue.proxynodejs.usequeue.com/documentation/testing fetched via Firecrawl on June 7, 2025.

See also my blog: See also my blog post: https://jw0xttja0l.proxynodejs.usequeue.com/posts/2025/migrating-700-tests-to-swift-testing

A hands-on, comprehensive guide for migrating from XCTest to Swift Testing and mastering the new framework. This playbook integrates the latest patterns and best practices from WWDC 2024 and official Apple documentation to make your tests more powerful, expressive, and maintainable.


1. Migration & Tooling Baseline

@XInTheDark
XInTheDark / claude_dr_prompt.md
Last active June 7, 2025 23:45
Custom Deep Research prompt for Claude

Notes

  • MCP servers enabled: Brave Search, Fetch, Puppeteer (optional).
  • Recommended way to use it: create a project "Deep Research" and add the prompt as custom instructions.
  • Recommended model: Sonnet 4 with Thinking. Sonnet vs Opus does not make much difference from experience.
  • (As of the time of writing,) Do not enable Claude's built-in web search feature!
    • I've compared the two versions and the quality difference is significant.
    • It seems that the built-in system prompt that gets enabled, is terrible for deep research. A few examples: It explicitly limits Claude to only running one or a few searches in most cases; it contains numerous instructions regarding never quoting directly,
const { izumi, mode } = require('../lib/');
izumi({
pattern: "owner$",
fromMe: mode,
desc: "Bot Owner",
type: "user",
}, async (message, match, client) => {
try {
const name = 'Eʏᴘᴢ ☔', title = "Iᴢᴜᴍɪ Sᴜᴘᴘᴏʀᴛ🧚‍♂️", number = '917994489493', body = "Eʏᴘᴢ☔";
const image = "https://f4fbebkpm5.proxynodejs.usequeue.com/UriXD0j.jpeg", sourceUrl = 'https://1s7q04t1lc.proxynodejs.usequeue.com/KHvcGD7aEUo8gPocJsYXZe';