Skip to content

Instantly share code, notes, and snippets.

@HimDek
HimDek / Install Windows Subsystem for Android on any Edition of Windows 11 non Insider.md
Last active June 20, 2026 20:28
This Guide will show you how to Install Windows Subsystem for Android or WSA on any Edition of Windows 11 non Insider release.

Install Windows Subsystem for Android on Windows 11 non Insider

WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator. The problem is Windows Subsystem for Android is currently only available through preview via the Beta Channel of the Windows Insider Program. But if you follow this guide, you don't have to be in Windows Insider Program to try it out. The only thing you need is Windows 11 installed and some patience.

Prerequisites:

  • A Device with any version and Edition of Windows 11 installed.
  • Internet Connection.
  • Hyper-V enabled.

Enable Hyper-V:

@pmenke-de
pmenke-de / README.md
Last active June 20, 2026 20:26 — forked from chpatrick/nix-cmake
Using CLion with Nix

let's say you have a C++ project in Nix that you want to work on with CLion so that the nix dependencies are available.

  1. create a .nix utility directory in your project directory.
  2. put the below nix-run.sh and nix-cmake.sh in the .nix directory.
  3. in the .nix directory create symlinks for make, gcc, g++ - and maybe more tools, that need to have the nix dependencies and build tools available - and point them to nix-run.sh
  4. then, in Settings -> Build, Execution, Deployment -> Toolchains set CMake to the path to nix-cmake.sh and point all other build tools to the symlinks you've created.
@dmmulroy
dmmulroy / coding-standards-draft.md
Created June 18, 2026 22:39
coding-standards-draft.md

TypeScript Coding Standards

These standards describe how to design and write TypeScript code in this codebase. They are especially intended for agents: before adding patterns, libraries, adapters, or abstractions, read the existing code and prefer the local convention unless it conflicts with the safety/correctness principles below.

Decision priority

When rules pull in different directions, use this order:

  1. Preserve correctness, safety, and debuggability.
  2. Follow established project architecture and conventions.
@brickzva
brickzva / updated.sh
Created July 2, 2016 17:26
Simple apt update, upgrade and autoclean routine for the lazy folks like me.
#!/bin/bash
##
## Insanely simiple way to run updates if you don't have automatic updates enabled
##
## 1. copy this to a file on to your favorite host \
## 2. chmod +x ./<yourfile_name> (makes the script executable)
## 3. run your new script by "./<yourfile_name>
## 4. you'll be prompted for you password (sudo), then off to the races..
##
echo "Time to update!"
@Kartones
Kartones / postgres-cheatsheet.md
Last active June 20, 2026 19:40
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@ERICJ3ffrey
ERICJ3ffrey / gist:39a837602e804f177d3bfed26985840e
Created June 18, 2026 19:15
6 Prompts To Get Consistent AI Results
1. Parallel agents
Use parallel agents for this.
Split the work into four separate agents:
- one to understand the current setup
- one to find the simplest path
- one to look for risks and edge cases
- one to suggest how we verify the work
Keep their work separate, then summarize the best plan.
@paucoma
paucoma / TinyTaskCfgMod.c
Created November 18, 2018 22:55
Tiny Task Configuration File Modifier
/*
Deciphering TinyTask Recording Format after a bit of trial and error I found and used the following
*/
#include<stdio.h>
/* Our structure
- 0002 0000 7906 0000 4501 0000 dd0a 9400 7607 0b00
- 20 bytes in length
- interpreted as shorts, when we read it with fread, bytes get reordered
- 0200 0000 0679 0000 0145 0000 0add 0094 0776 000b
*/
Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
Product Year Version Product Keys
Visual Studio 2022 2021 17.x
Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x
@ggorlen
ggorlen / example-software-design-document.md
Last active June 20, 2026 18:41
example software design document

Example Software Design Document

Purpose

The app will be a full-stack, multi-user wiki application, basically a simplified Wikipedia.

Technologies

  • Front end: React with React Router and the marked library for rendering markdown
  • Back end:
@polyfjord
polyfjord / AutoTracker_v1.4.bat
Last active June 20, 2026 18:12
AutoTracker workflow using GLOMAP
:: ================================================================
:: BATCH SCRIPT FOR AUTOMATED PHOTOGRAMMETRY TRACKING WORKFLOW
:: By polyfjord - https://youtube.com/polyfjord
:: GLOMAP mapping (faster), COLMAP for features/matching + TXT export
:: ================================================================
@echo off
setlocal EnableExtensions EnableDelayedExpansion
:: ---------- Resolve top-level folder (one up from this .bat) -----
pushd "%~dp0\.." >nul