Specification for Clinical Trial exhibit data
id : text (nct_id)
alt_link : text (url to ct.gov trial)
| -javaagent:/var/lib/tomcat6/webapps/ROOT/WEB-INF/lib/newrelic.jar |
| from fabric.api import run, sudo, env | |
| from fabric.operations import put | |
| def clone_shigoto(username=None): | |
| sudo('chmod -R 777 /opt') | |
| sudo('apt-get install git-core python-setuptools libxml2-dev libxslt-dev') | |
| sudo('easy_install pip') | |
| sudo('pip install virtualenv') | |
| sudo('virtualenv --no-site-packages /opt/ve/shigoto') | |
| run('cd /opt ; rm -rf shigoto ; git clone https://{0}@github.com/lillyoi/shigoto.git'.format(username)) |
| Pros | |
| ----- | |
| * async programming, fast | |
| * MongoDB JSON to Node win -- avoid middle translation layers | |
| * Regex allowed in URL routes (Flask doesn't allow regex) | |
| * Node plugins for just about everything (MongoDB, redis, etc.) | |
| * node cluster makes scaling relatively painless | |
| * node specific async features (socket.io, event emitters, etc.) are nice -- the WSGI layer doesn't allow sockets, etc. | |
| * Wide usage -- 37Signals, eBay, Heroku, rdio, yahoo (https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node) | |
| * Re-use existing third-party JS utils (validation, etc.) |
| [ | |
| { | |
| "_id": "NCT00003926", | |
| "arm_group": [ | |
| { | |
| "arm_group_label": "Solid/brain tumor patients (1-18 years)", | |
| "arm_group_type": "Experimental", | |
| "description": "Patients with solid tumor or brain tumor in the 1-18 years old stratum." | |
| }, | |
| { |
| [program:appname] | |
| command=/usr/local/bin/uwsgi | |
| --uid=www-data | |
| --gid=www-data | |
| -s /tmp/uwsgi_appname.sock | |
| -H /opt/ve/appname | |
| -p 4 | |
| -b 8192 | |
| -M | |
| --no-orphans |
| [program:appname] | |
| command=/usr/local/bin/uwsgi | |
| --uid=www-data | |
| --gid=www-data | |
| -s /tmp/uwsgi_appname.sock | |
| -H /opt/ve/appname | |
| -p 4 | |
| -b 8192 | |
| -M | |
| --no-orphans |
This is all based on the [alpha release][1].
From the built-in help system:
For many settings TextMate will look for a .tm_properties file in the current folder and in any parent folders (up to the user’s home folder).
These are simple setting = value listings where the value is a format string in which other variables can be referenced.