-
Generate ssh key pairs for accounts and add them to GitHub accounts.
-
Edit/Create ssh config file (
~/.ssh/config
):# Default github account: user01 Host github.com HostName github.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################## | |
#setup postgresql | |
sudo pacman -S postgresql && \ | |
sudo mkdir /var/lib/postgres/data && \ | |
sudo chown -c -R postgres:postgres /var/lib/postgres && \ | |
sudo -i -u postgres | |
initdb -D '/var/lib/postgres/data' | |
logout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install fish | |
paru -S fish pkgfile | |
#setup command not found | |
sudo pkgfile -u && sudo pkgfile makepkg | |
#install oh-my-fish | |
curl -L https://get.oh-my.fish | fish | |
#install theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="add", SUBSYSTEM=="input", ATTR{name}=="*Video Bus*", ATTR{phys}=="*LNXVIDEO*", ATTR{inhibited}="1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MSI laptop random screen brightness bug | |
# https://askubuntu.com/questions/777754/brightness-randomly-up-and-down-on-msi-laptop/808785#808785 | |
# /etc/X11/xorg.conf.d/10-quirks.conf | |
Section "InputClass" | |
Identifier "Spooky Ghosts" | |
MatchProduct "Video Bus" | |
Option "Ignore" "on" | |
EndSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# ./tts.py hello world | |
import requests, string, os | |
from playsound import playsound | |
from sys import argv | |
text = ( | |
" ".join(argv[1:]).lower().translate(str.maketrans("", "", string.punctuation)).split(" ") | |
) |
install pipdeptree
pip install pipdeptree
pipdeptree -f 2>/dev/null | grep -v '^ ' | tee requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 5.13.5 Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.1.0" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=110100 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_AS_IS_GNU=y | |
CONFIG_AS_VERSION=23601 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="add", SUBSYSTEM=="usb", ATTR{idProduct}=="c52b", ATTR{idVendor}=="046d", ATTR{power/wakeup}="disabled" |