-
-
Code | macOS | macOS Shell | UNIX | UNIX Shell Scripts
Bash – Get ARIN IP Information
A bit crude but works
-
Red Hat / CentOS / Fedora – Splunk – PERL – Apache Server Status
Guide Followed: https://community.splunk.com/t5/Getting-Data-In/Reading-Apache-server-status-output/m-p/48158 First make sure your Apache server-status is setup (assuming you already have Apache/httpd installed) PERL script for scraping the data for SPLUNK Example:
-
CentOS | Code | Fedora | Prometheus | Red Hat | UNIX | UNIX Shell Scripts
Red Hat / CentOS / Fedora – Apache – Prometheus Metrics
Guides followed: https://machineperson.github.io/monitoring/2016/01/04/exporting-apache-metrics-to-prometheus.html https://www.shellhacks.com/prometheus-apache-exporter-install-config-ubuntu-centos/
-
-
Code | PowerShell | Ubuntu | UNIX | UNIX Shell Scripts | Windows
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 you give credit where due….
-
CentOS | Code | Debian | Fedora | macOS | macOS Shell | Raspberry Pi | Raspbian (Raspberry Pi OS) | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts | Zorin OS
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 (detail) passed Parameter r (release)…
-
Code | PowerShell | Windows | Windows Reg | Windows Server
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