Category: Quick Tip

Convert certificate format with OpenSSL

Convert a PEM file to DER (crt etc)

Convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to PEM

Convert a PEM certificate file and a private key to...

ZSH Home / End Keys

Self note, Add this lines to ~/.zshrc


Matching non ASCII characters in NGiNX location

If you need to match a non ASCII string with NGiNX, and don’t want to use the encoded URL, you can use this trick,


[PHP] Validate Email Address Format

A quick snippet I use to validate email address format.