Skip to content

Instantly share code, notes, and snippets.

Create the SSH Key.

ssh-keygen -t rsa -b 4096 -C "[email protected]" -f ~/.ssh/gitlab25

Rename the result file from ~/.ssh/ to your own name: e.g. gitlab25

gitlab25 gitlab25.pub

@jazio
jazio / jekyll-blog-git.md
Created December 15, 2023 12:44
Spin up a Jekyll Blog + git revisioning system

Spin up a Jekyll Blog + git revisioning system

TASK: Install Latest ruby, rvm, rubygems

NOTE: In order to have a jekyll pipeline these steps needs to be run on both local and on the server

WARNING:

@jazio
jazio / rockylinux_webserver.md
Last active April 25, 2025 18:22
Rocky Linux Web Server Configuration

ROCKY LINUX WEB SERVER

Apache Server

https://www.brcline.com/wp-content/uploads/2020/06/apache-logo.png

Installation

@jazio
jazio / docker-compose.yml.md
Last active April 3, 2025 08:19
My platform: install commands, docker-compose.yml, aliases and more.

Cloning platform sites inside AWS Cloud9

Create your docker-compose.yml

version: '3'
services:
  web:
    image: fpfis/httpd-php-dev:8.1
    working_dir: /var/www/html
@jazio
jazio / gist:18ab33cb49579eeae6cee9d5e656d41c
Created September 18, 2023 08:38
Mount a Google drive locally (Debian)
sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt update && sudo apt install google-drive-ocamlfuse
# Mount a folder.
google-drive-ocamlfuse /home/jazio/Documents/2023.XpeditionToraTora
@jazio
jazio / nordvpn
Last active April 20, 2023 18:36
# Login or/and connect
nordvpn login
nordvpn c
nordvpn c Germany
# Debug
sudo journalctl -u nordvpnd > ~/Desktop/daemonlog.txt
nordvpn set technology openvpn​
@jazio
jazio / Install PHP
Last active September 28, 2020 14:40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DEBIAN UBUNTU MINT
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# PHP
sudo apt update
sudo apt install php php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath
php -v
@jazio
jazio / rockylinux.md
Last active December 17, 2023 21:32
Rocky Linux Server Droplet Configuration

ROCKY LINUX SERVER CONFIGURATION CHECKLIST

Rocky Linux https://rockylinux.org/ (from Community Enterprise Operating System) Rocky Linux is an open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux®. It is under intensive development by the community.

Set Up an Alternative Superadmin

@jazio
jazio / gist:d45d4d97aab63574b0bb5488cde6babb
Last active August 23, 2024 20:46
Install Custom ROM
Special boot modes
Recovery: With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
Download: With the device powered off, hold Volume Down + Power. Keep holding both buttons until the word “FASTBOOT” appears on the screen, then release.
Steps.