Skip to content

Instantly share code, notes, and snippets.

View jpcweb's full-sized avatar
🏝️

Jérémie Payet jpcweb

🏝️
  • JPC WEB
  • Tahiti
View GitHub Profile
@jpcweb
jpcweb / gist:2ab5a996ab7b9d6d01f6140b9cbbcbe0
Last active February 9, 2021 09:08
Alacritty key bindings (curl braces, etc...) for french keyboard
# Find out which key you are pressing looking at Alacritty events
alacritty --print-events | grep "WindowEvent.*KeyboardInput"
vim ~/.config/alacritty/alacritty.yml
key_bindings:
# French keyboard works on MAC
- { key: LBracket, mods: Alt, chars: "{" }
- { key: RBracket, mods: Alt, chars: "}" }
- { key: LBracket, mods: Alt|Shift,chars: "[" }
@jpcweb
jpcweb / vagrant-vmware-tech-preview-apple-m1-pro.md
Created November 25, 2021 07:00 — forked from sbailliez/vagrant-vmware-tech-preview-apple-m1-pro.md
Vagrant and VMWare Tech Preview on Apple M1 Pro

Vagrant and VMWare Tech Preview on Apple M1 Pro

This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated from discussions in hashicorp/vagrant-vmware-desktop#22

Installing Rosetta

First install Rosetta if not already done, this is needed to run x86 code:

@jpcweb
jpcweb / add-multiple-remotes-to-git-repo.md
Created May 26, 2023 20:23 — forked from miztiik/add-multiple-remotes-to-git-repo.md
Adding multiple remote url to git repo

Add Multiple Remotes URLs to git

Adding the first remote origin

git remote add origin remote_1_url
git remote set-url origin remote_1_url

# Set the default remote branch for the current local branch
git branch --set-upstream master
# or