Advanced Search
Search Results
151 total results found
InBox
Crock Pot Fiesta Chicken: Fiesta Ranch Chicken Crock Pot Fiesta Chicken Recipe Fiesta Chicken: Instant Pot Fiesta Lime Chicken Recipe Crock Pot Fiesta Chicken Recipe
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: ...
Spawning Processes into Interactive Sessions
Starting a Windows process using .NET is normally an easy thing.You call Process.Start() with a little setup, and the process runs. But, that starts a process in the same Windows session as the thread that calls Process.Start(). This, of course, doesn’t work...
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...
Net Deep Copy/Cloning
Below are some references for different methods of accomplishing deep copies of object types. NOTE: You will need to evaluate which technique is better for your use case, as there is no single solution for all. This is because of several factors: Time-co...
Deploy a DotNet Service with Ansible
The following shell command will deploy the binaries and appropriate configuration for a service, to an inventoried host: ansible-playbook deploy-service.yml \ -e "var_host=blissdev" \ -e "var_binrepo=oga-built-dev" \ -e "var_servicename=OGA.HostControl.Se...
Ansible Generic Commands
To list hosts in inventory: ansible-inventory --list -y To ping all hosts: ansible all -m ping -u glwhite To scan a playbook for tasks without making changes: ansible-playbook myplaybook.yml --list-tasks To get a list of hosts affected by a playbook: an...
Ansible Command References
Here’s a large list of possible ansible commands: Ansible AD HOC Command Examples - Ansible Cheat Sheet | Devops Junction Introduction to ad hoc commands — Ansible Community Documentation Ansible Playbook Examples - Sample Ansible Playbooks | Devops Junctio...
Debugging Ansible Playbook
Here are command line switches to enable debug logging of an ansible playbook: #Specify the location for the log file export ANSIBLE_LOG_PATH=~/ansible.log #Enable Debug export ANSIBLE_DEBUG=True #Run with 4*v for connection level verbosity ansible-playb...
Ansible Commands Cheat Sheet
Here’s a list of common ansible commands… Read through this DevOps book pdf for getting Docker and Ansible to work together: https://bjpcjp.github.io/pdfs/devops/ansible-docker.pdf Host Setup Host Setup Playbook This playbook will do basic setup of common ...
Node-Red References to Read
https://nodered.org/about/#flow-based-programming https://flows.nodered.org/node/smart-nodes https://flows.nodered.org/node/node-red-dashboard
C# Equality Operator Overloading
Here’s a good example for how to implement operator for equality (==, !=, .Equals()). This is taken from the Version3 type in OGA.SharedKernel.Lib. NOTE: These overrides include method signatures for older and newer NET Framework versions. Equal / Not Equal...
When Two Referenced Assemblies Have Overlapping Namespace
You will come across a problem at some point, where you will use a class, that exists in two libraries that your project references. This problem is identified by the CS0433 compiler error, “The type exists in both…”. To workaround this, without updating one...
DotNet Assembly Searching
Here are notes about the Assembly Helper classes that are part of OGA.SharedKernel.Lib and OGA.Common.Lib. Use Cases There are several use cases for searching loaded and referenced assemblies for classes and types.Here are some examples: Identify top-le...
Windows .SSH Config File Syntax
Here are use cases that require editing the SSH config file in your Windows user profile. References Syntax reference for the SSH config file is here: https://www.ssh.com/academy/ssh/config Tutorial for creating them: https://betterprogramming.pub/a-step-by...
DotNet Startup Remote Debugging Hook
When performing remote debugging of an application or service, it may be necessary to see what is happening during early startup. Adapted from this article: I Wish I Knew About Debugger.Launch Earlier Normally. By the time you have started the remote process...
Allow Remote Debugging of Docker Containers
When remotely debugging linux docker containers, the account that your remote debugging session uses to SSH into the Linux host must have RW access to the docker.sock process. If the permission is not granted, you may see an error like this: The above erro...
TortoiseGit Setting the SSH Key
Here are steps to set the SSH key for a repo checkout. Open File Explorer and navigate to the checkout folder. Right-click the folder, Select TortoiseGit → Settings. From the Settings page, on the left-hand navigation pane, locate the Git node a...
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-...
Install DotNet 6 on Ubuntu 24.04
The process of installing DotNet on Ubuntu has evolved a bit.It was especially rocky on Ubuntu v22, where the OS package manager had conflicts with the official Microsoft packages, rendering the installation broken. But, it appears that in Ubuntu 24.04, it wo...