Skip to content

Instantly share code, notes, and snippets.

I write CODE

ashad nasim ashadnasim52

I write CODE
View GitHub Profile
bradtraversy /
Last active Sep 21, 2021
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)

2. Create a droplet and log in via ssh

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

amitsin6h /
Last active Jun 6, 2019
How to checkout pull request locally and modify & resend, to master

$ git fetch origin


* [new ref] refs/pull/1000/head -> origin/pr/1000

* [new ref] refs/pull/999/head -> origin/pr/999

To check out a particular pull request:
SanderTheDragon /
Last active Sep 20, 2021
A shellscript to create a Postman .deb file, for simple installation on Debian-based Linux distro's. Also creates a .desktop file.
ls Postman*.tar.gz > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "Removing old Postman tarballs"
rm -f $(ls Postman*.tar.gz)
curlExists=$(command -v curl)
gokulkrishh / media-query.css
Last active Sep 21, 2021
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
##Device = Desktops
##Screen = 1281px to higher resolution desktops
@media (min-width: 1281px) {
/* CSS */