brew install php70
git clone -b NON_BLOCKING_IO_php7 https://github.com/websupport-sk/pecl-memcache.git
cd pecl-memcache
phpize
./configure
make && make install| # Pass the env-vars to MYCOMMAND | |
| eval $(egrep -v '^#' .env | xargs) MYCOMMAND | |
| # … or ... | |
| # Export the vars in .env into your shell: | |
| export $(egrep -v '^#' .env | xargs) |
| <VirtualHost *:80> | |
| ServerName forum.example.com | |
| Redirect permanent / https://forum.example.com | |
| </VirtualHost> | |
| <VirtualHost *:443> | |
| ServerName forum.example.com |
| # Purge all Varnish cache | |
| varnishadm "ban req.url ~ /" |
| #import <UIKit/UIKit.h> | |
| @interface UIView (TLLayout) | |
| @property (nonatomic, strong) NSArray *hiddenConstraints; | |
| // set hidden and remove any constraints involving this view from its superview | |
| - (void)hideAndRemoveConstraints; | |
| - (void)showAndRestoreConstraints; |
| sys_rb_usr=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr | |
| sdk_rb_usr=`xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr | |
| sudo cp -r $sdk_rb_usr/include $sys_rb_usr/include |
| #!/usr/bin/env ruby | |
| ########################################################################### | |
| # Script to be called as an Xcode 4 behaviour which will attempt to | |
| # uncrustify all source files in the open project. | |
| # | |
| # (c) Copyright 2012 David Wagner. | |
| # | |
| # Complain/commend: http://noiseandheat.com/ | |
| # | |
| #*************************************************************************# |
| #!/bin/sh | |
| # Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
| # CREATE block and create them in separate commands _after_ all the INSERTs. | |
| # Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
| # The mysqldump file is traversed only once. | |
| # Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
| # Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
elem.msTransform?