Skip to content

Instantly share code, notes, and snippets.

View evinasgu's full-sized avatar
🏠
Working from home

Enyert Viñas Guevara evinasgu

🏠
Working from home
View GitHub Profile
@evinasgu
evinasgu / gist:306ac06a123cb34861529a5ee3cbd072
Created May 14, 2020 17:09
Cask command to exec test using ert
cask exec ert-runner
@evinasgu
evinasgu / gist:7a320d60cb80f4aff0252a1e4b3f2fab
Created May 5, 2020 04:14
Solve Max watches problem from yarn start command
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
and
$ sudo sysctl -p
@evinasgu
evinasgu / gist:065910d2b24a34fbab008f6b1d282abc
Created July 5, 2019 06:48
Command to xclip my ssh public key
xclip -sel clip < ~/.ssh/id_rsa.pub
@evinasgu
evinasgu / 99-M570Logitech.conf
Created February 16, 2019 20:33
COnfiguration for M570 trackball
Section "InputClass"
# User-defined name for this profile/input class
Identifier "Logitech M570"
# Tailed /var/log/Xorg.0.log to figure out the following
MatchProduct "Logitech M570"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
## OPTIONS
Option "SendCoreEvents" "true"
@evinasgu
evinasgu / init.el
Last active January 15, 2020 06:58
This is the initial configuration of my init.el for emacs
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(proto (if no-ssl "http" "https")))
(when no-ssl
(warn "\
Your version of Emacs does not support SSL connections,
which is unsafe because it allows man-in-the-middle attacks.
There are two things you can do about this warning:
1. Install an Emacs version that does support SSL and be safe.