homebrew install ChromeDriver not working in M1 Mac

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

[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

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