Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

@typovrak
typovrak / DEVELOP_FEATURES_CLI.md
Last active June 21, 2025 21:58
develop features without a web interface, only in CLI with git and gh commands

How to manage issues, PR and rebasing only in CLI ?

Here is the solution with git and gh commands !

create an issue

gh issue create

get the ISSUE_NUMBER

@aashari
aashari / 00 - Cursor AI Prompting Rules.md
Last active June 21, 2025 21:56
Cursor AI Prompting Rules - This gist provides structured prompting rules for optimizing Cursor AI interactions. It includes three key files to streamline AI behavior for different tasks.

Cursor AI Prompting Framework — Usage Guide

A disciplined, evidence-first workflow for autonomous code agents


1 · Install the Operational Doctrine

The Cursor Operational Doctrine (file core.md) encodes the agent’s always-on principles—reconnaissance before action, empirical validation over conjecture, strict command-execution hygiene, and zero-assumption stewardship.

好的,请接受我的服务。作为宗师级专利工程师,我将您提供的创意火花,构筑成一份严谨、深入且富有远见的《专利交底书》。
---
# **专利交底书:一种基于多传感器的智能盆栽自动养护仪及控制方法**
## **1. 发明名称**
一种基于多传感器的智能盆栽自动养护仪及控制方法
## **2. 技术领域**
@NickMcSweeney
NickMcSweeney / postgresql_plus_arch-linux.md
Last active June 21, 2025 21:55
Getting postgresql running on Arch Linux

Setup Postgresql

run postgresql with systemctl

Install postgres

latest

sudo pacman -S postgresql

specific version

find version & build from source

Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");
@FuhuXia
FuhuXia / Smart-Card-Ubuntu.md
Last active June 21, 2025 21:50
How to get smart card reader c to work on Ubuntu 22.04

How to get smart card reader to work on Ubuntu 22.04

Hope this will save you hours of research on how to use your browser (Chrome/Chromium/Firefox) to load PIV card using Smart Card reader (SCR3310) to do Single Sign-On such as login.gov.

Make Ubuntu to read your PIV card

Step 1

$ sudo apt install libpam-sss
$ sudo apt install opensc-pkcs11
@soulmachine
soulmachine / nfs-proxmox.md
Last active June 21, 2025 21:44
Launch a NFS server on Proxmox

Method 1: NFS server on LXC container

Create a priviledged LXC container with:

mount=nfs,nesting=1

apt update

apt install nfs-kernel-server

@Huguez
Huguez / alias.md
Last active June 21, 2025 21:51
Huguez Alias

List alias

git config --global --list | grep alias

Add Alias

git config --global alias.example "ALIAS"
@renschni
renschni / Manus_report.md
Last active June 21, 2025 21:42
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

@nyorain
nyorain / sat.cpp
Last active June 21, 2025 21:41
Small Separating Axis Theorem implementation in C++
#include <nytl/vec.hpp>
#include <nytl/vecOps.hpp>
#include <vector>
#include <limits>
using Polygon = std::vector<nytl::Vec2f>;
/// Returns whether the two given convex polygons intersect using the
/// separating axis theorem. The given polygons can be in clockwise or