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
; Edit and place this file in your APP directory as `your_app/conf/etc.d/04_newrelic.ini`. | |
; This file contains the various settings for the New Relic PHP agent. There | |
; are many options, all of which are described in detail at the following URL: | |
; https://newrelic.com/docs/php/php-agent-phpini-settings | |
; | |
; If you use a full path to the extension you insulate yourself from the | |
; extension directory changing if you change PHP installations or versions. | |
; If you do not use an absolute path then the file must be installed in the |
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
# Show all tab-completion. | |
set show-all-if-ambiguous on | |
# Case-insensitive match when tab-completion matching. | |
set completion-ignore-case on | |
# Don't beep on tab-completion. | |
set bell-style none | |
# Symlink completion matches have / appended. |
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 ruby | |
# | |
# A simple numerical PIN generator. | |
# For passphrases, use pwqgen.rb. | |
# | |
# Usage: | |
# gem install docopt | |
# ./pin_gen.rb --help | |
# |
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
export POW_TIMEOUT=120 | |
export POW_WORKERS=1 | |
export POW_DST_PORT=8300 | |
export POW_RVM_PATH="/usr/local/rvm/scripts/rvm" |
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 | |
# | |
# This scripts searches for a video_file link from the a Tumblr | |
# video premalink page and uses wget to download the video file. | |
# | |
# Requirements: curl, 7.21.2 or newer. | |
# | |
if [ -z "$1" ]; | |
then |
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 rackup | |
#\ -E deployment | |
# Description: | |
# | |
# Start a simple static HTTP server for the current directory. | |
# | |
# Prerequisites: | |
# | |
# gem install 'rack' |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "centos64" |
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]" ] | |
} |
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
#!/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`} |