Skip to content

Instantly share code, notes, and snippets.

Kevin Messer Atem18

Block or report user

Report or block Atem18

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Atem18
Atem18 / supervisord
Created May 1, 2013
Init script to start supervisord with custom conf file.
View supervisord
#!/bin/bash
### BEGIN INIT INFO
# Provides: scriptname
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
@Atem18
Atem18 / gist:4696071
Last active Mar 23, 2020 — forked from evildmp/gist:3094281
Tutorial to seting up a django website in production.
View gist:4696071

Set up Django, Nginx and Gunicorn in a Virtualenv controled by Supervisor

Steps with explanations to set up a server using:

  • Virtualenv
  • Virtualenvwrapper
  • Django
  • Gunicorn
@Atem18
Atem18 / iptables.sh
Last active Apr 30, 2019
My own iptables script.
View iptables.sh
#!/bin/sh
IPT="/sbin/iptables" #Iptable's path
#Network interfaces :
interface=eth0 # Internet
start() {
### DELETE ALL ENTRIES ###
$IPT -F
You can’t perform that action at this time.