Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

30 total results found

🔄 Exporting & Restoring

MariaDB

Export one database mariadb-dump --user=<DB_USERNAME> --password --lock-tables --databases <DB_NAME> > /data/backup/db1.sql Restoring mariadb --user=<DB_USERNAME> --password <DB_NAME> < /data/backup/db1.sql

🔔 Low Space

Applications ntfy

Script #!/bin/bash mingigs=20 avail=$(df | awk '$6 == "/" && $4 < '$mingigs' * 1024*1024 { print $4/1024/1024 }') if [ -n "$avail" ]; then curl \ -H "Title: Low Disk Space" \ -H "Priority: urgent" \ -H "Tags: warning,cd" \ -d "Hello...

⛔️ SSH Access

Applications ntfy

Script #!/bin/bash if [ "${PAM_TYPE}" = "open_session" ]; then curl \ -H "Title: SSH Login" \ -H "Priority: urgent" \ -H "Tags: warning,door" \ -d "Hello TTBB! There was an SSH login with user ${PAM_USER} from ${PAM_RHOST} host" \ ...

🐚 Useful Commands

Applications ntfy

Creating an Administrator docker exec -it <NTFY_CONTAINER_NAME> ntfy user add --role=admin <USERNAME>

Quick Add Magic

Applications Vikunja

Quick Add Magix Syntax Cheatsheet Labels - * *"Label with spaces" Project - + +"Project with spaces" Due Date and Time The date format is: MM/DD/YYYY 02/17/2021 at 17:00 Assignee @ttbb Examples dishwasher +HOUSE *kitchen 04/05/2025 at 09:00 @ttbb washi...

🔎 Adding a Customised Search Engine

Opera

In this case, I'm gonna add the docker search engine in Opera for MacOS. CHEATSHEET Open Opera Type opera://settings/searchEngines in the address bar In the Site search menu, click on Add Fill the fields like this: Name: Docker Hub Shortcut: docker URL...

Size Conventions

Canva

This article is a cheat sheet for all my images specification. Gitlab README Covers Width: 1350px Height: 440px Logo: Width: 250px Height: 250px X-Axis: 150px Y-Axis: 95px Title: Font: Open Sans Regular Size: 50 Weight: Normal X-Axis: 450px Y-Axis: variab...

macOS Installation

Powershell

Here is the installation of PowerShell for macOS. Installation Using Homebrew brew install --cask powershell Verify the Installation pwsh --version Should get you an output similar to this one: PowerShell 7.5.2 Upgrade PowerShell brew update brew upgrade p...

Docker Commands to Remember

Set Up

This article is a list of some Docker commands you should keep in mind. 1. docker exec docker exec Description: execute a command in a running container Usage: docker exec [OPTIONS] CONTAINER COMMAND [ARG...] Description The docker exec command runs a...

Update & Upgrade

Homebrew

Update First, you need to fetch the newest version of Homebrew and all formulae from GitHub using git and perform any necessary migrations. brew update Upgrade To upgrade all the outdated casks and outdated, unpinned formulae using the same options they were ...