Skip to content

Instantly share code, notes, and snippets.

View jorgerance's full-sized avatar
💭
I may be slow to respond.

Jorge Rancé Cardet jorgerance

💭
I may be slow to respond.
View GitHub Profile
@jorgerance
jorgerance / figlet_install_fonts.sh
Created July 21, 2023 21:59 — forked from kenny-kvibe/figlet_install_fonts.sh
Install "figlet" & download figlet fonts
#!/bin/bash
########
#
# Install "figlet" package
# & Download figlet fonts
# (running as root)
#
# + Github Repositories:
#--> https://github.com/xero/figlet-fonts
#--> https://github.com/phracker/figlet-fonts
@jorgerance
jorgerance / fast.sh
Created July 1, 2021 20:32 — forked from nvk/fast.sh
OSX For Hackers
#!/usr/bin/env bash
##
# Install:
# curl -sL https://raw.github.com/gist/2108403/fast.sh | sh
#
# Share your feedbacks on:
# https://gist.github.com/2108403
#
# Author: @DAddYE (Twitter/Github)
@jorgerance
jorgerance / docker-compose-backup.sh
Created September 20, 2019 12:33 — forked from pirate/docker-compose-backup.sh
Backup a docker-compose project, including all images, named and unnamed volumes, container filesystems, config, logs, and databases.
#!/usr/bin/env bash
# Fully backup a docker-compose project, including all images, named and unnamed volumes, container filesystems, config, logs, and databases.
project_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
cd "$project_dir"
project_name=$(basename "$project_dir")
backup_time=$(date +"%Y-%m-%d_%H-%M")
backup_dir="$project_dir/data/backups/$backup_time"