Skip to content

Instantly share code, notes, and snippets.

View Deanosim's full-sized avatar
💭
Getting annoyed at code or playing Video Games

Deanosim Deanosim

💭
Getting annoyed at code or playing Video Games
View GitHub Profile
@TrillCyborg
TrillCyborg / mastodon-docker-setup.md
Last active April 16, 2025 03:16
Mastodon Docker Setup

Mastodon Docker Setup

Setting up

Clone Mastodon's repository.

# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live

cd ~/live

@DavMorr
DavMorr / gist:53e3ad5c26d16f4f6be3220b078b19c9
Last active October 21, 2024 10:20
Include hidden files in tar archive
When you create a tar archive of a directory tree the hidden files are normally not included. Here’s how to include the hidden files.
Say you have a web directory called “/var/www/html/mysite/” that contains the following tree:
.htaccess
index.php
logo.jpg
style.css
admin_dir/.htaccess
admin_dir/includes.php