Advanced Search
Search Results
57 total results found
Linux Network Monitoring
Here’s a list of some useful terminal based network monitoring utilties: https://askubuntu.com/questions/257263/how-to-display-network-traffic-in-the-terminal Best one we have used so far, is BMon. It’s available as: sudo apt install bmon Can be run with: ...
Git Usage in Ubuntu
Here’s some commands and such for accessing git from Ubuntu: Use this to mount the bliss.git repository from 192.168.1.211, to /mnt/oga:sudo mount -t cifs //192.168.1.211/oga/bliss.git /mnt/oga -o username=glwhite,noexec This command will clone the above rep...
GitHub SSH Key Updates
When the GitHub client SSH key expires, any checked out repository must be updated to use the new key. This is because we embed key properties in its name. And with many active repositories checked out for development, updating each one is tedious and error-...
Arch Linux VM Setup
Base VM Needs Select guest OS type: Linux and Linux 4.x from the Vsphere dropdowns. Make sure the install ISO is mounted, and boot the VM. Once the live terminal is up, determine if the guest VM is efi or not: ls /sys/firmware/efi/efivars If it’s an EFI p...
Linux: Impersonating Users
NOTE: This page was created to generalize the technique of impersonating a system account that has no defined shell, and no known password. Specifically, it was documented as a means to add functionality to a Jenkins build server (where the jenkins account has...
Supermicro Fan Problems
If you are running Noctua cooling fans in your PC and the PC is cycling fans up and down, then it’s probably because the motherboard thinks a fan has failed and is ramping them all up to compensate. This is happening because Noctua fans run a lower RPM than o...
Supermicro Fan Scripting
Some references: https://www.truenas.com/community/threads/script-hybrid-cpu-hd-fan-zone-controller.46159/ https://www.truenas.com/community/threads/script-to-control-fan-speed-in-response-to-hard-drive-temperatures.41294/ https://forums.servethehome.com/in...
Jenkins References
Jenkins Tutorial — Part 5 — When Conditions Conditionals in a Declarative Pipeline Jenkinsfile Jenkins Declarative Pipeline Tutorial Declarative Pipeline With Jenkins - DZone Refcards
Linux Disk Usage
Linux has a few means to analyze a disk for space usage. One way, is a package called, ncdu. It can be downloaded with: sudo apt install ncdu You execute it, like this: sudo ncdu -x / NOTE: -x forces it to stay within the same filesystem, and not travers...
HowTo Retrieve Key and Cert from PFX
Here’s a good article on how to export SSL certificates, extract the key and certificate, and import it into AWS. How To Convert Windows PFX Certificate Files Into PEM Format On Linux The above article uses openSSL, which can be found for Windows, here: Win...
Create PFX Cert File (for IIS)
Windows IIS requires a pfx file when importing an SSL certificate. This can be created from a crt and a key file using openssl and the following steps. Locate the openssl.exe on your system. It is usually installed as part of git, and located, here:C:\Progra...
PostgreSQL Permissions
Here are three major points you need to understand about object ownership: Only a superuser or the owner of an object (table, function, procedure, sequence, etc.) can ALTER/DROP the object. Only a superuser or the owner of an object can ALTER the own...
Long Numbered List Randomly Changes
Documentation Open the Network VLANs listing, and add a new entry for the VLAN. Main Switch Config The main switch will need to be updated, so VMs in the new VLAN can reach the router. Log into the main switch at: 192.168.1.20. From the ma...
OpnSense Notes
Here’s a collection of notes and details for the house router setup. Build Software: OpnSense 24.7.4_1 Hardware: Gigabyte H97N-Wifi motherboard Processor: Intel i5-4460 Setup Base setup was done following this article: https://homenetworkguy.com/how-to/s...
Postgres Setup
Remote Access For accessing the postgres database from outside the host or from a docker container on the host, you must setup the Postgres instance to listen on a network adapter other than localhost. To do this, locate the postgresql.conf file in: /etc/pos...
SSRS: Export Reports Without WebPortal
If you’re trying to export all the RDL, data sources, gif, and other files of a set of reports, but the SSRS web portal is inaccessible, this method will pull them from the report engine database back-end. Taken from here: Export of SSRS reports datasources a...
RunDeck Backups
Adapted from here: https://docs.rundeck.com/docs/administration/maintenance/backup.html We will use the rd tool to access the RunDeck API and export the project job list. We will be backing things up to this folder: /projects/rundeck_backups 1. Execute thi...
Cancelling a Long Running Operation
If you accidentally execute a long-running operation that you want to cancel, and the SSMS client doesn't seem to accept the cancellation, then the database engine is likely involved in a large rollback, to restore the original state. Run this to identify the...
Purging Many Records
If you come across the need to purge many records from a datatable, and doing so will result in a large rollback snapshot, you can split the deletion into chunks that will execute much faster and with less resources. Use something like this: SET NOCOUNT ON; ...
Ubuntu: How to Kill DotNet Runtime
Sometimes, a a dotnet runtime closes without releasing a listening port. This will prevent it from restarting, because the port is already in use. While running the dotnet run if you stop the server using ctr + z then it Ctrl+z sends the SIGTSTP (Signal T...