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
config_files = Dir.glob("#{ENV['HOME']}/Library/Application Support/Viscosity/OpenVPN/*/config.conf") | |
config_files.each do |file| | |
certificate_files = ['ca', 'cert', 'key', 'tls-auth'] | |
config_dir = File.dirname(file) | |
connection_name = nil | |
new_config = [] | |
File.read(file).each_line do |line| | |
line.strip! |
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
body { padding:50px; background:#000; } | |
h1 { width:250px; font:bold 36px sans-serif; letter-spacing:-1px; color:#FFF; padding: 10px 0 10px 40px; } | |
.wrap { | |
box-shadow: -35px 0 0 5px #38bfdb, 10px 0 0 5px #38bfdb; | |
} | |
.inner { | |
background: #38bfdb; | |
position:relative; | |
} |