Skip to content

Instantly share code, notes, and snippets.

Avatar
Undefined is not a function

Ivan Mrvelj imrvelj

Undefined is not a function
View GitHub Profile
@imrvelj
imrvelj / .gitconfig
Last active Nov 15, 2015 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
View .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 Aug 29, 2015
Disabling Mouse Acceleration -- bash script
View gist:ad17b379bf6777930fdb
#!/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