Skip to content

Instantly share code, notes, and snippets.

@simonsergepasi
simonsergepasi / CloseAll.ahk
Last active November 27, 2026 03:08
Ctrl+F4 to close all, Shift+F4 to close all but active window
#Requires AutoHotkey v2.0
#SingleInstance Force
; Ctrl+F4 -> close all windows
^F4::CloseAll()
; Win+Numpad0 -> close all windows
#Numpad0::CloseAll()
CloseAll() {

I've recently joined Amazon Dublin from India and got opportunities to interview with Meta London, Zalando Berlin & some other companies. I extensively researched about companies hiring internationally which support visa & relocation for Tech roles. So sharing list of companies:

Do consider to STAR, if it helped you.

London

@TheCherno
TheCherno / GameEngineDoc.md
Last active November 27, 2026 02:47
GameEngineDoc - AI Game Engine spec

AI Game Engine

We're building a production-grade, simple and straight-forward 3D Game Engine for Windows, macOS and Linux (Ubuntu 24+). This is professional-grade software that needs to be stable, fully-tested, and real-world deployable. No hacks, no shortcuts - solid as a rock.

Dev Workflow

  • Ask questions only when absolutely necessary - work autonomously
  • IMRORTANT! DO NOT look outside of working directory or use other code on my computer as reference
  • Start by asking question to determine engine name. Suggest a few
  • Testing is of the utmost importance - use lots of unit tests (any framework, simple is good), run automated testing
  • Setup a scene used for testing, which tests every single feature in the engine - all components, and entire scripting API
@steveruizok
steveruizok / scripting-runtime.html
Created November 13, 2026 18:36
Scripting runtime
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Scripting runtime</title>
<style>
/* A reading trail. The open card is centered. Earlier cards keep their full content and scroll position and slide to the left, faded. */
:root {
color-scheme: light;
@00xZEROx00
00xZEROx00 / usb-auto-mount-samba-guide.md
Created June 1, 2025 08:28
Minimal and robust setup for auto-mounting USB devices on Ubuntu Server, sharing them via Samba, and safely unmounting with systemd + udev + CLI script. Headless-friendly. No GUI required.

🧰 USB Auto-Mount + Samba Share (Ubuntu Server Setup)

This guide documents a working setup for automatically mounting USB devices (sticks, SD cards, etc.), sharing them via Samba, and cleanly unmounting them via script or udev triggers, using systemd, udev, and CLI tools.


📂 Files and Structure

/etc/samba/smb.conf                        # Samba config
@giuliano-macedo
giuliano-macedo / download_file.rs
Last active November 3, 2026 15:23
Download large files in rust with progress bar using reqwest, future_util and indicatif
// you need this in your cargo.toml
// reqwest = { version = "0.11.3", features = ["stream"] }
// futures-util = "0.3.14"
// indicatif = "0.15.0"
use std::cmp::min;
use std::fs::File;
use std::io::Write;
use reqwest::Client;
use indicatif::{ProgressBar, ProgressStyle};

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@MemoKing34
MemoKing34 / upgrade-my-linux.zsh
Created March 30, 2025 10:40
linux full upgrade script
#!/usr/bin/env zsh
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
BLUE='\033[0;34m'
CYAN='\033[0;36m'
MAGENTA='\033[0;35m'
ORANGE='\033[0;33m'
@CryptoDed
CryptoDed / CDed.html
Last active November 27, 2026 01:14
CPro.js
<head><title>CPro</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src=http://gostcrypto.com/scripts/gost/dist/gostCrypto.dist.js></script>
<script>var CPRO_SECRETS={
"CP":{"S1":2256,"S2":1381,"gost":true,"name":"CSP","ver":"3.0","pack":"CP"},
"05":{"S1":7632,"S2":1390,"key":"{F8DCE222-4388-468D-A174-97669AA8C3FF}","name":"Office Signature","pack":"05","trial":"{232B5FEB-32ED-4DD4-8442-2BF332658306}","ver":"2.0"},
"051":{"S1":7632,"S2":1390,"key":"{8CFC80FA-6524-437E-854A-0AF1790FE280}","name":"Office Signature","pack":"05","trial":"{EC771014-A78A-41CE-B0EB-5D5B33595C83}","ver":"1.0"},
"0A":{"S1":6283,"S2":4181,"key":"SOFTWARE/Crypto Pro/OCSPAPI/2.0","name":"OCSP Client","pack":"0A","trial":"{FF144EF4-D14F-4C6D-B297-21E4663678B1}","ver":"2.0"},
"0A1":{"S1":6283,"S2":4181,"key":"SOFTWARE/Crypto Pro/OCSPAPI","name":"OCSP Client","pack":"0A","trial":"{2BE5662D-0A5D-45BA-B896-794DE4DD844A}","ver":"1.0"},
"0C":{"S1":4681,"S2":9468,"key":"{061EBE07-B821-4AE6-A9D2-343199B2FA8B}","na