I hereby claim:
- I am ericwilson on github.
- I am ericwilson (https://keybase.io/ericwilson) on keybase.
- I have a public key ASAf1nQ_rWZVnMjuqejSS6U0nsD0nh0jE7ipB-Sgsyg2gwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Service script for the Solr search engine | |
description "Service script for the Solr search engine" | |
author "Eric Wilson <eric@coolcompany.com>" | |
version "1.0.0" | |
start on runlevel [2345] | |
stop on runlevel [016] | |
kill timeout 30 |
{% with border_value=photo.ispromo|yesno:"4px_solid_black," %} | |
{% cloudinary photo.original_image_id width=photo.width height=photo.height crop="fill" angle='exif' gravity='faces' border=border_value %} | |
{% endwith %} |
{% if photo.ispromo %} | |
{% cloudinary photo.original_image_id width=photo.width height=photo.height crop="fill" angle='exif' gravity='faces' border="4px_solid_black" %} | |
{% else %} | |
{% cloudinary photo.original_image_id width=photo.width height=photo.height crop="fill" angle='exif' gravity='faces' %} | |
{% endif %} |
# Default directory for the installation | |
code_dir = '/opt/your_deployment' | |
. | |
. | |
. | |
@task | |
def tag(branch): | |
""" | |
Tags the release |
<VirtualHost *:80> | |
ServerName www.yourdomain.com | |
Redirect permanent / http://yourdomain.com/ | |
</VirtualHost> |
<VirtualHost *:80> | |
ServerName www.yourdomain.com | |
ServerAlias www.yourdomain.com | |
.. | |
.. other custom settings | |
.. | |
ErrorLog "/var/log/yourlog/error.log" | |
CustomLog "/var/log/yourlog/access.log" common |
curl 'https://API_KEY:API_SECRET@api.cloudinary.com/v1_1/CLOUD_NAME/resources/image?exif=1' |
curl -H "x-api-key:8d00e2869400597af4a114d31789088e3724f391f287a4c" | |
-d "deployment[application_id]=1114517" | |
-d "deployment[description]=This deployment was sent using curl" | |
-d "deployment[revision]=1242" | |
-d "deployment[changelog]=many hands make light work" | |
-d "deployment[user]=Joe User" https://rpm.newrelic.com/deployments.xml |