Skip to content

Instantly share code, notes, and snippets.

View serjbord's full-sized avatar
:octocat:

Serhii Bordiuhov serjbord

:octocat:
  • Ukraine, Kharkiv
View GitHub Profile
@serjbord
serjbord / next_nginx.md
Last active January 8, 2021 11:31 — forked from kocisov/next_nginx.md
How to setup next.js app on nginx with letsencrypt

How to setup next.js app on nginx with letsencrypt

next.js, nginx, reverse-proxy, ssl

1. Install nginx and letsencrypt

$ sudo apt-get update
$ sudo apt install certbot python3-certbot-nginx

Also enable nginx in ufw

@serjbord
serjbord / github-ubuntu.sh
Created January 7, 2021 20:52 — forked from dstroot/github-ubuntu.sh
Setting up github on Ubuntu
#!/bin/bash
###############################################
# To use:
# wget https://raw.github.com/gist/4411254
# chmod 777 github-ubuntu.sh
# ./github-ubuntu.sh
###############################################
echo "*****************************************"
echo " Step 1: Check your keys"
echo "*****************************************"
@serjbord
serjbord / postgres-brew.md
Created December 22, 2020 21:14 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update