Skip to content

Instantly share code, notes, and snippets.

@XargonWan
XargonWan / 1.1
Created July 6, 2023 14:43
AI Princess Maker
Let's play a game.
Title: AI Princess Maker
The year is 1223, the king has no son, so the future of the reign is in peril.
I am a former hero, now demigod that was summoned on the earth by the king's clerics in order to train a girl to be the future princess.
A 10 year old girl is found. She's an orphan and she seems to be gifted.
Game setup:
You will briefly introduce the story.
Then you will ask me to choose my family name that will be even the family name of the adopted girl that is my daughter.
@XargonWan
XargonWan / japanese_locale_enabler.sh
Last active May 4, 2024 20:25
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
@XargonWan
XargonWan / vmprep.sh
Last active February 3, 2021 17:00
351ELEC Toolchain - VMPREP
#!/bin/bash
# This is the VMPrep based on Ubuntu
# Just grab your favorite Vm (I used VirtualBox), install any ubuntu (I used lubuntu) and follow these instructions
# This is written as a script but I am not sure if it's working as an automated script: it should, but I haven't tested it yet.
touch ~/Desktop/351minal.sh
echo '#!/bin/bash' >> ~/Desktop/351minal.sh
echo 'sudo lxc-start 351elec' >> ~/Desktop/351minal.sh
echo 'sudo lxc-attach 351elec' >> ~/Desktop/351minal.sh
chmod +x ~/Desktop/351minal.sh