Sunday, December 30, 2018

Wednesday, December 26, 2018

Project okasyonapp.com

Plan

References:

https://www.facebook.com/okasyonevents/
https://okasyonweddings.wordpress.com/

https://www.cvent.com/sg/



Sunday, December 23, 2018

Installing react


1. install nodejs and npm
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
nodejs -v

2. install react
sudo npm i -g create-react-app@1.5.2
cd folder
npm start


Saturday, December 22, 2018

Json formatter

It's a great json formatter where you can view into different type like form,view,tree,code
https://jsonformatter.org

Wednesday, December 5, 2018

curl: (60) Peer's Certificate issuer is not recognized

After our company implements stricter rules, I can't install docker in my vagrant properly. I have been solving this issue for about a week and its hard to point out the correct solution until I found from stackoverflow.



add this in vagrant file
config.vm.box_download_ca_cert = "./Fortinet_CA_SSL.cer"


Finally fixed it. Post the answer here as reference.
  • Export company trusted root certificate with .cer extension. Somthing naming external root certificate
  • Convert the ca file to .pem file using openssl x509 -in xxx.cer -inform der -outform pem -out xxx.pem
Then on the centos 7 os:
  • Install the ca-certificates package: yum install ca-certificates
  • Enable the dynamic CA configuration feature: update-ca-trust force-enable
  • Add the exported pem files to /etc/pki/ca-trust/source/anchors/
  • Use command: update-ca-trust extract



https://stackoverflow.com/questions/47676980/curl-60-peers-certificate-issuer-is-not-recognized

free online comma separating tool

https://delim.co/#