Skip to content

Instantly share code, notes, and snippets.

View Kasui92's full-sized avatar
🛸
Looking Up!

Luca Pattocchio Kasui92

🛸
Looking Up!
View GitHub Profile
@Kasui92
Kasui92 / update-pg.sh
Created October 8, 2025 09:33
Update postgres version (Ubuntu/Debian)
#!/bin/bash
set -e
if [ "$EUID" -ne 0 ]; then
SUDO="sudo"
else
SUDO=""
fi
@Kasui92
Kasui92 / Composer_CI4_Installation.txt
Last active September 27, 2021 09:35
Composer Installation (UBUNTU 20.04) for CodeIgniter4
# Update the package manager cache
sudo apt update
# Install the required packages (default PHP version for ubuntu 20.04 is 7.4)
sudo apt install php-cli unzip
# Make sure you're in your home directory
cd ~
# Retrieve the installer using curl