Skip to content

Instantly share code, notes, and snippets.

View vicente-gonzalez-ruiz's full-sized avatar

Vicente González Ruiz vicente-gonzalez-ruiz

View GitHub Profile
user:vicente-gonzalez-ruiz the_keyword_in_the_filename_of_the_gist_here
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
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:
# Mount
sshfs [email protected]:/Volumes/GoogleDrive/ GoogleDrive/
# Umount
fusermount -u GoogleDrive
# Enable MELPA
M-x package-install RET markdown-mode RET
# Use MELPA
(require 'package)
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/"))
(package-initialize)
sudo systemsetup -setremotelogin on
# Show partition information:
sudo fdisk /dev/<device><partition>
# Example:
sudo fdisk /dev/sde
Welcome to fdisk (util-linux 2.35.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
# Install Boinc and activate the service
sudo pacman -S boinc-nox
sudo systemctl enable boinc-client.service
sudo systemctl start boinc-client.service
sudo systemctl status boinc-client.service
# Check the service:
boinccmd --passwd <content of /var/lib/boinc/gui_rpc_auth.cfg> --get_host_info
# Create an account:
# Check if dhcpcd is running:
sudo service dhcpcd status
# If not:
#sudo service dhcpcd start
sudo systemctl enable dhcpcd.service
sudo systemctl start dhcpcd.service
sudo nano /etc/dhcpcd.conf
interface <interface_to_configure>