I hereby claim:
- I am cloudrck on github.
- I am cloudrck (https://keybase.io/cloudrck) on keybase.
- I have a public key ASDb9ncY0PDpPIK8YQCkyT2UwOXjeNwDwWjtcXnCHfFzmwo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
# Bash will remember & return the highest exitcode in a chain of pipes. | |
# This way you can catch the error in case mysqldump fails in `mysqldump |gzip` | |
set -o pipefail | |
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
require 'rubygems' | |
require 'sinatra' | |
helpers do | |
def request_headers | |
env.inject({}){|acc, (k,v)| acc[$1.downcase] = v if k =~ /^http_(.*)/i; acc} | |
end | |
end |
# 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 |
#!/bin/bash | |
set -e | |
# Debian 8 'Jessie' GlusterFS Install | |
######### | |
#ToDo: | |
# * Change guid/suid of mount | |
# * Give option for cluster type | |
# * Change variables via command line read | |
######## |
upstream php5-fpm-sock { | |
server unix:/var/run/php5-fpm.sock; | |
} | |
server { | |
listen 80; | |
server_name minecraft.example.com; | |
root /srv/minecraft/multicraft/; | |
index index.php; |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# coding: utf-8 | |
# ComicIO: copyright (C) 2016, Daejuan Jacobs | |
# This is a preview to a script I will be packaging soon. Consider this an Alpha build | |
# Just need Python v3 | |
# | |
#ToDo | |
# * Add page count | |
# * dc:identifier for UPC/ISBN http://www.idpf.org/epub/30/spec/epub30-publications.html#sec-opf-dcidentifier | |
# * Coverimage.xtml |
server { | |
listen 80; | |
root /var/www/; | |
server_name test01.cloudrck.net www.test01.cloudrck.net; | |
location /p { | |
if ($request_uri ~* "^/p/(.+)/([0-9]+)/(.*)$") { | |
set $md5 $1; | |
set $expires $2; | |
set $directory $3; |