PowerShell – Set DHCP DNS or Set Static DNS
Execute with
Execute with
Sometimes you when a SSL CSR isn’t named properly you need to get the details of it, the code below will help. Note: Depending on version and OS the placement numbers (-f5 for example) may be slightly off. Once you have created the shell script call to it with the code below. Note: the file…
Installing Ubuntu for a server OS? The code below will remove some of the preloaded applications that are needed on a server. Arguably you could remove Gnome in general and all Gtk but that depends on how you want to run your server.
If you have your DirecTV Unit plugged into your network at home you could run a couple fun commands.
Lynx has a lot of good purposes but in this example below I’m simply going to strip URLs from a bookmarks HTML file exported from Chrome. If you have created folders and links all over the place in Chrome or Firefox this below will be helpful
If you are working on a project and need SFTP capabilities but don’t want users to see each other’s files create a SFTP Jailed server. Assumptions for the code below is that you are running Red Hat, CentOS, or Fedora and already have the OS running. NOTE: In this first script block it will restart…
Originally found at https://linuxconfig.org/replace-all-tab-characters-with-spaces
In the functions below the VM name is used in all of the pieces to build the VM to simplify documentation. Important Items: As I use a Firewall appliance in Azure I do not set Network Security Groups (NSG). I have a predefined virtual network (VN) and predefined network subnet configuration (NSC) UnixAdmin user is…
This code will help you determine what phone or device is using your app. In your ViewController put this under your imports In ViewDidLoad or somewhere else as needed you can call to the above with Sorry but I do not remember the location that I originally found this.