I hereby claim:
-
I am almoore on github.
-
I am alexgmoore (https://keybase.io/alexgmoore) on keybase.
-
I have a public key ASDk-zia1_eW4EXDRU3Sdr7CpGnxcuAyBVth3-0BE5Rd2go
[Unit] | |
Description=hello_env.js - making your environment variables rad | |
Documentation=https://example.com | |
After=network.target | |
[Service] | |
Environment=NODE_PORT=3001 | |
Type=simple | |
User=root | |
ExecStart=/usr/bin/node /home/ubuntu/hello_env.js |
# SETUP BASH with a bunch of predefined colors. | |
# Makes reading code easier than escape sequences. | |
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# Credit to Mike Stewart - http://MediaDoneRight.com | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
I hereby claim:
I am almoore on github.
I am alexgmoore (https://keybase.io/alexgmoore) on keybase.
I have a public key ASDk-zia1_eW4EXDRU3Sdr7CpGnxcuAyBVth3-0BE5Rd2go
A convenience module for shelling out with realtime output
Credit: Largely taken from https://www.endpoint.com/blog/2015/01/28/getting-realtime-output-using-python
We already know how to use keys in order to connect through Secure Shell, but, there is an issue, it requires unlocking private key with a secret passphrase upon each connection.
To avoid this, we need to use ssh-agent, a program that runs in background and stores your keys in memory.
# start the ssh-agent in the background
$ eval "$(ssh-agent -s)"