Skip to content

Instantly share code, notes, and snippets.

@NavpreetSamra
NavpreetSamra / django-runserver-ssl.md
Last active April 1, 2019 09:42 — forked from claudiosanches/django-runserver-ssl.md
Django - SSL with runserver

Instalation

[sudo] apt-get install stunnel

Configuration

cd path/to/django/project
@NavpreetSamra
NavpreetSamra / gist:a6fcda24d503c095efd5aaadee1528ac
Created February 5, 2018 05:15 — forked from Bouke/gist:10454272
Install FreeTDS, unixODBC and pyodbc on OS X

First, install the following libraries:

$ brew install unixodbc
$ brew install freetds --with-unixodbc

FreeTDS should already work now, without configuration:

$ tsql -S [IP or hostname] -U [username] -P [password]
locale is "en_US.UTF-8"

locale charset is "UTF-8"