This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# save this file in /etc/default/unicorn_app | |
USER=app_user | |
APP_ROOT=/srv/app | |
RVM_STRING=2.2.4@app_gemset | |
RACK_ENV=production | |
UNICORN_OPTS="-D -c /srv/app/shared/config/unicorn.rb -E production" | |
DAEMON=unicorn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if site.stackexchange_user %} | |
<section class="googleplus"> | |
<h1> | |
<a href="http://stackexchange.com/users/{{ site.stackexchange_user }}/{{ site.stackexchange_user_name }}"> | |
<img src="http://stackexchange.com/users/flair/{{ site.stackexchange_user }}.png" width="208" height="58" alt="profile for {{ site.stackexchange_user_name }} on Stack Exchange, a network of free, community-driven Q&A sites" title="profile for {{ site.stackexchange_user_name }} on Stack Exchange, a network of free, community-driven Q&A sites" margin-bottom="0.5 em"> | |
</a> | |
</h1> | |
</section> | |
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
import radix | |
import re | |
import time | |
import sys | |
def printf(format, *args): | |
sys.stdout.write(format % args) |