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
Instalación | |
1. Import the public key used by the package management system. | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
2. Create a /etc/apt/sources.list.d/mongodb-org-3.0.list file for MongoDB. | |
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list | |
3. Reload local package database |
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
function array_has_dupes($array) { | |
return count($array) !== count(array_unique($array)); | |
} |