Category: Code
This area of the site is dedicated to code snippets for quick and easy reference
PowerShell – Install Ubuntu WSL (Linux On Windows)
If you have issues like I have had with the Windows Store this will help you to get Ubuntu WSL on Windows. NOTE: You may need to reboot your computer after the first line.
PowerShell – Get Text Encoding Type
Reference: https://community.idera.com/database-tools/powershell/powertips/b/tips/posts/get-text-file-encoding
PHP – Latitude Latitude to Maidenhead Grid – HAM Radio
Recently I was asked by a HAM Radio friend to work on a conversion of latitude and longitude coordinates to maidenhead grid. The code below is in “rough” PHP code on purpose to help illustrate the math behind the conversion. Feel free to clean/optimize it all I ask is that…
Bash – Unix – Identify Distribution (What OS Am I On)
Unix Identification is a script that originated with VMWare but I have added some other systems to the script. No Install Option Install Option Basic parameters of the script No parameters passed you will be asked to type a,d,r,or i then press enter/return Parameter a (all details) passed Parameter d…
PowerShell – Get .NET Framework / Core Version
First I want to apologize I don’t remember where I found the original script but I have added some additional version numbers
FRC – CSA Thumb Drive
In an effort to catalog what a CSA could/should have on a thumb drive I’ve started to compile the list of links below. FRC Game Manual – https://www.firstinspires.org/resource-library/frc/competition-manual-qa-system Game Tools (Driver Station / Rio Update) – https://www.ni.com/en-us/support/downloads/drivers/download.frc-game-tools.html WPILib Installer – https://github.com/wpilibsuite/allwpilib/releases Java Java Installer – https://java.com/en/download/win10.jsp OpenJDK – https://www.oracle.com/java/technologies/javase-jdk13-downloads.html#license-lightbox Uninstaller…
PowerShell – Compare Windows Server Host Files
If you maintain more than one Windows server sometimes you need a quick way to determine the host file differences on each server, the code below will help.