Skip to content

Instantly share code, notes, and snippets.

View nrubel's full-sized avatar

Nasir Uddin nrubel

View GitHub Profile
@nrubel
nrubel / README.md
Created May 18, 2023 08:20 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@nrubel
nrubel / nextjs-deploy.md
Created November 21, 2022 18:06 — forked from jjcodes78/nextjs-deploy.md
Deploying NEXTJS site with nginx + pm2

How to setup next.js app on nginx with letsencrypt

next.js, nginx, reverse-proxy, ssl

1. Install nginx and letsencrypt

$ sudo apt-get update
$ sudo apt-get install nginx letsencrypt

Also enable nginx in ufw

@nrubel
nrubel / README.md
Created October 8, 2018 17:32 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})