Skip to content

Instantly share code, notes, and snippets.

View mignev's full-sized avatar

Marian Ignev mignev

View GitHub Profile
@mignev
mignev / 00 - Cursor AI Prompting Rules.md
Created October 27, 2025 00:17 — forked from aashari/00 - Cursor AI Prompting Rules.md
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.

The Autonomous Agent Prompting Framework

This repository contains a disciplined, evidence-first prompting framework designed to elevate an Agentic AI from a simple command executor to an Autonomous Principal Engineer.

The philosophy is simple: Autonomy through discipline. Trust through verification.

This framework is not just a collection of prompts; it is a complete operational system for managing AI agents. It enforces a rigorous workflow of reconnaissance, planning, safe execution, and self-improvement, ensuring every action the agent takes is deliberate, verifiable, and aligned with senior engineering best practices.

I also have Claude Code prompting for your reference: https://gist.github.com/aashari/1c38e8c7766b5ba81c3a0d4d124a2f58

@mignev
mignev / golang_job_queue.md
Created July 14, 2018 17:56 — forked from harlow/golang_job_queue.md
Job queues in Golang
@mignev
mignev / README.md
Created December 11, 2017 19:14 — forked from rantav/README.md
Find slow queries in mongo DB

A few show tricks to find slow queries in mongodb

Enable profiling

First, you have to enable profiling

> db.setProfilingLevel(1)

Now let it run for a while. It collects the slow queries ( > 100ms) into a capped collections, so queries go in and if it's full, old queries go out, so don't be surprised that it's a moving target...

@mignev
mignev / install.sh
Created August 4, 2017 21:43
RaspberryPi install nodejs custom version
wget https://nodejs.org/dist/v4.5.0/node-v4.5.0-linux-armv6l.tar.gz
sudo mv node-v4.5.0-linux-armv6l.tar.gz /opt
cd /opt
sudo tar -xzf node-v4.5.0-linux-armv6l.tar.gz
sudo mv node-v4.5.0-linux-armv6l nodejs
sudo rm node-v4.5.0-linux-armv6l.tar.gz
sudo ln -s /opt/nodejs/bin/node /usr/bin/node
sudo ln -s /opt/nodejs/bin/npm /usr/bin/npm
@mignev
mignev / vault-tests.md
Created September 17, 2016 22:54 — forked from come-maiz/testers.md
Vault snap testing
@mignev
mignev / coworker.md
Created March 14, 2016 10:25
Co worker

Който се чувства комфортно да говори на езици като:

  • JavaScript (Client /React, Angular/ & Server side (Node))
  • Go (Docker, Kubernetes, Microservices)

Обича да си цапа ръцете със сървъри и се забавлява на тази картинка: https://scontent-frt3-1.xx.fbcdn.net/…/12605387_12291098337…

Да ми пише на лично или на мейл: [email protected] / [email protected]

Ние ... по въпросите ще го познаем :)))

@mignev
mignev / frontend_job_ad.md
Last active December 2, 2015 17:21
Front-end Gagu Job Ad

Front-end Gagu

MediaHub си търси frontend човек за офиса си в София. Фокусът на компанията е разработка и интеграция на решения за разпространение и визуализиране на видео съдържание.

Много важно!

От особенна важност за позицията е добро познаване по: JavaScript, HTML5 и CSS3.

Ще се радваме ако:

В допълнение познаването на следните продукти и технологии е предимство:

  • Nodejs
  • MongoDB
@mignev
mignev / maintenance.html
Created May 7, 2015 16:28
StartApp.bg Custom Maintenance page
<!DOCTYPE html>
<html>
<head>
<title>Maintenance in progress. Please try again in few minutes</title>
<link href='//fonts.googleapis.com/css?family=Ubuntu:300' rel='stylesheet' type='text/css'>
<style type="text/css" />
body {color: #666; text-align: center; font-family: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif; sans-serif; margin:0; width: 800px; margin: auto; font-size: 14px; }
h1 { font-size: 56px; line-height: 100px; font-weight: normal; color: #456; }
h2 { font-size: 24px; color: #666; line-height: 1.5em; }
h3 { color: #456; font-size: 20px; font-weight: normal; line-height: 28px; }
@mignev
mignev / client.rb
Last active December 31, 2015 07:09
Fast rails runner
require 'socket'
# thanks to @mitio
UNIXSocket.open('/tmp/fast.pid') do |fastrails|
fastrails.write ARGV.join(' ')
puts fastrails.read
end
=begin
Jekyll tag to include Markdown text from _includes directory preprocessing with Liquid.
Usage:
{% markdown <filename> %}
=end
module Jekyll
class MarkdownTag < Liquid::Tag
def initialize(tag_name, text, tokens)
super
@text = text.strip