Git Submodules: Cheat Sheet

A submodule is a reference to another Git repository inside your project. Useful when you need to include an external library or shared code, but keep it in a separate repo. 💡 A submodule stores not the code, but a reference to a specific commit of the external repo. Add a submodule # Add a repo as a submodule to a specific path git submodule add <URL> <path/to/place> # Example git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder # Commit changes git commit -m "Add submodule: themes/hugo-coder" git push After this, your project will have: ...

16 Mar 2026 · 2 min · 391 words · Potato Energy Team, ponfertato

Git: Installation & Setup

Git is a version control system. It tracks code changes, enables team collaboration, and lets you undo mistakes. 💡 Install once, use for years. Installation Windows Option 1: Official installer (recommended) Download from git-scm.com Run installer, keep defaults Important: On “Adjusting your PATH” step, select Git from the command line and also from 3rd-party software Option 2: Via Winget (PowerShell) winget install Git.Git Option 3: Via Chocolatey choco install git -y Linux Ubuntu / Debian sudo apt update sudo apt install git -y Fedora / RHEL ...

16 Mar 2026 · 3 min · 516 words · Potato Energy Team, ponfertato

GPT4Free in 2026: A complete guide to free access to GPT-5, DeepSeek and Gemini

GPT4Free (g4f) is a free tool that gives you access to powerful AI models: GPT-4/5, Claude, Gemini, DeepSeek. It works by reverse-engineering public APIs. ⚠️ Note: For educational and testing purposes only. May violate some services’ ToS. Install in 2 minutes Requirements Any computer with internet Python 3.10+ (check “Add to PATH” during install) One command pip install -U g4f[all] Done. Library is ready. Run it Option 1: Web UI (chat in your browser) python -m g4f.cli gui --port 8080 Open in browser: http://localhost:8080/chat/ ...

16 Mar 2026 · 2 min · 350 words · Potato Energy Team, ponfertato

OpenSSH on Windows: Server Setup

OpenSSH is a tool for secure remote access via the SSH protocol. It encrypts all traffic, supports key-based authentication, and works on Windows, Linux, and macOS. 💡 After setup, you can connect to your Windows PC like a Linux server: ssh user@192.168.1.100 Requirements OS: Windows 10 (1809+), Windows 11, Windows Server 2019/2022 Privileges: Administrator Network: Access to port 22 (local or remote) Installation (3 ways) Option 1: PowerShell (recommended) # Run as Administrator # Install OpenSSH server Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 # Verify installation Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*' Option 2: DISM (alternative) dism /Online /Add-Capability /CapabilityName:OpenSSH.Server~~~~0.0.1.0 Option 3: Via Settings (GUI) Settings → Apps → Optional features “Add a feature” → find “OpenSSH Server” → Install Configure the service # Run as Administrator # Enable auto-start for sshd Set-Service -Name sshd -StartupType Automatic # Start the service Start-Service sshd # Check status Get-Service sshd # Verify port 22 is listening netstat -ano | findstr :22 Firewall # Check for OpenSSH rule Get-NetFirewallRule -Name *OpenSSH-Server* | Select Name, Enabled # If missing, create it New-NetFirewallRule -Name sshd ` -DisplayName 'OpenSSH Server' ` -Enabled True ` -Direction Inbound ` -Protocol TCP ` -LocalPort 22 ` -Action Allow ` -Profile Any Test connection # From the same PC ssh localhost # From another device on the network ssh <your_username>@<Windows_IP> # Example: ssh kirill@192.168.1.100 💡 First connection will ask to confirm the host key fingerprint - type yes. ...

16 Mar 2026 · 3 min · 483 words · Potato Energy Team, ponfertato

WSL2: Developer's Complete Guide

WSL (Windows Subsystem for Linux) lets you run native Linux command-line tools directly on Windows - no VM, no dual boot. WSL1 - syscall translation layer (fast, but not 100% compatible) WSL2 - real Linux kernel in lightweight virtualization (full compatibility, slightly more resources) 💡 Use WSL2. Near-native performance with full Docker, systemd, and Linux feature support. Requirements OS: Windows 10 (2004+, build 19041+) or Windows 11 Architecture: x64 or ARM64 Privileges: Administrator (for install) Virtualization: Enabled in BIOS/UEFI (Hyper-V Platform) Check virtualization: ...

16 Mar 2026 · 4 min · 822 words · Potato Energy Team, ponfertato