Skip to content

Instantly share code, notes, and snippets.

View cvergne's full-sized avatar
👨‍💻
Probably developing…

Christophe Vergne cvergne

👨‍💻
Probably developing…
View GitHub Profile
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!
@cvergne
cvergne / dabblet.css
Created April 23, 2014 16:47 — forked from anonymous/dabblet.css
Untitled
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;
}