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
//@version=4 | |
study(title="CTO Line", shorttitle="CTO", overlay=true, resolution="") | |
smma(src, length) => | |
smma = 0.0 | |
smma := na(smma[1]) ? sma(src, length) : (smma[1] * (length - 1) + src) / length | |
smma | |
v1 = smma(hl2, 15) | |
m1 = smma(hl2, 19) | |
m2 = smma(hl2, 25) | |
v2 = smma(hl2, 29) |
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
iptables -I OUTPUT -o tun+ -j ACCEPT | |
iptables -I INPUT -i tun+ -m state --state ESTABLISHED,RELATED -j ACCEPT | |
iptables -I FORWARD -o tun+ -j ACCEPT | |
iptables -I FORWARD -i tun+ -m state --state ESTABLISHED,RELATED -j ACCEPT | |
iptables -t nat -I POSTROUTING -o tun+ -j MASQUERADE |
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
# Assume we are in your home directory | |
cd ~/ | |
# Clone the repo from GitLab using the `--mirror` option | |
$ git clone --mirror [email protected]:r-j-skolasinski/discretizer.git | |
# Change into newly created repo directory | |
$ cd ~/discretizer.git | |
# Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. |