Skip to content

Instantly share code, notes, and snippets.

View jshossen's full-sized avatar

Jakir Hossen jshossen

View GitHub Profile
@jshossen
jshossen / wpcs-guide.md
Created July 12, 2024 00:10 — forked from siddik-web/wpcs-guide.md
WordPress Coding Standard Setup for VSCode Local Project

1. VSCode settigns file settgins.json

Save this into .vscode folder

{
    "[php]": {
        "editor.defaultFormatter": "wongjn.php-sniffer"
    },
    "phpSniffer.enable": true,
    "phpSniffer.standard": "WordPress",
    "phpSniffer.autoDetect": true,
@jshossen
jshossen / node_nginx_ssl.md
Created July 8, 2021 12:01 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user