Skip to content

Instantly share code, notes, and snippets.

@carlolars
carlolars / .wsl-git.md
Last active May 30, 2025 14:05
HOWTO: Use WSL and its Git in a mixed development environment

How to setup a development environment where Git from WSL integrates with native Windows applications, using the Windows home folder as the WSL home and using Git from WSL for all tools.

Note if using Git for Windows, or any tool on the Windows side that does not use Git from WSL then there will likely be problems with file permissions if using those files from inside WSL.

Tools

These are the tools I use:

  • git (wsl) - Command line git from within WSL.
  • Fork (windows) - Git GUI (must be used with wslgit)
  • wslgit - Makes git from WSL available for Windows applications. Important! Follow the installation instructions and do (at least) the first optional step and then the Usage in Fork instructions.
@leinich
leinich / gist:38b15ad7b60c699b85395533ed208f56
Last active April 3, 2025 03:31
e3dc Configuration Modbus for Homeassistant via YAML
modbus:
name: e3dc
type: tcp
host: 192.168.1.68
port: 502
sensor:
- platform: template
sensors:
e3dc_netzeinspeisung:
@tomdaley92
tomdaley92 / README.md
Last active April 11, 2025 15:50
Proxmox - Email Alerts Setup (gmail)

Proxmox - Email Alerts Setup (gmail)

  1. SSH into proxmox node and become root user. Run the following commands to download extra software dependencies we'll need.

    apt update
    apt install -y libsasl2-modules mailutils
  2. Enable 2FA for the gmail account that will be used by going to security settings