https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10| #!/bin/bash | |
| # rotate ALL users, including yourself | |
| # allUsers=$(aws iam list-users --output text | cut -f 6); | |
| # read from a file, one username per line | |
| # preferably set their username to their email address | |
| allUsers=$(cat ./user-names.txt); | |
| for userName in $allUsers; do |
https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10This is a collection of the most common commands I run while administering Mysql databases. The variables shown between the open and closed tags, "<" and ">", should be replaced with a name you choose. Mysql has multiple shortcut functions, starting with a forward slash, "". Any SQL command that is not a shortcut, must end with a semicolon, ";". You can use the keyboard UP and DOWN keys to scroll the history of previous commands you've run.
https://help.ubuntu.com/14.04/serverguide/mysql.html
sudo apt-get update| /* | |
| * based on Jorge Fioranelli's code.. | |
| * http://blog.jorgef.net/2011/06/converting-any-object-to-dynamic.html | |
| */ | |
| public static class Extensions | |
| { | |
| public static dynamic ToDynamic(this object value) | |
| { | |
| if (value.IsListOrArray ()) { |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |