Skip to content

Instantly share code, notes, and snippets.

@ennanco
ennanco / Dotfiles_backup.md
Last active October 6, 2025 03:19
Managing the dotfiles with style (git bare repo) 😎

I have recently come accross with a new solution to one of my biggest headaches in any linux system and it is to manage the nightmareof the dot files. I have previously used stow in order to mantain the symbolic links, but there is a much better solution using git bare repositories.

1. Creating the repository

  1. Create a git bare repository with the following line
    mkdir $HOME/.cfg
    git init --bare $HOME/.cfg
  1. Create an alias for a better managing of the configuration
@sgarciav
sgarciav / pass.md
Last active July 22, 2025 13:41
Initialize your password store

About

Summarizing the instructions of the pass tool (as seen on its website).

Getting Started

Installation

Execute: $ sudo apt install pass

@arafathusayn
arafathusayn / Emoji-on-Ubuntu.md
Last active September 19, 2025 16:00
Guide to enable system-wide Emoji support on Ubuntu 🤩

1. Install Fonts

sudo apt install fonts-noto-color-emoji

2. Add Font Configuration

  • Open ~/.config/fontconfig/conf.d/01-emoji.conf file in an editor.
  • Copy-paste the lines below:
@jamesmishra
jamesmishra / README.md
Last active February 18, 2025 04:52
Using Terraform to run a docker-compose.yml file directly on an Amazon EC2

Introduction

This is a Hashicorp Terraform module that provisions an AWS EC2 instance for the purpose of running a given docker-compose.yml file.

Usage

# ===== OUR MAGIC DOCKER-COMPOSE.YML FILE HERE =====
# It is also possible to get Terraform to read an external `docker-compose.yml`
# file and load it into this variable.
# We'll be showing off a demo nginx page.