Thursday, January 12, 2023

[ Solved ] : hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: No httpclient implementations found on the context classloader, please ensure your classpath includes an implementation jar

With this error: hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: No httpclient implementations found on the context classloader, please ensure your classpath includes an implementation jar 

You can resolve by install this plugin : Pipeline: GitHub Groovy Libraries .

Finish ! 

Tuesday, January 10, 2023

[ Linux ] : Bash script

# Create folder named with month : 
printf '%s\n' {1..12}/01 | xargs -I {} date -d {} +%b | xargs mkdir --
# Create folder named with day:
cd Jan && for i in {1..31} ; do mkdir -p $i; done && cd .. && cd Feb && for i in {1..28} ; do mkdir -p $i; done && cd .. && cd Mar && for i in {1..31} ; do mkdir -p $i; done && cd .. && cd Apr && for i in {1..31} ; do mkdir -p $i; done && cd .. && cd May && for i in {1..31} ; do mkdir -p $i; done && cd .. && cd Jun && for i in {1..30} ; do mkdir -p $i; done && cd .. && cd Jul && for i in {1..31} ; do mkdir -p $i; done && cd .. && cd Aug && for i in {1..31} ; do mkdir -p $i; done && cd .. && cd Sep && for i in {1..30} ; do mkdir -p $i; done && cd .. && cd Oct && for i in {1..31} ; do mkdir -p $i; done && cd .. && cd Nov && for i in {1..30} ; do mkdir -p $i; done && cd .. && cd Dec && for i in {1..31} ; do mkdir -p $i; done && cd ..


Wednesday, January 4, 2023

How to stop an automatic redirect from “http://” to “https://” in Google Chrome

For example :

 If You want to access this url http://test.example.com.vn/everything : you will type url in Google Chrome like that: test.example.com.vn/everything but Chrome auto switch to https://test.example.com.vn/everything but your server didn't open port 443 for subdomain : test.example.com.vn so It will return :Failed .

To resolve this problem : 

1. you go to : chrome://net-internals/#hsts



2. then you query domain example.com.vn it will show results like below example  :


Note : you don't need to query subdomain: test.example.com.vn  , only domain not subdomain .

3. Input domain example.com.vn into below box : "Delete domain security policies" then click to Delete ,Done ! 



That's All !