sudo apt update && sudo apt upgrade
Deploy a Express.js project on Heroku
Step by step from command line by Michael Hsu
$ express myfirstexpress && cd myfirstexpress
Ever wondered how much who adds/removes, its time to find out :D (those are real stats, i just obfuscated the names )
###Results
Git scores (in LOC):
mr-add : +482273 -9466
justu : +286250 -159905
grosser : +152384 -323344
another : +121257 -82116
#!/bin/bash | |
# | |
# Blog post @ https://blog.kylemanna.com/sharing/gogo-inflight-wireless-with-openvpn/ | |
# | |
# Bail on errors | |
set -e | |
SERVER_IP=$(host myip.opendns.com. resolver1.opendns.com | awk '/has address/ { print $4 }') |
First off I'm going to assume you have created a user with sudo
permissions, and that you're not running from root. I'm also assuming you have a satisfactory knowledge of the Linux terminal/bash commands.
If you have any trouble, join our OpenBazaar Slack group, and pop into the #openbazaar-ipfs
channel.
- In your terminal, type:
sudo nano install.sh
- Paste in the following script:
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
This solution fixes the error caused by trying to run npm update npm -g
. Once you're finished, you also won't need to use sudo
to install npm modules globally.
Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.