If you do not already have it, install brew as follows:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install autoconf automake libtool
<?php | |
/** | |
* Access/modify any instance private property. | |
*/ | |
class Undies { | |
protected $instance; | |
protected $setter; | |
protected $getter; | |
#!/bin/sh | |
# Script to compile vips from git for AWS lambda as dynamic binary | |
# Run on a fresh amzn-ami-hvm-2015.09.1.x86_64-gp2 image. | |
# Tested with image id ami-bff32ccc on t2.micro in eu-west-1. | |
set -e # abort on errors | |
# set -x # for debugging | |
echo Installing build dependencies... |
SET ROWCOUNT 10000 | |
SELECT SomeField | |
FROM tablename | |
WHERE patindex('%[3|4|5|6][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]%',SomeField) > 0 | |
or to get the unique numbers | |
SET ROWCOUNT 50 | |
SELECT distinct SUBSTRING (SomeField ,patindex('%[3|4|5|6][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]%',SomeField) , 12 ) |