Mac OSX Terminal – Uninstall Palo Alto Global Protect
First copy this text to a file and name it uninstall_gp.sh The code below is right from the Palo Alto Global Protect installer for Mac After you have the file created run the below
This area of the site is dedicated to code snippets for quick and easy reference
First copy this text to a file and name it uninstall_gp.sh The code below is right from the Palo Alto Global Protect installer for Mac After you have the file created run the below
This process is very helpful to format a disk that has multiple partitions on it like a Raspberry Pi SD Card. This script can be updated to allow a different type of format (JHFS+ instead of FAT32) but for now it serves my purpose.
Similar to Ubuntu / Raspberry Pi – Install NGINX Load Balance DNS Some prerequisite posts to look at: Should Run Red Hat – Check Subscription / Register Server SELinux Configuration Change UNIX – Set SSH Banner Should Read/Understand UNIX – Bash Identify Distribution (What OS Am I On) UNIX – Display Network Information Strong Password…
Tested on Raspberry Pi but should work on any Debian based OS NOTE: With the three languages included you may get some words for your password that may be offensive if you choose not to put words in the badwordlist file. If so just run the script again.
Recently I needed to rename files and directories in a repository so I came up with the PowerShell script. NOTE: Use caution using this.
As a web developer you often have to use a host file, this script helps assist a safe and fast change with little effort.
If you use the Microsoft Family settings for your kids and can’t figure out how to prevent them from installing Chrome or Chromium this will help. This PowerShell script (ran as Administrator) will create/modify the user folders to prevent users from accessing the needed folders to run the two programs.
To expand on an earlier post “MacPorts / HomeBrew – Rip CD tracks from terminal” I have worked on two scripts; one for Mac and one for PC. Both scripts (Bash and PowerShell) will run similar with predefined values that you’ll need to update for your own purposes (look at the highlighted lines). First script…
Sometimes when you are looking at execution time you want to make it easier to report the amount of time. The script below will help. And a full example is below
Reference: https://blog.sqlauthority.com/2011/06/18/sql-server-selecting-domain-from-email-address/