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
#!/bin/bash | |
echo "installing..." | |
git clone https://github.com/cjdelisle/cjdns.git cjdns | |
cd cjdns/ | |
./do | |
(umask 077 && ./cjdroute --genconf > cjdroute.conf) | |
sudo cp cjdroute /usr/bin | |
sudo cp cjdroute.conf /etc/ | |
sudo wget https://raw.githubusercontent.com/cjdelisle/cjdns/master/contrib/systemd/cjdns.service -P /etc/systemd/system/ |
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
import logging | |
l = logging.getLogger('django.db.backends') | |
l.setLevel(logging.DEBUG) | |
l.addHandler(logging.StreamHandler()) |