Skip to content

Instantly share code, notes, and snippets.

Evan Sailer evangs

  • Tempe
Block or report user

Report or block evangs

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
View delete-old-files.js
var https = require('https');
// CONFIGURATION #######################################################################################################
var token = '';
var delay = 300; // delay between delete operations in millisecond
// GLOBALS #############################################################################################################
var baseApiUrl = 'https://slack.com/api/';
@evangs
evangs / gist:7139702
Last active Dec 26, 2015
fabfile for deploying my site + output
View gist:7139702
from fabric.api import sudo
def deploy():
# stop gunicorn
sudo("supervisorctl stop ehom")
# update site files
sudo('cd /home/http/ehom/ehom-site; git reset --hard HEAD; git pull')
# update dependencies
You can’t perform that action at this time.