This file contains hidden or 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
# Enable MELPA | |
M-x package-install RET markdown-mode RET |
This file contains hidden or 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
# Mount | |
sshfs [email protected]:/Volumes/GoogleDrive/ GoogleDrive/ | |
# Umount | |
fusermount -u GoogleDrive |
This file contains hidden or 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
If you get: | |
Warning: Missing charsets in String to FontSet conversion | |
Warning: Cannot convert string "7x13bold" to type FontStruct | |
Warning: Unable to load any usable ISO8859 font | |
Warning: Unable to load any usable ISO8859 font | |
Violación de segmento (`core' generado) | |
when you start xfig, try: |
This file contains hidden or 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
sudo cat > /etc/X11/xorg.conf.d/30-touchpad.conf << EOF | |
Section "InputClass" | |
Identifier "touchpad" | |
Driver "libinput" | |
MatchIsTouchpad "on" | |
Option "tapping" "on" | |
Option "AccelProfile" "adaptive" | |
Option "TappingButtonMap" "lrm" | |
EndSection | |
EOF |
This file contains hidden or 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
user:vicente-gonzalez-ruiz the_keyword_in_the_filename_of_the_gist_here |
This file contains hidden or 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
# Add: | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$(parse_git_branch)\[\033[00m\]\$ " | |
# to .profile |
This file contains hidden or 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
Include: | |
export BIBS=$HOME/bibs | |
export MAKEFILE_TEMPLATES=$HOME/Makefile_templates | |
export LATEX_TEMPLATES=$HOME/LaTeX_templates | |
in .profile. |
This file contains hidden or 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
Include: | |
alias e='emacs -nw' | |
alias gc='git commit -am "."' | |
alias gp='git push' | |
alias gl='git pull' | |
into .bashrc (non login shells). |
This file contains hidden or 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
sudo dd bs=4M if=~/Downloads/xubuntu-20.04.1-desktop-amd64.iso of=/dev/sdd conv=fdatasync status=progress && sync |
This file contains hidden or 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
Download it from AUR (https://aur.archlinux.org/packages/xosview). | |
Untar, compile and install it. | |
Install xorg-fonts-misc. | |
Run: xset fp rehash |