Skip to content

Instantly share code, notes, and snippets.

View letranloc's full-sized avatar
👋
playing VS Code

Loc letranloc

👋
playing VS Code
View GitHub Profile
@letranloc
letranloc / rpi-configure-locales.md
Last active June 25, 2022 09:42 — forked from tomysmile/rpi-configure-locales.md
Raspberry Pi: Reconfigure Locales

Reconfigure your RPi Locales

First you need to install the locales you want:

sudo dpkg-reconfigure locales

Then refresh your current environment:

@letranloc
letranloc / fix_bitwarden_safari.md
Created April 22, 2022 06:55
Disappearing Safari extensions

If you're just looking for a solution to the issue, here it is: quit Safari, copy the following command to the clipboard, open the Terminal app (located in the Utilities subfolder of the Applications folder), and paste the command.

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f -R /Applications/Safari.app

That's it, problem solved! The rest of this blog post will attempt a diagnosis of the problem.

Call the lsregister command above with no arguments to see usage information for the tool. I created an alias in my .bash_profile for convenience.

@letranloc
letranloc / install-docker.md
Created October 4, 2022 02:42 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command

UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.

Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/

Docker CE Install

sudo amazon-linux-extras install docker
sudo service docker start