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
source "http://rubygems.org" | |
group :development do | |
gem 'rake' | |
gem 'rack' | |
gem 'jekyll' | |
gem 'rdiscount' | |
gem 'pygments.rb' | |
gem 'RedCloth' | |
gem 'haml', '>= 3.1' |
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
use lib "/home/gitolite/.gitolite-dist/src/lib"; | |
use Gitolite::Easy; | |
# HOME of the gitolite user | |
my $gl_home = $ENV{HOME} = "/home/gitolite"; | |
my $gl_hosting_user = "gitolite"; | |
my $gl_host = $cgi->server_name || "localhost"; | |
# Your server hostname and port (if not 80 for http or 443 for https). | |
# Replace http for https if necessary. |
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
# Autobench Configuration File | |
# host1, host2 | |
# The hostnames of the servers under test | |
# Eg. host1 = iis.test.com | |
# host2 = apache.test.com | |
host1 = testhost1 | |
host2 = testhost2 |
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
#!/bin/bash | |
# use AMI ami-04c9306d | |
# run this script as root. | |
## EDIT | |
export S3_BUCKET="heroku-buildpack-php-tyler" | |
export LIBMCRYPT_VERSION="2.5.8" | |
export PHP_VERSION="5.4.1" | |
export APC_VERSION="3.1.10" | |
export PHPREDIS_VERSION="2.2.1" |
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/bin/env php | |
<?php | |
$ss = 'changeit'; | |
$rand = mt_rand(); | |
$input = array( | |
"shared" => sha1($ss . $rand), | |
"salt" => $rand, | |
"to" => 'test@test.com', | |
"subject" => "This is a test subject.", |
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/bin/env bash | |
if [ -f /app/local/NEWRELIC_VERSION ]; then | |
sed -i "s|REPLACE_WITH_REAL_KEY|${NEW_RELIC_LICENSE_KEY}|g" /app/vendor/php/etc.d/*newrelic*.ini | |
else | |
sed -i "s|REPLACE_WITH_REAL_KEY|${NEW_RELIC_LICENSE_KEY}|g" /app/local/etc/newrelic.cfg | |
fi |
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
<VirtualHost *:80> | |
ServerName pow | |
ServerAlias *.dev *.xip.io | |
<Proxy *> | |
Order allow,deny | |
Allow from all | |
</Proxy> | |
ProxyRequests Off |
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
#!/bin/bash | |
## Plug-in to Monitor MySQL Slave Replication Delay. | |
# | |
#$Author: imran $ | |
#$Date: 2008-09-01 09:29:21 $ | |
#$RCSfile: mysql_rep_delay,v $ | |
#$Revision: 1.1 $ | |
heartbeatdb=${heartbeatdb:-test} | |
cmd=${cmd:-`which pt-heartbeat`} |
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
# gitweb configuration | |
Alias /gitweb /usr/share/gitweb | |
RewriteEngine On | |
RewriteRule ^gitweb$ gitweb/ [R] | |
<Directory /usr/share/gitweb> | |
Order allow,deny | |
Allow from all | |
Options ExecCgi FollowSymLinks SymLinksIfOwnerMatch | |
DirectoryIndex gitweb.cgi |
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
{ | |
"chef_server": { | |
"server_url": "http://chef-server:4000", | |
"webui_enabled": true, | |
"init_style": "init" | |
}, | |
"run_list": [ "recipe[chef-server::rubygems-install]" ] | |
} |
OlderNewer