This will guide you through setting up a replica set in a docker environment using.
- Docker Compose
- MongoDB Replica Sets
- Mongoose
- Mongoose Transactions
Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
preg_match_all("/[0-9]+/", "200 a 400",$m); |
<?php | |
# Cron job command for Laravel 4.2 | |
# Inspired by Laravel 5's new upcoming scheduler (https://laravel-news.com/2014/11/laravel-5-scheduler) | |
# | |
# Author: Soren Schwert (GitHub: sisou) | |
# | |
# Requirements: | |
# ============= | |
# PHP 5.4 |
cat > <<filename>> | |
... text... | |
... text... | |
[Enter] | |
ctrl + d pra finalizar |
This will guide you through setting up a replica set in a docker environment using.
Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!