I was trying selenium and I have installed chromedriver using home-brew. However, I could not execute the driver(block by Apple). Here is how to solve the issue. I’m using a Mac with M1 chip thought that should be irrelevant. The error should look something like this. The solution is simple, just type the command below.… Continue reading homebrew install ChromeDriver not working in M1 Mac
Factory rest HPE 5510 switch
1. Reload the switch 2. Hit “Ctrl+B” as the switch boot up to enter extended boot menu 3. From the menu select 5(Restore to factory default configuration) 4. If “Password recovery capability is enabled”. you could not perform a factory reset. You will have to disable the function first. 5. Reload the switch and enter… Continue reading Factory rest HPE 5510 switch
[Cyberark] Enable CPM debug for trouble shooting
Sometimes basic log info did not help solve CPM issue, we can see more detail logs if debug mode is enabled. There are 2 method that you can enable CPM debug log. Method 1 : enable CPM debug on Platform levelAll accounts in this platform will enable debug logging. Method 2 : enable CPM debug… Continue reading [Cyberark] Enable CPM debug for trouble shooting
[Cyberark] Enable html5 gateway for PSM server
Once you finished installation the HTML5 gateway, you need to make some setting change to let PSM know where is the HTML5 gateway. Login PVWA with admin privileges. Then navigate to “Options>Privileged Session Management”. 2. Right click on “Configured PSM Gateway Server” and select “Add PSM Gateway server” 3. Select newly add item and type… Continue reading [Cyberark] Enable html5 gateway for PSM server
Check RDS license grace period
Method 1 Method 2 Method 3
Juniper srx320 clear system alarms
I need to set up some SRX320 for customer and the device’s alert light keeps showing red. Here is how to resolve it. If you have same alarm message. To show what alarm the system is having is simple. In my case, the output is like this. Is’t also simple to resolve, just run the… Continue reading Juniper srx320 clear system alarms
Enable console(UART) on raspberry pi 4b running ubuntu22.04
I recently had some issue on how to enable UART(console) port on a raspberry pi device. This post will help you configure raspberry pi to be accessible by UART(console) on the board. 01. Edit the config.txt under /boot/firmware. Add “enable_uart=1” in the file or edit if the line already exist. 02. Edit cmdline.txt under /boot/firmware.… Continue reading Enable console(UART) on raspberry pi 4b running ubuntu22.04
Let your python script take command line argument with Argparse
Sometime in your life you might want your script to be able to accept command line argument as input. This post will teach you the most basic usage of Argparse library. I only touch surface of this library if you would like to know more detail usage read docs.python.org for further instructions. Installation is quite… Continue reading Let your python script take command line argument with Argparse
Install Rocky Linux
Download the DVD iso from rockylinux. Since DVD iso is the full installation package. Step01 Mount the iso to the device you want to install rocky linux. Step02 Choose language you would like to use Step03 Basic system configuration page (Step 04~08 will refer to this snapshot)The installation can not continue if you have not… Continue reading Install Rocky Linux
Factory Reset Palo Alto Firewall with admin password
This post will show you how to perform factory reset on a Palo Alto firewall. And this post assume you have admin user password of the firewall. Step01Enter maintenance mode using the command below. Step02Select “Factory Reset” option. Step03Confirm to perform a factory reset by selecting the “Factory Reset” option. Step04Wait the system being reset.… Continue reading Factory Reset Palo Alto Firewall with admin password