Skip to content

Instantly share code, notes, and snippets.

View edvm's full-sized avatar
:shipit:
FLDSMDFR

Emiliano Dalla Verde Marcozzi edvm

:shipit:
FLDSMDFR
View GitHub Profile
@edvm
edvm / cjdns.sh
Created August 27, 2018 19:12 — forked from redraw/cjdns.sh
cjdns installer
#!/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/
@edvm
edvm / log_sql.py
Created October 8, 2015 17:41 — forked from pardo/log_sql.py
Log sql to terminal django app
import logging
l = logging.getLogger('django.db.backends')
l.setLevel(logging.DEBUG)
l.addHandler(logging.StreamHandler())