Skip to content

Instantly share code, notes, and snippets.

View imrvelj's full-sized avatar
Undefined is not a function

Ivan Mrvelj imrvelj

Undefined is not a function
View GitHub Profile
@imrvelj
imrvelj / .gitconfig
Last active November 15, 2015 21:17 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
[user]
name = Ivan Mrvelj
email = sk8raid@gmail.com
[core]
editor = atom
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[web]
browser = firefox
[instaweb]
@imrvelj
imrvelj / gist:ad17b379bf6777930fdb
Last active August 29, 2015 14:18
Disabling Mouse Acceleration -- bash script
#!/bin/bash
#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