Skip to content

Instantly share code, notes, and snippets.

View 410-dev's full-sized avatar

Hoyoun Song 410-dev

  • Seoul, Republic of Korea
  • 12:07 (UTC +09:00)
View GitHub Profile
@410-dev
410-dev / Satisfactory-Engine.ini
Created June 19, 2023 04:30
Satisfactory U8: 0.8.0.2 Optimization ini file. Thanks to Aprox Plays (Video: https://www.youtube.com/watch?v=tvxWJiT-xPk)
[Core.System]
Paths=../../../Engine/Content
Paths=%GAMEDIR%Content
Paths=../../../Engine/Plugins/2D/Paper2D/Content
Paths=../../../Engine/Plugins/Animation/ControlRigSpline/Content
Paths=../../../Engine/Plugins/Animation/ControlRig/Content
Paths=../../../Engine/Plugins/Animation/IKRig/Content
Paths=../../../Engine/Plugins/Bridge/Content
Paths=../../../Engine/Plugins/Compositing/LensDistortion/Content
Paths=../../../Engine/Plugins/Compositing/OpenColorIO/Content
yay -Syu
yay -S ibus ibus-hangul ttf-nanum ttf-nanumgothic-coding
# Add ko_KR.UTF-8 locale to /etc/locale.gen
if [ ! -f /etc/locale.gen.bak ]; then
cp /etc/locale.gen /etc/locale.gen.bak
fi
ORIG_LOCALE_GEN="$(cat /etc/locale.gen)"
sudo sh -c 'echo "ko_KR.UTF-8 UTF-8" >> /etc/locale.gen'
echo "Added ko_KR.UTF-8 to /etc/locale.gen"
<!--
Windows 11 Virtual Machine KVM Configurations
Hardware Information
- CPU: Ryzen 5700G
- RAM: 16 / 32GB
- GPU: RX 6600 XT
- Board: Gigabyte B550i Aorus Pro AX
#!/bin/bash
# This is used for function dpkg if it really exists.
export REAL_DPKG_PATH="$(which dpkg)"
#yay --save --answerdiff None --answerclean None --removemake
# Check if arch linux using yay exists
if [[ -z "$(which pacman)" ]]; then
echo "Arch Linux not detected. Using dpkg instead of yay."
return 1
#/bin/bash
echo "[1/3] Reading /etc/pam.d/sudo..."
export pamdat="$(cat /etc/pam.d/sudo)"
if [[ ! -z "$(echo "$pamdat" | grep "pam_tid.so")" ]]; then
echo "WARNING: pam_tid.so already exists in your pam."
exit 0
fi
export pamdat="auth sufficient pam_tid.so
${pamdat}"
@410-dev
410-dev / vsc-commandline-patcher.bash
Last active February 17, 2022 15:06
Patch for fixing the Visual Studio Code error for: "python: command not found" and "./MacOS/Electron: No such file or directory".
#!/bin/bash
# THIS PATCH WILL FIX THE FOLLOWING ISSUE OF VSC:
#
# $ code .
# /usr/local/bin/code: line 7: python: command not found
# /usr/local/bin/code: line 11: ./MacOS/Electron: No such file or directory
#
#
# This patch is verified in version: 1.64.2
@410-dev
410-dev / zshfastcd.sh
Created July 30, 2021 13:50
Zsh cd if command not found
# Append this code at the end of ~/.zshrc
command_not_found_handler () { # If command not found
command="$(history | sed 's/^ *[0-9]* *//' | tail -n1)" # Extract the command typed in
if [[ -d $command ]]; then # Check if there is directory named as the command
cd $command # If so, cd to that directory
else # Otherwise return error
echo "Command not found: $command"
exit -127
fi