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 | |
echo "{" | |
echo "\"_comment\": \"Valid terminals include: 'Terminal.app' or 'iTerm'\"," | |
echo "\"terminal\": \"iTerm\"," | |
echo "\"hosts\": [" | |
echo "{" | |
echo "\"name\": \"Vagrant\"," |
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
# backup | |
innobackupex --no-timestamp /var/lib/mysql-backup/full | |
innobackupex --no-timestamp --incremental /var/lib/mysql-backup/incremental1 --incremental-basedir=/var/lib/mysql-backup/full | |
innobackupex --no-timestamp --incremental /var/lib/mysql-backup/incremental2 --incremental-basedir=/var/lib/mysql-backup/incremental1 | |
innobackupex --no-timestamp --incremental /var/lib/mysql-backup/incremental3 --incremental-basedir=/var/lib/mysql-backup/incremental2 | |
#prepare incrementals into full | |
innobackupex --apply-log --redo-only /root/backup/full |
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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |
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 | |
# tungsten-slave-createcachetables.sh | |
# Tungsten is not extracting data for the following pattern (Drupal 6 and 7): | |
# replicator.filter.replicate.ignore=*.access,*.cache,*.cache_*,*.ctools_*_cache,*.views_*_cache,*.sessions,*.watchdog | |
# This means that the tables would not exist on the slave. It would be ideal to have | |
# the tables exist, but be empty. | |
# This script will create empty tables for any table matching the pattern in 'grep' commands below. | |
# It is manually set to match the same replicator.filter.replicate.ignore in the tungsten config. |
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
core = 7.x | |
api = 2 | |
projects[drupal][version] = 7 |
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
diff -x '*.info' -x LICENSE.txt -ruN core/ pressflow/ | |
diff -x '*.info' -x LICENSE.txt -ruN core/includes/bootstrap.inc pressflow/includes/bootstrap.inc | |
--- core/includes/bootstrap.inc 2013-08-07 22:04:26.000000000 -0400 | |
+++ pressflow/includes/bootstrap.inc 2013-10-17 15:26:18.000000000 -0400 | |
@@ -717,6 +717,22 @@ | |
} | |
$is_https = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on'; | |
+ // Load environmental config, if present. | |
+ if (isset($_SERVER['PRESSFLOW_SETTINGS'])) { |
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
; Start a new pool named 'www'. | |
[www] | |
; The address on which to accept FastCGI requests. | |
; Valid syntaxes are: | |
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on | |
; a specific port; | |
; 'port' - to listen on a TCP socket to all addresses on a | |
; specific port; | |
; '/path/to/unix/socket' - to listen on a unix socket. |
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
diff --git a/cookbooks/mysql/recipes/server.rb b/cookbooks/mysql/recipes/server.rb | |
index 8229adc..0caf44e 100644 | |
--- a/cookbooks/mysql/recipes/server.rb | |
+++ b/cookbooks/mysql/recipes/server.rb | |
@@ -35,10 +35,21 @@ if Chef::Config[:solo] | |
].join(' ')) | |
end | |
else | |
- # generate all passwords | |
- node.set_unless['mysql']['server_debian_password'] = secure_password |
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
diff --git a/vendor/gems/libxml-ruby-1.1.3/ext/libxml/ruby_xml_node.c b/vendor/gems/libxml-ruby-1.1.3/ext/libxml/ruby_xml_node.c | |
index ed058d2..7c48017 100644 | |
--- a/vendor/gems/libxml-ruby-1.1.3/ext/libxml/ruby_xml_node.c | |
+++ b/vendor/gems/libxml-ruby-1.1.3/ext/libxml/ruby_xml_node.c | |
@@ -571,10 +571,17 @@ static VALUE rxml_node_to_s(int argc, VALUE *argv, VALUE self) | |
xmlNodeDumpOutput(output, xnode->doc, xnode, level, indent, xencoding); | |
xmlOutputBufferFlush(output); | |
+#ifdef LIBXML2_NEW_BUFFER | |
+ if (output->conv) |
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
diff --git a/ChangeLog b/ChangeLog | |
index 6a36633..614eb99 100644 | |
--- a/ChangeLog | |
+++ b/ChangeLog | |
@@ -1,3 +1,16 @@ | |
+Sat Jul 6 07:37:43 2013 Martin Bosslet <Martin.Bosslet@gmail.com> | |
+ | |
+ * ext/openssl/ossl_pkey_ec.c: Ensure compatibility to builds of | |
+ OpenSSL with OPENSSL_NO_EC2M defined, but OPENSSL_NO_EC not | |
+ defined. |