Natively connect to Mullvad OpenVPN servers with ChromeOS.
- Download the example ONC file
- Open the file with Text and update
Username
with your account number - Open
chrome://net-internals/#chromeos
- Import the ONC file
user www-data; | |
worker_processes 4; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
user www-data; | |
worker_processes 4; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
auto eth0 | |
iface eth0 inet static | |
address 10.0.1.2 | |
netmask 255.255.255.0 | |
up /../ucarp_up_down.sh | |
down /../ucarp_up_down.sh | |
ucarp-vid-0 3 | |
ucarp-vip-0 10.0.1.3 | |
ucarp-password-0 badpasswd | |
ucarp-vid-1 10 |
BASE_COMMIT=$(echo {\"diff_id\": ${DIFF_ID}} | arc call-conduit differential.getdiff | awk -v RS=',' -v FS=':' '$1~/\"sourceControlBaseRevision\"/ {print $2}' | tr -d \") | |
# Update repo (can be taken care of by jenkins too) | |
git fetch --all | |
git remote prune origin | |
# We only want to test the diff so reset to base | |
git reset --hard ${BASE_COMMIT} | |
git clean -fdx |
import os | |
import re | |
import urllib | |
from lxml import etree | |
JENKINS_CONIG_URL = 'http://jenkins.local/job/integration-tests/config.xml' | |
BLACKLIST = set(('tests/integration/app1', 'tests/integration/app2', )) | |
def remove_root_from(path): |
#!/usr/bin/env bash | |
if [[ "${EUID}" -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi | |
while read -r cgroup_json; do | |
cgroup="$(jq -r .cgroup <<<"${cgroup_json}")" | |
# Don't want to detach systemd programs. Cilium attaches its program at the root and under docker. |
<?php | |
/* | |
* Copyright 2013 Disqus, Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
set runtimepath+=$GOROOT/misc/vim | |
set runtimepath+=$HOME/gocode/src/github.com/golang/lint/misc/vim | |
" Enable filetype plugin | |
filetype on | |
filetype plugin on | |
filetype plugin indent on | |
syntax on " Syntax highlighting |
#cloud-config | |
mounts: | |
- [ ephemeral0, /var, ext4, "defaults,noatime", "0", "2" ] | |
- [ swap, null ] | |
bootcmd: | |
- mkdir -p /tmp/root | |
- mount --bind / /tmp/root | |
- rsync -aq /tmp/root/var/lib/cloud /var/lib/ |