this is some scripts for using openvpn in linux easier.
use vpn server . example :
vpn de
make .openvpn_profile in your home directory .
| var fs = require('fs'); | |
| //run with | |
| //node ga.js inputfile | |
| //this is a example of badly written code :D, dont use javascript for this kind of problems. python is much better | |
| var args = process.argv.slice(2); | |
| getIndex = function functionName(index) { |
| #! /usr/bin/python | |
| def decode(input): | |
| if input == "0001": | |
| return "00" | |
| if input == "0010": | |
| return "01" | |
| if input == "0100": | |
| return "10" |
| var tree = { | |
| 'A': ['B', 'C', 'D', 'E'], | |
| 'B': ['A', 'F', 'G'], | |
| 'C': ['A', 'H'], | |
| 'D': ['A', 'I', 'J'], | |
| 'E': ['A', 'K', 'L'], | |
| 'F': ['B', 'G', 'M', 'N', 'O'], | |
| 'G': ['B', 'F', 'P', 'Q', 'R'], | |
| 'H': ['C', 'S'], | |
| 'I': ['D'], |
| # -*- coding: utf-8 -*- | |
| """ | |
| Spyder Editor | |
| """ | |
| import plotly.offline as py | |
| import plotly.graph_objs as go |
| import telnetlib | |
| import time | |
| import re | |
| import subprocess | |
| import os | |
| resCount=0 | |
| pingCount=0 |