vagrant@php7dev:~/php-src$ ./configure --enable-gcov --prefix=/usr/local/php70-gcov
gives, eventually:
configure: error: To enable code coverage reporting you must have LTP installed
vagrant@php7dev:~/php-src$ ./configure --enable-gcov --prefix=/usr/local/php70-gcov
gives, eventually:
configure: error: To enable code coverage reporting you must have LTP installed
# install lcov | |
apt-get update | |
apt-get install lcov | |
mkdir /usr/local/php70-gcov5 | |
cd ~/php-src | |
./configure --enable-gcov --prefix=/usr/local/php70-gcov5 --with-apxs2=/usr/bin/apxs2 --with-gd --without-pear --with-jpeg-dir=/usr --with-png-dir=/usr --with-vpx-dir=/usr --with-freetype-dir=/usr --with-t1lib=/usr --enable-gd-native-ttf --enable-exif --with-config-file-path=/etc/php7 --with-config-file-scan-dir=/etc/php7/conf.d --with-mysql=/usr --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-zlib --with-gmp --with-zlib-dir=/usr --with-gettext --with-kerberos --with-imap-ssl --with-mcrypt=/usr/local --with-iconv --enable-sockets --with-openssl --with-pspell --with-pdo-mysql=mysqlnd --with-pdo-sqlite --enable-soap --enable-xmlreader --with-xsl --enable-ftp --enable-cgi --with-curl=/usr --with-tidy --with-xmlrpc --enable-mbstring --enable-sysvsem --enable-sysvshm --enable-shmop --with-readline --enable-fpm --enable-intl --enable-zip --with-imap --with-mysqli=mysqlnd --enable-calendar | |
make | |
make install |
Verifying that +mattparker is my blockchain ID. https://onename.com/mattparker |
/* Gallery beacon with extra module */ | |
YUI.add('gallery-scroll-beacon', function(Y) { | |
/** | |
* Provides synthetic event to detect beacon element arriving in or leaving the browser viewport. | |
* | |
* @module scroll-beacon | |
*/ | |
/** |
//////////////////////////////////////////////////// | |
//////////////////////////////////////////////////// | |
// Patch | |
// | |
// Was using a non-standard quirk of IE to do | |
// document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />') | |
// when it should really be just document.createElement('iframe') and then add attributes | |
// IE9 is strict about this and breaks. | |
// | |
// |
var buildParser = Y.cached(function (prefix, suffix, separator, decimal) { | |
var regexBits = [] | |
regex; | |
if (prefix) { | |
regexBits.push('^' + prefix.replace(safeRegExp, '\\$1')); | |
} | |
if (suffix) { | |
regexBits.push(suffix.replace(safeRegExp, '\\$1') + '$'); | |
} |
var util = require('util') | |
http=require('http'), | |
phantom=require('node-phantom'), | |
// simple logging of memory use: | |
memoryCache = [0], | |
logMemory = function (msg) { | |
var mem = process.memoryUsage(); | |
//console.log(msg + " current memory use: ", util.inspect(process.memoryUsage())); | |
console.log(msg + " heapUsed change: " + (mem.heapUsed - memoryCache[memoryCache.length - 1])); |
/** | |
* @class Date | |
* @static | |
*/ | |
/** | |
* @for Date | |
* @method strtotime | |
* | |
* Parses English (or other languages) date-related sentences into |
/** | |
Generates a series of colors from startColor at various offsets | |
@protected | |
@method _getOffsetAndFinish | |
@param {String} startColor Start color | |
@param {Array} arrOffsets Array of colors | |
@param {String} [to] | |
@returns {Array} Of offsetted and finished colors | |
**/ | |
_getOffsetAndFinish: function (startColor, arrOffsets, to) { |