Skip to content

Instantly share code, notes, and snippets.

View blessed-tawanda's full-sized avatar

Blessed T Mahuni blessed-tawanda

View GitHub Profile
@blessed-tawanda
blessed-tawanda / multiple-keys-gitlab.md
Created June 22, 2022 07:58 — forked from dotspencer/multiple-keys-gitlab.md
Multiple Gitlab accounts with multiple ssh keys

Gitlab won't allow reuse of a public ssh key for multiple accounts. To get around this you need to create a second ssh key for the second account.

Create or modify your ~/.ssh/config file:

# normal                                                                                                                                                                  
Host gitlab.com-work_username
     HostName gitlab.com
     PreferredAuthentications publickey
 IdentityFile ~/.ssh/id_rsa
@blessed-tawanda
blessed-tawanda / node_nginx_ssl.md
Last active June 22, 2021 08:03 — forked from bradtraversy/node_nginx_ssl.md
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. Create a droplet and log in via ssh

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

2. Install Node/NPM

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

Proposal for the new delivery system

  • Team backend. Can you please create endpoints with crud actions for deliveries.
  • The array bellow is an example of the collection of deliveries to be saved in the database.
  • These deliveries will be managed in tablero.
  • The deliveries will be scoped by realm

Checkout a demo of the new checkout

cons deliveries = [
<nav>
<ul class="navigation">
<li> <a href="#">About Us</a> </li>
<li> <a href="#">Pricing</a> </li>
<li> <a href="#">Contact</a> </li>
</ul>
<div class="button">
<a href="#" class="btn-main">Sign Up</a>
<a href="#" class="btn-hot">Get A Quote</a>
</div>