Skip to content

Instantly share code, notes, and snippets.

View rogerlz's full-sized avatar

Rogerio Goncalves rogerlz

  • skie.io
  • Lisbon, PT
View GitHub Profile
@rogerlz
rogerlz / README.md
Created March 18, 2022 23:48 — forked from okaufmann/README.md
Fix `warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)` error on Raspberry PI

Run the following:

echo "LC_ALL=en_US.UTF-8" | sudo tee -a /etc/environment > /dev/null
echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen > /dev/null
echo "LANG=en_US.UTF-8" | sudo tee /etc/locale.conf > /dev/null
sudo locale-gen en_US.UTF-8
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
"set list
" ================ General Config ====================
set number "Line numbers are good
set backspace=indent,eol,start "Allow backspace in insert mode
set history=1000 "Store lots of :cmdline history

Keybase proof

I hereby claim:

  • I am rogerlz on github.
  • I am rogerlz (https://keybase.io/rogerlz) on keybase.
  • I have a public key ASDaj1sWWfgbDmoOjXNYTNCSwNL6b28-6iLTTkqP7hGMpQo

To claim this, I am signing this object: