Skip to content

Instantly share code, notes, and snippets.

@zfarbp
zfarbp / arch.md
Last active June 11, 2025 07:43
Golang - Building Executables for Different Architectures

Golang - Building Executables for Different Architectures

env GOOS=target-OS GOARCH=target-architecture go build package-import-path

# Example
env GOOS=darwin GOARCH=amd64 go build
env GOOS=darwin GOARCH=amd64 go build main.go
env GOOS=darwin GOARCH=amd64 go build github.com/zoo/york/foo/bar
@quabqi
quabqi / BuildProject.xml
Created June 11, 2025 07:40 — forked from regner/BuildProject.xml
A sample BuildGraph script for building, cooking, and packaging an Unreal project.
<?xml version='1.0' ?>
<!--
Why is this one giant script instead of a bunch of smaller scripts?
Mostly this comes down to BuildGraph and personal preference. As the language BuildGraph isn't
really much of a programming language there is no easy way to use an IDE and jump between
includes, find usages of variables, and just generally quickly search things. It was found to
be easier to have a single large file that a developer can quickly jump up and down in when
trying to understand what the BuildGraph script is doing.
@Sued1972
Sued1972 / gemini_response.md
Created June 11, 2025 07:41
Contenuto da file: gemini_response.md

Descrizione verticale delle fasi con traduzione in inglese:

  • MAGAZZINO WET BLUE - WET BLUE WAREHOUSE: Stoccaggio iniziale delle pelli wet blue.
  • DA CONCIARE CROMO - TO BE CHROME TANNED: Fase in cui le pelli sono prepaarate per la concia al cromo. ** PRESSARE/SPACCARE - PRESS/SPLIT: Operazione di pressatura e spaccatura delle pelli.
  • SFORBICIARE UMIDO - WET TRIMMING: Rifilatura delle pelli ancora umide.
  • BOTTI DISPO - DRUMS AVAILABLE: Preparazione delle botti per le fasi successive.
  • BOTTI - DRUMS: Fase di lavorazione in botte.
  • RICONCIA - RETANNING: Riconcia delle pelli per migliorarne le caratteristiche.
  • TINTURA - DYEING: Colorazione delle pelli.
@hadilq
hadilq / NixOS-guide.md
Last active June 11, 2025 07:41
Encypted LUKS LVM Btrfs Root with Opt-in State on NixOS

I'm trying to follow this guide to install NixOS using Btrfs, LUKS and LVM. The main usage of this page for me will be remembering what I did! My laptop is ASUS ROG GL553VD.

Just downloaded Plasma Desktop, 64bit and create a bootable Flash Drive. Then boot up to NixOS Live CD. Using gparted to create two partitions, One 200MB vfat EFI partittion and the rest of SSD drive will be an encrypted partition.

DISK=/dev/nvme0n1
@Le0xFF
Le0xFF / 0_NixOS_Install.md
Last active June 11, 2025 07:41
NixOS installation with: Full Disk Encryption using LUKS2, BTRFS filesystem, systemd-boot

First attempt at NixOS installation and configuration.
Ssetup is similar to the gist where Void Linux was installed.

With NixOS the following features are listed:

  • BTRFS filesystem
  • Full Disk Encryption
  • SystemD-boot as bootloader

Process

@SecFathy
SecFathy / tool.py
Created June 9, 2025 13:33
Identify and confirm reflected XSS vulnerabilities using parameter discovery + AI-based validation (via Gemini API).
import warnings
from urllib3.exceptions import NotOpenSSLWarning
warnings.filterwarnings("ignore", category=NotOpenSSLWarning)
import subprocess
import requests
import urllib.parse
import json
import os
from datetime import datetime
@facelessuser
facelessuser / exploring-tonal-palettes.md
Last active June 11, 2025 07:39
Exploring Tonal Palettes

Exploring Tonal Palettes

HCT

HCT is a color model developed by [Google][material-hct]. It aims to solve a problem related to generating color palettes with good contrast. While HCT may seem like a revolutionary color model, the idea behind it is quite simple, take the perceptually uniform color model CAM16 and combine it with the CIE Lab's lightness.

Upside of HCT

_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide
version: '2'
services:
redis:
image: redis:alpine
container_name: redis_db
command: redis-server --appendonly yes
ports:
- 6379:6379
volumes:
@RaiAnsar
RaiAnsar / BUILD_YOUR_OWN_MCP_SERVER.md
Created June 10, 2025 21:38
Claude_Code-Gemini-MCP

Building Your Own MCP Server for Claude Code

This guide will walk you through creating a custom MCP (Model Context Protocol) server that integrates with Claude Code, allowing you to extend Claude's capabilities with external tools, APIs, or even other AI models.

What is MCP?

MCP (Model Context Protocol) is a protocol that allows Claude to communicate with external servers to access tools and capabilities beyond its built-in features. Think of it as a plugin system for Claude.

Prerequisites