Skip to content

Instantly share code, notes, and snippets.

View 2ro's full-sized avatar
💭
I may be slow to respond.

2ro 2ro

💭
I may be slow to respond.
View GitHub Profile
@2ro
2ro / japanese_locale_enabler.sh
Last active August 5, 2023 23:08 — forked from XargonWan/japanese_locale_enabler.sh
Enable Japanese locale on Steam Deck
#!/bin/bash
# This script is enabling (uncommenting) the Japanese locale and regenerates them
sudo steamos-readonly disable
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman -S glibc
sudo sed -i "s%#ja_JP.UTF-8 UTF-8%ja_JP.UTF-8 UTF-8%" /etc/locale.gen
sudo locale-gen
@2ro
2ro / lightsail-docker.sh
Last active March 26, 2017 04:42 — forked from davidkryzaniak/lightsail-docker.sh
Auto-Install Docker on AWS Lightsail
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
sudo apt-get install -y docker-engine
sudo service docker start