Skip to content

Instantly share code, notes, and snippets.

@ednisley
ednisley / Kicad-to-HAL.py
Last active May 3, 2022 01:20
Python and Kicad library: Convert Kicad schematic netlist to LinuxCNC HAL machine configuration
# Parse Kicad schematic netlist into a LinuxCNC HAL configuration file
#
# Ed Nisley - KE4ZNU
# 2021-03
import argparse
from pathlib import Path
from lxml import etree
@necojackarc
necojackarc / Set up Vim with clipboard on Ubuntu on WSL2.md
Last active July 7, 2025 08:22
Set up Vim on Ubuntu on Windows Subsystem for Linux 2 (WSL2) to share clipboard

This explains how to set up Vim on Ubuntu 18.04 on Windows Subsystem for Linux 2 (WSL2) in order to share the clipboard between Windows and Ubuntu.

Environments

  • Windows 10 Home
  • Ubuntu 18.04 on Windows Subsystem for Linux 2 (WSL2)

Steps

  1. Build Vim with the clipboard option enabled
  2. Set up VcXsrv Windows X Server
@mikepruett3
mikepruett3 / shell-setup.ps1
Last active April 15, 2026 12:30
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018