Category | State | SGE Letter Code |
---|---|---|
Pending | pending | qw |
Pending | pending, user hold | qw |
Pending | pending, system hold | hqw |
Pending | pending, user and system hold | hqw |
Pending | pending, user hold, re-queue | hRwq |
Pending | pending, system hold, re-queue | hRwq |
import * as React from 'react'; | |
import * as hash from 'object-hash'; | |
import { | |
TableProps, | |
Table, | |
TableBody, | |
TableCell, | |
TableFooter, | |
TableHeaderCell, |
@namespace("com.example.avro.parquet.spark") | |
protocol HTTP { | |
record Header { | |
string name; | |
string value; | |
} | |
record Request { | |
string method; | |
string path; |
Managment commands are assumed to be unique across all apps in a Django project. This can lead to long or obscure command names in attempt to namespace those commands.
Subcommander acts as a proxy command giving the real commands a namespace. The subcommander module can be named after the app name or some derivation. The structure looks as follows:
myapp/
management/
commands/
; Configuration for Airflow webserver and scheduler in Supervisor | |
[program:airflow] | |
command=/bin/airflow webserver | |
stopsignal=QUIT | |
stopasgroup=true | |
user=airflow | |
stdout_logfile=/var/log/airflow/airflow-stdout.log | |
stderr_logfile=/var/log/airflow/airflow-stderr.log | |
environment=HOME="/home/airflow",AIRFLOW_HOME="/etc/airflow",TMPDIR="/storage/airflow_tmp" |
# | |
# Slightly tighter CORS config for nginx | |
# | |
# A modification of https://gist.github.com/1064640/ to include a white-list of URLs | |
# | |
# Despite the W3C guidance suggesting that a list of origins can be passed as part of | |
# Access-Control-Allow-Origin headers, several browsers (well, at least Firefox) | |
# don't seem to play nicely with this. | |
# |
I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):
For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.
- get both the git and github plugin
- http://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
******************************************************************** 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