View gist:11254591
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
brew install tuntap | |
sudo cp -pR $(brew --prefix tuntap)/Library/Extensions/tap.kext /Library/Extensions/ | |
sudo cp -pR $(brew --prefix tuntap)/Library/Extensions/tun.kext /Library/Extensions/ | |
sudo chown -R root:wheel /Library/Extensions/tap.kext | |
sudo chown -R root:wheel /Library/Extensions/tun.kext | |
sudo touch /Library/Extensions/ | |
sudo cp -pR $(brew --prefix tuntap)/tap /Library/StartupItems/ | |
sudo chown -R root:wheel /Library/StartupItems/tap | |
sudo cp -pR $(brew --prefix tuntap)/tun /Library/StartupItems/ | |
sudo chown -R root:wheel /Library/StartupItems/tun |
View opcache-default.blacklist
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
; The blacklist file is a text file that holds the names of files | |
; that should not be accelerated. The file format is to add each filename | |
; to a new line. The filename may be a full path or just a file prefix | |
; (i.e., /var/www/x blacklists all the files and directories in /var/www | |
; that start with 'x'). Line starting with a ; are ignored (comments). | |
; Files are usually triggered by one of the following three reasons: | |
; 1) Directories that contain auto generated code, like Smarty or ZFW cache. | |
; 2) Code that does not work well when accelerated, due to some delayed | |
; compile time evaluation. | |
; 3) Code that triggers an OPcache bug. |
View 0_reuse_code.js
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
View etc__cron.daily__drush-update
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 | |
COMPOSERDIR="/usr/local/bin" | |
COMPOSERNAME="composer" | |
DRUSHDIR="/usr/local/share/drush" | |
# Keep Composer up to date | |
if [[ ! -x $COMPOSERDIR/$COMPOSERNAME ]]; then | |
/usr/bin/curl -sS https://getcomposer.org/installer | /usr/bin/php -- --install-dir="$COMPOSERDIR" --filename="$COMPOSERNAME" >/dev/null | |
elif [[ -f $COMPOSERDIR/$COMPOSERNAME ]]; then |
View php53-opcache.sh
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
brew install -v php53-opcache | |
sed -i '' "s|^\(opcache\.memory_consumption[[:space:]]*=[[:space:]]*\)[0-9]*|\1256|;" $(brew --prefix)/etc/php/5.3/conf.d/ext-opcache.ini |
View multi-sapi-5.3.29-homebrew.patch
This file has been truncated, but you can view the full file.
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/Makefile.global b/Makefile.global | |
index 3a5b1c2..7450162 100644 | |
--- a/Makefile.global | |
+++ b/Makefile.global | |
@@ -13,6 +13,8 @@ all: $(all_targets) | |
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX) | |
+build-binaries: $(PHP_BINARIES) | |
+ |
View ruby-1.8.7-p374-openssl.patch
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. |
View libxml-ruby-1.1.3-libxml2-2.9.patch
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) |
View gist:4709843
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 |
View php-fpm-www.conf
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. |
OlderNewer