Skip to content

Instantly share code, notes, and snippets.

View tejesh0's full-sized avatar
:octocat:
๐Ÿ‘

tejesh tejesh0

:octocat:
๐Ÿ‘
View GitHub Profile
@tejesh0
tejesh0 / Django_Default_Config.md
Created September 27, 2021 03:59 — forked from singerng/Django_Default_Config.md
Config for Django/Pipenv/Gunicorn/Nginx/Systemd.

Reasonable default configuration for a web app that uses Django and the following dependencies:

  • Pipenv: Python package manager
  • Gunicorn: WSGI server
  • Nginx: Static webserver passing to gunicorn, handling SSL, etc.
  • Systemd: Used to load Gunicorn on startup

This is my goto for setting up projects.

@tejesh0
tejesh0 / plot.p
Created May 12, 2016 04:53 — forked from garethrees/plot.p
Graphing apache benchmark results with gnuplot
# Output to a jpeg file
set terminal jpeg size 1280,720
# Set the aspect ratio of the graph
set size 1, 1
# The file to write to
set output "timeseries.jpg"
# The graph title