Skip to content

Instantly share code, notes, and snippets.


Be Duc Tai eosvn

View GitHub Profile

Keybase proof

I hereby claim:

  • I am eosvn on github.
  • I am eosvn ( on keybase.
  • I have a public key ASCgowg4rtxIbPTxTta5BRw3OC9OoIoor0pBqQYJIFjLawo

To claim this, I am signing this object:

eosvn /
Created Oct 3, 2020 — forked from ethicka/
Localhost SSL Certificate on Mac OS Sierra and High Sierra

This gives you that beautiful green lock in Chrome. I'm assuming you're putting your SSL documents in /etc/ssl, but you can put them anywhere and replace the references in the following commands. Tested successfully on Mac OS Sierra and High Sierra.

Set up localhost.conf

sudo nano /etc/ssl/localhost/localhost.conf


View Key Sublime Text 3.2.1 Build 3207 - Sublime Text 3 License Key
Key Sublime Text 3.2.1 Build 3207
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
eosvn / nginx.conf
Created Sep 24, 2021 — forked from ashleydw/nginx.conf
Laravel nginx conf file
View nginx.conf
server {
listen 80 default_server;
access_log /srv/www/;
error_log /srv/www/;
root /srv/www/;
index index.php index.html;
eosvn / php_unserialize_to_json.sql
Created Mar 20, 2022 — forked from storeman/php_unserialize_to_json.sql
PHP unserialize in Postgresql to json
View php_unserialize_to_json.sql
Decode a php serialized value to json. This function only supports basic
data types:
- arrays (will always become a json object)
- booleans
- integers
- floats
- strings
The php_unserialize(text) function is a helper function which extracts the first value