




This article describes how to get a working transparent HTTP/HTTPS proxy which you can script in Python. I intend to use it to have custom caching and be able to abstract away all HTTP/HTTPS connections made in my LXC containers which are spawned by CI to be able to test deployment scripts even when internet is down. A nice journey ;)
First, install mitmproxy with pip:
pip install mitmproxy
mitmproxy documentation describes the iptables commands to intercept Assuming you have LXC with Nat. Basically, we want iptables to route all outgoing requests to port 80 (http) and 443 (https) to mitmproxy, it looks like:
Read MoreToday is the grand openning of our Arch Linux package repository, with the release of postgresql-bdr. It’s a patched PostgreSQL server with BiDirectionnal Replication which seems too good to be true. I ran split brain tests and it reacted amazingly well, although it needs all nodes to be up for schema updates which is ok to me because I won’t be running upgrades while I have a broken node: I’ll be working on fixing it.
Read MorePluggable models have come to django-cities-light thanks to Alexey Evseev. It’s completely backward compatible and allows you swap default models with your own as well as connecting to new signals the geonames import command.
On the behalf of YourLabs, I’d like to welcome Alexey Evseev aboard ! I recommend hiring with Alexey Evseev if you have the chance and trust in with your mission.
Upgrade instructions:
pip install -U django-cities-light
Don’t forget to read how to customize your models with django-cities-light it’s ultra simple.
Read MoreTravis-ci just released container based infrastructure for open source repository (free users).
We tried it with our apps, and you can see we had some performance increase, even on database-intensive jobs:
In the process of making YourLabs new cloud, I ordered a first dedicated server at online.net. They don’t provide an installer for Arch Linux, but they do provide a “rescue mode” which is at this time Ubuntu 13.04 Live. Boot that and get an Arch Linux install on BtrFS with just one command:
Format /dev/sda
to BtrFS Partionning and install arch linux in subvolumes with just one command:
ansible-playbook -i "yourhostname," -e "hostname=your_host_name" --ask-sudo-pass rescue_reinstall_arch_linux.yml
If you just want to debug your arch root on /dev/sda
through Ubuntu Live,
then this command will make it operationnal in /tmp/root.x86_64/mnt:
YourLabs community repository also got its x-mas magical commit with a bit of phisolophy ;)
Check out yawd-admin for Django, it’s responsive and beautiful !
Django 1.7 final has been released, and it’s awesome, check it out !
A great article summarizing many of the possibilities of SSH, a must-read !