Skip to content

Instantly share code, notes, and snippets.

Undefined is not a function

Ivan Mrvelj imrvelj

Undefined is not a function
View GitHub Profile
imrvelj / .gitconfig
Last active Nov 15, 2015 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
View .gitconfig
name = Ivan Mrvelj
email =
editor = atom
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
browser = firefox
imrvelj / gist:ad17b379bf6777930fdb
Last active Aug 29, 2015
Disabling Mouse Acceleration -- bash script
View gist:ad17b379bf6777930fdb
#wait for the desktop to settle
sleep 5
# turn off mouse acceleration
# number after '--set-prop' is your mouse id which you can find out by running 'xinput list'
xinput --set-prop 14 'Device Accel Profile' -1
xinput --set-prop 15 'Device Accel Profile' -1
xinput --set-prop 14 'Device Accel Velocity Scaling' 1
xinput --set-prop 15 'Device Accel Velocity Scaling' 1