Skip to content

Instantly share code, notes, and snippets.

View fesplugas's full-sized avatar
🐿️

Francesc Esplugas fesplugas

🐿️
View GitHub Profile
@fesplugas
fesplugas / stacked_prs.md
Created March 8, 2024 22:54 — forked from Jlevyd15/stacked_prs.md
Stacked PRs with Git and Github

How to create a stacked PR with git and Github 📚

Create a feature branch from the master brach

  • from the master branch create a feature branch called feat1
  • git checkout master -> git checkout -b feat1

Make some changes and commit them

  • git add .
  • git commit
@fesplugas
fesplugas / dnsmasq OS X.md
Last active March 25, 2021 13:23 — forked from ogrrd/dnsmasq OS X.md
Setup dnsmasq on OS X

Never touch your local /etc/hosts file in OS X again

To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.

Requirements

Install

@fesplugas
fesplugas / Gemfile
Created June 25, 2020 05:10 — forked from dhh/Gemfile
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers
@fesplugas
fesplugas / xfs-on-hetzner.yml
Created May 29, 2020 21:44 — forked from exocode/xfs-on-hetzner.yml
Create xfs partitions on Hetzner via cloud-init. It keeps root disk available again after rebooting. Simply change your desired sizes and filesystem to use it for your needs.
#cloud-config
resize_rootfs: false
disk_setup:
/dev/sda:
table_type: 'mbr'
layout:
- 25
- 75
overwrite: true

Keybase proof

I hereby claim:

  • I am fesplugas on github.
  • I am fesplugas (https://keybase.io/fesplugas) on keybase.
  • I have a public key whose fingerprint is 16A3 68A9 5827 4338 7248 3324 49E7 A2BD 0ED6 1241

To claim this, I am signing this object: