This file contains hidden or 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
import kefir from 'kefir' | |
const parallaxMixin = { | |
init: function() { | |
let ratio = this.opts.parallaxRatio || 1 | |
this.on('mount', () => { | |
this.updateBGPosition(ratio) | |
let scrolls = kefir.fromEvents(window, 'scroll') |
This file contains hidden or 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
# on | |
sudo networksetup -setsocksfirewallproxy "Wi-Fi" localhost 1080 | |
ssh -D 1080 -i ~/.ssh/proxy.pem [remote-user]@[remote-server] | |
# off | |
sudo networksetup -setsocksfirewallproxystate "Wi-Fi" off |