Insalling Purescript under Archlinux

download the binary for linux $ wget https://github.com/purescript/purescript/releases/download/v0.11.5/linux64.tar.gz - /opt/purescriptw smylink the executable $ ln -s /opt/purescript/purs /usr/local/bin/purs install libtinfo $ gpg --keyserver pgp.mit.edu --recv-keys F7E48EDB # needed for the folloing package $ pacaur -S ncurses5-compat-libs $ pacaur -S libtinfo see here

June 29, 2017 · 1 min · 42 words · map[name:csicar]

Disable the Touchpad in Archlinux (on an T450s)

#!/bin/bash device=`xinput | grep TouchPad | grep -o "id=.." | grep -o "[0-9]*"` state=`xinput list-props "$device" | grep "Device Enabled" | grep -o "[01]$"` if [ $state == '1' ];then xinput --disable $device else xinput --enable $device fi

April 16, 2016 · 1 min · 38 words · map[name:csicar]