Skip to content

Instantly share code, notes, and snippets.

@AnandChowdhary
AnandChowdhary / 📊 Weekly development breakdown
Last active May 12, 2025 13:54
📊 Weekly development breakdown
TypeScript 13 hrs 7 mins ██████████▎░░░░░░░░░░ 48.9%
Svelte 7 hrs 29 mins █████▊░░░░░░░░░░░░░░░ 27.9%
YAML 1 hr 45 mins █▎░░░░░░░░░░░░░░░░░░░ 6.5%
JSON 1 hr 12 mins ▉░░░░░░░░░░░░░░░░░░░░ 4.5%
Markdown 1 hr 6 mins ▊░░░░░░░░░░░░░░░░░░░░ 4.1%
@liuran001
liuran001 / config.yaml
Last active May 12, 2025 13:53
mihomo (Clash Meta) 懒人配置
# AFF
# 如果你想支持我,可以通过我的邀请链接购买机场
# 感谢支持
# 1. 倾城极速 邀请码: 0jiB5uAA https://qcjs.ovh/#/register?code=0jiB5uAA
# 2. superbiu 邀请码: fACfjKC8 https://superbiu.com/#/register?code=fACfjKC8
# 一定要填我的邀请码,不填我哭给你看😭
# mihomo (Clash Meta) 懒人配置
# 版本 V1.19-250408
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33
@wojteklu
wojteklu / clean_code.md
Last active May 12, 2025 14:55
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@jlia0
jlia0 / agent loop
Last active May 12, 2025 17:50
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
@rithvikvibhu
rithvikvibhu / LICENSE
Last active May 12, 2025 13:27
Get tokens for Google Home Foyer API
MIT License
Copyright (c) 2020 Rithvik Vibhu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@imba-tjd
imba-tjd / .Cloud.md
Last active May 12, 2025 14:50
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字处理)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本 & 按需付费 & 弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)

其他人的集合

@xmlking
xmlking / curl-with-http3-macos.md
Created December 4, 2021 20:09
Installing curl with http3 on MacOS

Work-in-pogress

Ref: cloudflare/homebrew-cloudflare#21

 # Clean up any old version of curl you may have already tried to install
brew remove -f curl

# Download the curl ruby install script provided by cloudflare
@sourangshupal
sourangshupal / main.py
Created May 4, 2025 11:37
AWS BEDROCK DEMO
import json
import boto3
import botocore.config
from datetime import datetime
### AWS BEDROCK CALL ###
# {
# "modelId": "meta.llama4-scout-17b-instruct-v1:0",
@renschni
renschni / Manus_report.md
Last active May 12, 2025 12:57
In-depth technical investigation into the Manus AI agent, focusing on its architecture, tool orchestration, and autonomous capabilities.

I wrote an in-depth research prompt to conduct a GPT-Deep-Research on the Manus topic, seeking to replicate it with currently available open source tools. This is the result:

TLDR: Manus AI Agent Report

Manus is an autonomous AI agent built as a wrapper around foundation models (primarily Claude 3.5/3.7 and Alibaba's Qwen). It operates in a cloud-based virtual computing environment with full access to tools like web browsers, shell commands, and code execution. The system's key innovation is using executable Python code as its action mechanism ("CodeAct" approach), allowing it to perform complex operations autonomously. The architecture consists of an iterative agent loop (analyze → plan → execute → observe), with specialized modules for planning, knowledge retrieval, and memory management. Manus uses file-based memory to track progress and store information across operations. The system can be replicated using open-source components including CodeActAgent (a fine-tuned Mistral model), Docker for sandbox