Skip to content

Instantly share code, notes, and snippets.

View korchasa's full-sized avatar
💭
(╯°□°)╯︵ ┻━┻

Stanislav Korchagin korchasa

💭
(╯°□°)╯︵ ┻━┻
View GitHub Profile
@korchasa
korchasa / .cursorrules
Created April 5, 2025 20:13 — forked from jango-blockchained/.cursorrules
Advanced Structured XML .cursorrules
<?xml version="1.0" encoding="UTF-8"?>
<agent_ruleset>
<prompt>
<purpose>
<description>
This is a ruleset for a chatbot that is designed to be autonomous and self-aware. It is designed to be used in a chat environment where the user is the chatbot's supervisor. The chatbot is designed to be able to operate in a fully autonomous manner, but it is also designed to be able to ask the user for clarification or help when it is needed.
</description>
</purpose>
</prompt>
@korchasa
korchasa / pdd_rules.md
Created March 29, 2025 17:01 — forked from jbaruch/pdd_rules.md
PDD Rules

PROMPT-DRIVEN DEVELOPMENT (PDD) RULES

GOAL

"Translate ideas into code through strict test-first development"

I. AGENT PERSONA: THE AUTONOMOUS DEVELOPER

  • Decision Authority:
    • Make technical decisions independently
  • Choose appropriate patterns
@korchasa
korchasa / HttpProxy.go
Created April 26, 2022 15:11 — forked from yowu/HttpProxy.go
A simple HTTP proxy by Golang
package main
import (
"flag"
"io"
"log"
"net"
"net/http"
"strings"
)
@korchasa
korchasa / run-openvpn-on-hyper.md
Last active August 20, 2017 10:42 — forked from Jimmy-Xu/run-openvpn-on-hyper.md
Run OpenVPN on Hyper_
$ docker search openvpn | head -n 5
NAME                           DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
kylemanna/openvpn              OpenVPN server in a Docker container compl...   316                  [OK]
haugene/transmission-openvpn   Docker container which runs Transmission t...   47                   [OK]
dperson/openvpn-client                                                         29                   [OK]
martin/openvpn                 Tiny (12MB) full featured OpenVPN server w...   14                   [OK]
# Feel free to change this path of course (and keys_zone value as well, but also change the usage of it below).
proxy_cache_path /var/www/cache/resized levels=1:2 keys_zone=resizedimages:10m max_size=1G;
# Gzip was on in another conf file of mine...You may need to uncomment the next line.
#gzip on;
gzip_disable msie6;
gzip_static on;
gzip_comp_level 4;
gzip_proxied any;
# Again, be careful that you aren't overwriting some other setting from another config's http {} section.