# Get latest from MongoDB website
$ curl -O https://fastdl.mongodb.org/osx/mongodb-osx-x86_64-3.4.6.tgz
$ tar -zxvf mongodb-osx-x86_64-3.4.6.tgz
$ mkdir -p mongodb
$ cp -R -n mongodb-osx-x86_64-3.4.6/ mongodb
$ sudo mv mongodb /usr/local
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
let dateFormatter = DateFormatter() | |
let enUSPosixLocale = Locale(identifier: "en_US_POSIX") | |
dateFormatter.locale = enUSPosixLocale | |
dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssZZZZZ" | |
let createdDate = dateFormatter.string(from: Date()) |
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
cd /tmp && \ | |
wget http://au1.php.net/distributions/php-5.6.12.tar.gz -O php-current.tar.gz > /dev/null 2>&1 | |
mkdir php-current && tar -zxvf php-current.tar.gz -C /tmp/php-current --strip-components=1 > /dev/null 2>&1 && \ | |
cd php-current | |
./configure \ | |
--with-apxs2=/usr/sbin/apxs \ | |
--with-mysql \ | |
--with-mysqli \ |
OlderNewer