Skip to content

Instantly share code, notes, and snippets.

@armamini
armamini / README.md
Created December 12, 2025 16:35
Implement a reliable connection over Websocket via Cloudflare Workers

ساخت با Cloudflare Workers

این راهنما به شما کمک می‌کند تا بدون هزینه و سرور مجازی، یک فیلترشکن شخصی با سرعت بالا و پینگ مناسب روی زیرساخت کلادفلر بسازید. (V2Ray over Websocket)


📋 پیش‌نیازها

  1. اکانت Cloudflare: نیاز به یک ایمیل (شخصی یا موقت) دارید.
  2. کد اسکریپت: کدی که باید در ورکر قرار دهید (موجود در فایل‌های این مخزن).
  3. UUID: یک کد یکتا که به عنوان رمز عبور عمل می‌کند.
@AveYo
AveYo / !BlackLess.md
Last active December 13, 2025 00:22
A High Contrast based neutral / less blues tone Windows Dark / Light Theme by AveYo

Blackless.theme

how to install:
hit download ZIP button top right corner
then unzip somewhere

in a windows explorer enter in the location bar:
%LOCALAPPDATA%\Microsoft\Windows\Themes

then copy those unzipped .theme files there

@eooce
eooce / auto-add-ssl-workers.js
Last active December 12, 2025 23:55
auto-add-ssl-workers
export default {
async fetch(request, env, ctx) {
const url = new URL(request.url);
// 处理 API 请求:支持 POST (/api/add-ssl) 和 GET (/?...)
if (
(url.pathname === '/api/add-ssl' && request.method === 'POST') ||
(url.pathname === '/' && request.method === 'GET' && url.searchParams.has('zoneId'))
) {
return handleApiRequest(request, url.searchParams);

Proxmox VE tips

Just some tips I gathered over time. All in one easily reachable place so I can share it wherever I want.

Please note that unless you see a shebang (#!/...) these code blocks are usually meant to be copy & pasted directly into the shell. Some of the steps will not work if you run part of them in a script and copy paste other ones as they rely on variables set before.
The { and } surrounding some scripts are meant to avoid poisoning your bash history with individual commands, etc. You can ignore them if you manually copy paste the individual commands.
I chose to write things "in the open" that way so there's still some control and things don't become a black box.

Table of contents

index
home
top
help
about
security
contact
connect
support
faq
@tuxfight3r
tuxfight3r / vim-shortcuts.md
Last active December 12, 2025 23:20
VIM SHORTCUTS

VIM KEYBOARD SHORTCUTS

MOVEMENT

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 12, 2025 23:03
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@sajinct
sajinct / kiosk_printing.md
Created October 28, 2025 03:25
Kiosk Mode Silent Printing Guide:- Simple steps to run Chrome, Firefox, and Edge in full-screen kiosk mode and print without dialogs. Uses shortcuts and built-in flags. Prints to default printer. Great for kiosks, receipts, or tickets.

Overview

Kiosk mode in web browsers is designed for locked-down environments like public terminals, where the browser runs in full-screen with limited navigation. Silent printing (bypassing the print dialog) is often tied to this mode and prints directly to the default printer. This is useful for applications like POS systems, ticketing kiosks, or automated receipt printing. Below, I outline the setup for Google Chrome, Mozilla Firefox, and Microsoft Edge (Chromium-based) as of October 2025. These methods use command-line flags or configuration tweaks. Note: Always test on your target OS (e.g., Windows), and ensure the default printer is set correctly, as these features print to it without prompts.

Browser Kiosk Mode Command/Flag Silent Printing Method Key Notes
Google Chrome --kiosk [URL] (e.g., chrome.exe --kiosk https://example.com) Add --kiosk-printing to the command line Works in full
@drupalalsur
drupalalsur / my.ini
Created April 24, 2014 00:09
Archivo optimizado my.ini de XAMPP para Windows versión 1.8.2-4-VC9
# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# You can copy this file to
# C:/xampp/mysql/bin/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is C:/xampp/mysql/data) or