Skip to content

Instantly share code, notes, and snippets.

View bmunoz89's full-sized avatar
👨‍💻

Boris Muñoz bmunoz89

👨‍💻
View GitHub Profile
@bmunoz89
bmunoz89 / rebase_first_commit.sh
Last active October 9, 2022 18:39 — forked from framon/rebase_first_commit.sh
Insert commit as first, allowing rebase of initial commit
# first you need a new empty branch; let's call it `newroot`
git checkout --orphan newroot
git rm --cached -r .
# then you apply the same steps
git commit --allow-empty -m 'initial commit'
# or add some files for the first commit
git add .
git commit -m 'initial commit'

Varnish 4

curl -s https://packagecloud.io/install/repositories/varnishcache/varnish41/script.deb.sh | sudo bash

Fix poll param in varnish configuration

sudo nano /usr/share/varnish/reload-vcl

@bmunoz89
bmunoz89 / multiple_ssh_setting.md
Created March 26, 2017 01:32 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"