Skip to content

Instantly share code, notes, and snippets.

View hakunamta00700's full-sized avatar

hakunamta00700

View GitHub Profile
@hakunamta00700
hakunamta00700 / django-runserver-ssl.md
Last active December 13, 2018 05:18 — forked from claudiosanches/django-runserver-ssl.md
Django - SSL with runserver

Instalation

[sudo] apt-get install stunnel

Configuration

cd path/to/django/project
@hakunamta00700
hakunamta00700 / chartjs-ipython.py
Created September 6, 2016 07:02 — forked from fabriziopandini/chartjs-ipython.py
Using ChartJs from IPython
import json
from IPython.display import display, Javascript
def chartjs(chartType, data, options={}, width="700px", height="400px"):
""" Custom iphython extension allowing chartjs visualizations
Usage:
chartjs(chartType, data, options, width=1000, height=400)
Args: