$ sudo apt install curl ca-certificates
$ sudo install -d /usr/share/postgresql-common/pgdg
$ sudo curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc| 0-mail.com | |
| 007addict.com | |
| 020.co.uk | |
| 027168.com | |
| 0815.ru | |
| 0815.su | |
| 0clickemail.com | |
| 0sg.net | |
| 0wnd.net | |
| 0wnd.org |
Gitea is a self-hosted, open-source Git service similar to GitHub, but lightweight, free, and perfect for personal or local setups.
While the official Gitea installation guide is simple, the process you'll see here might seem a bit extra - and that's because I wanted something very specific.
Let's put it this way: I wanted to run my own local github.com, completely offline.
My top priority was to host everything locally on my own network, where the host and client machines could communicate both wirelessly (through a Wi-Fi router) and directly through a LAN cable (peer-to-peer).
Gitea is a self-hosted, open-source Git service similar to GitHub, but lightweight, free, and perfect for personal or local setups.
While the official Gitea installation guide is simple, the process you'll see here might seem a bit extra - and that's because I wanted something very specific.
Let's put it this way: I wanted to run my own local github.com, completely offline.
My top priority was to host everything locally on my own network, where the host and client machines could communicate both wirelessly (through a Wi-Fi router) and directly through a LAN cable (peer-to-peer).
This guide will not install a specific Ruby version you want, although, it will setup rbenv so you can manage multiple Ruby versions.
It assumes that the project that requires a specific Ruby version has a file .ruby-version in the root of the project. So, simply running rbenv install from project root directory will use the version specified in that file and install it.
But if you still want to install a specific version of Ruby without using .ruby-version file, you can do so using:
$ rbenv install 3.4.6Transferring files between a Fedora 43 machine and a Windows 10 machine over a LAN using FileZilla involves a few key steps. The general process is to set up one machine as an FTP server (Fedora) and the other as an FTP client (Windows). Here's how you can do that:
- Plug one end of the LAN cable into the Ethernet port of the first laptop.
- Plug the other end of the LAN cable into the Ethernet port of the second laptop.
You can follow the PostgreSQL installation steps from its official website and you'll be good to go but I prefer to keep only the latest version's repo i.e. pgdg18, since the first command would add pgdg repos for version 13 through 18.
# Add the pgdg repo
sudo dnf install https://download.postgresql.org/pub/repos/yum/reporpms/F-43-x86_64/pgdg-fedora-repo-latest.noarch.rpm
# Disable all pgdg repos except pgdg18A pair of bash scripts to securely backup and restore your SSH keys, GPG keys, and Git configuration with symmetric encryption.
This script creates an encrypted backup of the following:
- All SSH keypairs in
~/.ssh/starting withid_(e.g.,id_rsa,id_ed25519) - All GPG keys (private keys, public keys, and trust database)
Dangling objects are commits, blobs, or trees that are no longer referenced by any branch, tag, or the reflog. They exist in Git's object database but aren't part of any reachable history.
commit A -- commit B -- commit C (HEAD)
\
commit B' (dangling after amending B)
fallocate: Allocates actual disk space (reserves it upfront)truncate: Changes file size without allocating space (creates sparse files)
Sparse files have "holes" - regions that claim to exist but have no actual data. When read, the OS returns zeros for holes without storing them on disk. This saves space but may cause issues if the disk fills up later when you try to write real data.