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 / useDrag.md
Last active September 27, 2021 16:48
React useDrag Hook

Drag anything. Resize Anything. Input, DIV, Image, any HTML DOM.

Preview

NPM

@jshossen
jshossen / readme.md
Last active July 15, 2021 10:40
1 Line Contribute

1-line-contribute

Github Repo

This will be the largest contributed repository. Step 1: Just add only 1 line [title](https://www.example.com). Step 2: Make pull request.

@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