Add the following to your ~/.bashrc
:
alias g='git'
const express = require('express');
const path = require('path');
const app = express();
// Allow dotfiles - this is required for verification by Lets Encrypt's certbot
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
var users = [{"user": "👩🏻💻"},{"user": "👨🏾💻"},{"user": "💃"},{"user": "👨🏻🎓"},{"user": "🧑🏻🏫"},{"user": "🦸♂️"},{"user": "🧟♂️"}]; | |
let resultDetails = users.map(user => { | |
let mark = Math.random() * 100; | |
user.mark = mark; | |
return user | |
}); | |
//for me resultDetails | |
/* | |
0: {user: "👩🏻💻", mark: 76.03572182106969} |
/*------------------------------------------ | |
Responsive Grid Media Queries - 1280, 1024, 768, 480 | |
1280-1024 - desktop (default grid) | |
1024-768 - tablet landscape | |
768-480 - tablet | |
480-less - phone landscape & smaller | |
--------------------------------------------*/ | |
@media all and (min-width: 1024px) and (max-width: 1280px) { } | |
@media all and (min-width: 768px) and (max-width: 1024px) { } |