Skip to content

Instantly share code, notes, and snippets.

View krizh-p's full-sized avatar
🎯
Focusing

krizh-p

🎯
Focusing
View GitHub Profile
@codinginflow
codinginflow / next-self-hosting-instructions.md
Last active May 18, 2025 07:56
Deploy & secure a Next.js app + Postgres DB on a VPS

Self-Hosting Next.js Tutorial

Follow the instructions below to deploy a Next.js app with a local PostgreSQL database to a VPS, secure it, and connect it to a custom domain with free SSL. Watch the accompanying tutorial on YouTube: https://www.youtube.com/watch?v=2T_Dx7YgBFw

Instructions & commands:

  1. Get your VPS server on Hostinger (Use code CODINGINFLOW for 10% off). Install Ubuntu 24 as the OS and set a root password.
  2. Log into your server as root: ssh root@<your-server-ip>
  3. Update Linux packages: apt update && apt upgrade -y
  4. Create a new user: adduser
@calebrob6
calebrob6 / Detect offshore wind farms with Sentinel 1 RTC.ipynb
Created May 15, 2023 18:40
Script for detecting offshore wind farms with Sentinel-1 RTC data using simple thresholding methods.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.