If you are running on Linux machine and. every time you access to your corporate website , it asks you for the password , but this does not happen with your Windows machine. I have spent a lot of times to research on this and found that: Chrome supports some of these authentication method: Basic, NTLM , Negotiate with Kerberos and Certificate. In this post, i will share how i pass the NTLM authentication by using a chrome extension. Here are 2 files that i use to create the extension:webrequest.js manifest.jsonRead More →

I got a weird message today when trying to use XMLHttpRequest Request I turns out that i need to turn on some headers on the destination server. This can be fixed by doing with .htaccess Here is the reason behind this. Let say you host a javascript on domain1.com , this script need to make a XMLHttpRequest on domain2.com. For security reason, the browser has implemented a thing call Cross Origin Resource Sharing (Cors) , this means that your browser will ask domain2.com to check if domain1.com is allowed to get data from domain1.com. By default, domain2.com only calls from domain2.com only. To overcome this,Read More →

Create a new primary volume and extend the volume group to the new volume. Check the physical volume for free space, extend the logical volume with the free space. Finally perform an online resize to resize the logical volume, then check the available space.Read More →

With puppeteer, we normally visit a website, that website has a form for us to submit the data. In the api world, there is no form for us to submit, when you visit you must embed the request data in the request. the data could be username or password or some special headers. This is easy done with curl. How can we do that with puppeteer? We can do that, Puppeteer allows us to modify the request before sending it to the server. Here is a sample code:Read More →

I have installed mysql many many times – i decided to save a note for myself for later installation. This is to install msyql server on Redhat 7. Below is the step: My next step will go to https://www.phpmyadmin.net/ to download phpmyadmin and set it up on my web server. I use this tool to manage the database. We need to install mysql module:Read More →

# subscription-manager repos –enable=rhel-7-server-rpms # subscription-manager repos –enable=rhel-7-server-extras-rpms # subscription-manager repos –enable=rhel-7-server-optional-rpms yum install docker reboot the machinedocker yum install podman skopeo buildah -yRead More →