Let's say you want to host domains first.com and second.com.
Create folders for their files:
| CREATE TABLE accounts( | |
| id serial PRIMARY KEY, | |
| name VARCHAR(256) NOT NULL | |
| ); | |
| CREATE TABLE entries( | |
| id serial PRIMARY KEY, | |
| description VARCHAR(1024) NOT NULL, | |
| amount NUMERIC(20, 2) NOT NULL CHECK (amount > 0.0), | |
| -- Every entry is a credit to one account... |
| #!/usr/bin/env ruby | |
| # | |
| # CLI tool for locating and removing a Homebrew installation | |
| # It replaces the official uninstaller, which is insufficient and often breaks | |
| # If files were removed, the script returns 0; otherwise it returns 1 | |
| # | |
| # http://brew.sh/ | |
| # | |
| # Copyright (C) 2025 Stephen C. Benner | |
| # |
| #get root access | |
| $su - | |
| $ cd /tmp | |
| #Remove old Ruby | |
| $ yum remove ruby | |
| # Install dependencies | |
| $ yum groupinstall "Development Tools" | |
| $ yum install zlib zlib-devel |