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
# On the host | |
============= | |
lxc config set openvpn raw.lxc 'lxc.cgroup.devices.allow = c 10:200 rwm' | |
lxc config device add openvpn tun unix-char path=/dev/net/tun | |
# In the container | |
================== | |
1. mknod /dev/net/tun c 10 200 |
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
VER = 2.0.2 | |
PKG = uwsgi | |
URL = http://projects.unbit.it/downloads/$(PKG)-$(VER).tar.gz | |
CFLAGS = # "-ggdb -O0" | |
UWSGICONFIG_RUBYPATH=ruby1.9.1 | |
PREFIX= /opt/nginx | |
LIBS = $(PREFIX)/lib |
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
#!/usr/bin/perl | |
# | |
# Useful for making maps like the one at http://backspace.com/mapapp/javascript_world | |
# | |
use XML::TreeBuilder; |