Skip to content

Instantly share code, notes, and snippets.

View duyngha's full-sized avatar
💭
I may be slow to respond.

Duy duyngha

💭
I may be slow to respond.
View GitHub Profile
@duyngha
duyngha / default.conf
Last active July 7, 2022 06:12
Nginx Configuration
# To verify Nginx's config file, type `sudo nginx -t` in terminal
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _; // _ mean any server names are accepted
root /var/www/html;
index index.php index.html index.htm;
[
// PHP Companion Key Map
{ "keys": ["alt+u"], "command": "find_use" },
{ "keys": ["alt+g"], "command": "goto_definition_scope" },
{ "keys": ["alt+i"], "command": "insert_php_constructor_property" },
{ "keys": ["alt+p"], "command": "implement" },
{ "keys": ["alt+n"], "command": "import_namespace" }
]
[{"name":"Afghanistan","dial_code":"+93","code":"AF"},{"name":"Aland Islands","dial_code":"+358","code":"AX"},{"name":"Albania","dial_code":"+355","code":"AL"},{"name":"Algeria","dial_code":"+213","code":"DZ"},{"name":"AmericanSamoa","dial_code":"+1684","code":"AS"},{"name":"Andorra","dial_code":"+376","code":"AD"},{"name":"Angola","dial_code":"+244","code":"AO"},{"name":"Anguilla","dial_code":"+1264","code":"AI"},{"name":"Antarctica","dial_code":"+672","code":"AQ"},{"name":"Antigua and Barbuda","dial_code":"+1268","code":"AG"},{"name":"Argentina","dial_code":"+54","code":"AR"},{"name":"Armenia","dial_code":"+374","code":"AM"},{"name":"Aruba","dial_code":"+297","code":"AW"},{"name":"Australia","dial_code":"+61","code":"AU"},{"name":"Austria","dial_code":"+43","code":"AT"},{"name":"Azerbaijan","dial_code":"+994","code":"AZ"},{"name":"Bahamas","dial_code":"+1242","code":"BS"},{"name":"Bahrain","dial_code":"+973","code":"BH"},{"name":"Bangladesh","dial_code":"+880","code":"BD"},{"name":"Barbados","dial_code":"+1