Skip to content

Instantly share code, notes, and snippets.

View ilyasdev3's full-sized avatar

Ilyas Khan ilyasdev3

  • Altaurux
View GitHub Profile
@ilyasdev3
ilyasdev3 / 01. Setup Next.js App on DigitalOcean Ubuntu Server
Last active August 8, 2025 06:40
Full terminal commands & configs to set up a Next.js app on a DigitalOcean Ubuntu server (with PM2, NGINX, SSL, and optional GitHub Actions auto-deploy)
# 🚀 Setup Next.js App on DigitalOcean Ubuntu Server
> **Full Terminal Commands Step-by-Step**
### **Login to server**
```bash
ssh root@ip_address
### **Upgrade Server**
sudo apt update
@ilyasdev3
ilyasdev3 / .prettierrc.json
Created June 13, 2023 13:30
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=false&runs=200&gist=
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false