- installing virtualenv:
sudo apt-get install python-virtualenv
- creating folder, which will be storing your virtual environments:
mkdir ~/.virtualenvs
celery inspect ping -d <worker_name> --timeout=<timeout_time> |
#!/usr/bin/env bash | |
: ' Script that enables TLS for Docker service in Ubuntu 16.x | |
This script is intended to be run as root | |
It; | |
- Generates the keys | |
- Creates the daemon.json Docker config file |
''' | |
Example of a deployment script for: | |
- A Django based server running as an Elastic Beanstalk server tier, with Load Balancing | |
(Assumes a pre-configured RDS database - best practice) | |
- A Docker based running as an Elastic Beanstalk worker tier | |
Assumes following directory structure | |
- ./server # With Django based project and appropriate .ebextensions | |
- ./worker # with Docker based project and appropriate .ebextensions, Dockerfile and Dockerrun.aws.json file | |
# (similar to https://github.com/dkarchmer/aws-eb-docker-django) |
// Index of some column that is not used. | |
var SENT_COLUMN = 15; | |
// Place your Grid API Key here. | |
var MAILGUN_KEY = "YOUR_MAILGUN_KEY" | |
// The emails will be send from here. | |
var EMAIL_FROM = "Company Name <[email protected]>"; | |
// Errors will be send here | |
var SUPPORT_EMAIL = "[email protected]"; | |
// Subject of the email | |
var SUBJECT = "EMAIL SUBJECT"; |
This gist assumes:
commit 4e9bdc8ceeffa48962ae018cf52cc8ada72dc98b | |
Author: Carlo Caione <[email protected]> | |
Date: Fri Aug 21 08:58:14 2015 +0200 | |
drm/i915/opregion: work around buggy firmware that provides 15+ output devices | |
- DIDL/DDL2/DDL3/... are the DIDL fields in the IGDM OpRegion (Supported | |
Display Devices ID List) | |
- This field indicates which display devices are supported by the platform, and |