This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// if the gesture started from a link, open link in new tab | |
var linkURL = FireGestures.getLinkURL(FireGestures.sourceNode); | |
if (linkURL) { | |
gTabDeque.moveTabToSecondPlaceInDeque(gBrowser.loadOneTab(linkURL, {inBackground: true})); | |
return; | |
} | |
// else duplicate tab | |
gTabDeque.moveTabToSecondPlaceInDeque(gBrowser.loadOneTab(gBrowser.currentURI.spec, {inBackground: true})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// if the gesture started from a link, open link in new tab | |
var linkURL = FireGestures.getLinkURL(FireGestures.sourceNode); | |
if (linkURL) { | |
gBrowser.loadOneTab(linkURL, {inBackground: true}); | |
return; | |
} | |
// else duplicate tab | |
gBrowser.loadOneTab(gBrowser.currentURI.spec, {inBackground: true}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "precise" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "trusty" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(^[^#\?]+\.(jpg|jpeg|png)((#|\?).*)?$|^[^#\?]+(#|\?).+\.(jpg|jpeg|png)(&;#)?.*$) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install nfs-common | |
sudo mkdir --parents /mnt/nfs/nas | |
sudo vim /etc/fstab | |
192.168.1.2:/data/Documents /mnt/nfs/nas/Documents nfs auto,bg,noatime,nolock 0 0 | |
192.168.1.2:/data/Music /mnt/nfs/nas/Music nfs auto,bg,noatime,nolock 0 0 | |
192.168.1.2:/data/Pictures /mnt/nfs/nas/Pictures nfs auto,bg,noatime,nolock 0 0 | |
192.168.1.2:/data/Transmission /mnt/nfs/nas/Transmission nfs auto,bg,noatime,nolock 0 0 | |
192.168.1.2:/data/Videos /mnt/nfs/nas/Videos nfs auto,bg,noatime,nolock 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xbacklight -dec 1 | |
xbacklight -inc 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --silent https://api.github.com/users/sblask/repos | jq --raw-output ".[] | .ssh_url" | xargs -L 1 git clone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# decrease speed | |
xinput set-prop "AlpsPS/2 ALPS DualPoint Stick" "Device Accel Profile" 6 | |
xinput set-prop "AlpsPS/2 ALPS DualPoint Stick" "Device Accel Velocity Scaling" 1 | |
xinput set-prop "AlpsPS/2 ALPS DualPoint Stick" "Device Accel Constant Deceleration" 7 | |
xinput set-prop "AlpsPS/2 ALPS DualPoint Stick" "Device Accel Adaptive Deceleration" 60 | |
# set mouse scroll speed | |
xinput set-prop "AlpsPS/2 ALPS DualPoint Stick" "Evdev Wheel Emulation Inertia" 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://redir.xing.com/link/* | |
https://slack-redir.net/link* | |
https://*.facebook.com/l.php* | |
https://deref-gmx.net/mail/client/* | |
https://outgoing.prod.mozaws.net/* | |
https://www.google.com/url* |