Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

@mosgaragedev
mosgaragedev / Dockerfile
Created September 13, 2026 21:16 — forked from nickpascucci/Dockerfile
Claude Code Development Container - Multi-language Docker container with DNS filtering
FROM node:20
ARG TZ
ENV TZ="$TZ"
ARG CLAUDE_CODE_VERSION=latest
ARG RUST_VERSION=1.82.0
ARG SWIPLDIR=/usr/lib/swi-prolog
ARG ALLOY_VERSION=6.2.0
// Place your settings in this file to overwrite the default settings
{
"editor.fontSize": 15,
"editor.fontFamily": "Consolas",
"editor.tabSize": 2,
"editor.wordWrapColumn": 80,
"editor.fontLigatures": true,
"editor.snippetSuggestions": "top",
"editor.minimap.enabled": true,
"files.exclude": {
@mosgaragedev
mosgaragedev / initialize.md
Created September 5, 2026 02:23 — forked from kaushikgopal/initialize.md
AI coding agent initialization command

Please analyze this codebase and create an AGENTS.md file, which will be given to future instances of this AI coding agent (like Claude Code, Codex or Gemini Cli) a simple set of rules to operate in this project.

What to add:

  1. Commands that will be commonly used, such as how to build, lint, and run tests. Include the necessary commands to develop in this codebase, such as how to run a single test.
  2. High-level code architecture and structure so that future instances can be productive more quickly. Focus on the "big picture" architecture that requires reading multiple files to understand

Usage notes:

  • If there's already an AGENTS.md, suggest improvements to it vs creating a new file.

Abrir teminal com direitos de administrador
git-bash installed with LxRunOffline
download last version https://github.com/DDoSolitary/LxRunOffline/releases
Alternative Download

cd ~/Downloads
curl -L -O https://github.com/DDoSolitary/LxRunOffline/releases/download/v3.5.0/LxRunOffline-v3.5.0-mingw.zip
ls LxRunOffline-v3.5.0-mingw.zip
unzip -j "LxRunOffline-v3.5.0-mingw.zip" "LxRunOffline.exe" -d "/c/Program Files/Git/usr/bin/"
@mosgaragedev
mosgaragedev / devcon_examples.bat
Created August 29, 2026 02:36 — forked from curzona/devcon_examples.bat
DevCon examples
set DEVCON="C:\Program Files (x86)\Windows Kits\10\Tools\x64\devcon.exe"
REM DevCon hwids - https://msdn.microsoft.com/en-us/library/windows/hardware/ff544772(v=vs.85).aspx
%DEVCON% hwids invalid > devcon_hwids_invalid.txt 2>&1
%DEVCON% hwids * > devcon_hwids_star.txt 2>&1
%DEVCON% hwids =AudioEndpoint > devcon_hwids_class.txt 2>&1
%DEVCON% hwids MMDEVAPI\AudioEndpoints > devcon_hwids_hwid.txt 2>&1
%DEVCON% hwids @SWD\MMDEVAPI\{0.0.0.00000000}.{32247EDD-EAC6-46F8-BEFB-44448BDBC8D3} > devcon_hwids_instanceid.txt 2>&1
REM DevCon classes - https://msdn.microsoft.com/en-us/library/windows/hardware/ff544712(v=vs.85).aspx
@mosgaragedev
mosgaragedev / !README.md
Created August 28, 2026 00:03 — forked from AndrewAltimit/!README.md
Example of Claude Code Git Integration

Claude Code Git Integration

WARNING: CLAUDE CODE RUNS UNRESTRICTED - USE AT YOUR OWN RISK!

It is recommended to run this in an isolated sandbox environment like a VM with a github personal access token scoped to the bare minimum.

Overview

---
schema_version: 0
flavor: base
region: warsaw
shell: zsh
packages:
- https://github.com/sharkdp/bat/releases/download/v0.18.1/bat_0.18.1_amd64.deb
- parallel
- unp
repositories:
@mosgaragedev
mosgaragedev / Positron-Setup
Created August 24, 2026 14:44 — forked from strengejacke/Positron-Setup
Positron-Setup
Positron Version: 2025.09.0 (system setup) build 5
Code - OSS Version: 1.102.0
Commit: df4dfe533fe81e0f3191fcf60bbf5f588411a1ad
Date: 2025-08-01T04:07:02.449Z
Electron: 35.6.0
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Windows_NT x64 10.0.26100
@mosgaragedev
mosgaragedev / README.md
Created August 23, 2026 22:34 — forked from Keonik1/README.md
Fully functional VSCode server as systemd service unit

Installation

  1. Create /lib/systemd/system/[email protected].
  2. Change /home/user to yours
  3. Install vscode-server:
curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' --output vscode_cli.tar.gz
tar -xf vscode_cli.tar.gz
rm -rf vscode_cli.tar.gz
sudo mv ./code /usr/bin/code
@mosgaragedev
mosgaragedev / wsl2_powershell_setup.ps1
Created August 23, 2026 00:34 — forked from ilude/wsl2_powershell_setup.ps1
Windows Subsystem for Linux v2 setup script
# copy and run in an administrator powershell
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/ilude/WindowsPowerShell/master/choco_install_development.ps1'))
bash -c "curl -sSL https://gist.githubusercontent.com/ilude/3354dfef63cdb9e24370d5074b7aa11e/raw/wsl_init.sh | bash -s"