Skip to content

Instantly share code, notes, and snippets.

@m1nuz
m1nuz / simple-x11-window.c
Created March 12, 2015 09:37
Simple X11 window
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
bool quited = false;
void on_delete(Display * display, Window window)
{
XDestroyWindow(display, window);
@ryanlua
ryanlua / fritzing-download.md
Last active December 30, 2025 02:49
Free download of Fritzing using the official download links
@aashari
aashari / 00 - Cursor AI Prompting Rules.md
Last active December 30, 2025 02:48
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

@mikaeldui
mikaeldui / Proton VPN IPv6 Manual Setup.md
Last active December 30, 2025 02:48
Proton VPN IPv6 Manual Setup

Proton VPN IPv6 Manual Setup

Over 80% of the servers support IPv6 but only the Linux & Android apps and the browser extension support it at the moment.

The Linux app supports IPv6 over the VPN but still connects to the VPN server using IPv4.

It's possible to make changes to the WireGuard configs that you can get from https://account.protonvpn.com/downloads to enable IPv6.

An easy way to test if a server supports IPv6 is to use the browser extension and then go to myip.wtf or test-ipv6.com, or you could check the list at https://mikaeldui.github.io/proton-vpn-server-list/.

@MuTLY
MuTLY / keys.txt
Created July 28, 2025 18:18
Cemu keys
# this file contains keys needed for decryption of disc file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
# HOW TO: in Cemu go to "File" -> "Open MLC folder" then go one folder up to the main Cemu folder.
# IMPORTANT: the MLC folder must be the default one, not a custom folder.
# Then copy the contents of this file into the keys.txt file in that main Cemu folder.
d7b00402659ba2abd2cb0db27fa2b656 # Common
805e6285cd487de0faffaa65a6985e17 # Espresso Ancast
@IsaacXen
IsaacXen / README.md
Last active December 30, 2025 02:41
(Almost) Every WWDC videos download links for aria2c.
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef uint8_t u8;
@K1ethoang
K1ethoang / Active StarUml version 6 for Window | MacOS | Linux.md
Last active December 30, 2025 02:38
Active StarUml version 6 for Window | MacOS | Linux
@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active December 30, 2025 02:37
마크다운(Markdown) 사용법

[공통] 마크다운 markdown 작성법

영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^

아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.

1. 마크다운에 관하여