Skip to content

Instantly share code, notes, and snippets.

alias search="xbps-query -Rs"
alias install="sudo xbps-install -S"
alias update="sudo xbps-install -Su"
alias clean="sudo xbps-remove -O"
alias remove="sudo xbps-remove -R"
alias reconf="sudo xbps-reconfigure"
alias ll="ls -lai"
alias ter="sensors"
alias df="df -hT"
alias free="free -h"
@gorkawien
gorkawien / gist:a9899dabb111d5208d5d58f71b520136
Last active October 22, 2020 08:11
Extractor de archvios comprimidos
#
# # ex - archive extractor
# # usage: ex <file>
ex ()
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
https://www.tutorialpython.com/
NOTAS: Empieza escribiendo "python -v" seguramente ya tienes instalada por defecto la versión 3.8
y en los ejemplos de la web donde te pongan el comando "python" deberas poner "python38" o la versión que tengas.
Para salir de Python recuerda Ctrl +D y el terminal recuperará el prompt por defecto.
Tambien recomiendo Bash aunque tu ya sabes bastantes comandos para manejo de ficheros, permisos y todo eso.
@gorkawien
gorkawien / gist:95418da089f9f0d2d48b075bc04d5afc
Created September 1, 2020 09:54
How To Virt Manager in Gentoo
Help to install Virt-manager on Funtoo and Gentoo
Installing virt-manager
First we need to add some information to build virt-manager and qemu correctly:
# echo "app-emulation/virt-manager gtk policykit" >> /etc/portage/package.use
# echo "app-emulation/qemu spice" >> /etc/portage/package.use
# vim /etc/portage/make.conf ## and add