seen from China

seen from United Arab Emirates
seen from China
seen from Canada

seen from United States

seen from United States
seen from China
seen from Greece

seen from United States
seen from United States
seen from Chile
seen from China
seen from China
seen from Hong Kong SAR China
seen from Algeria

seen from United States
seen from China

seen from Hong Kong SAR China

seen from United States

seen from United States
❤️
Du hast mich genommen wie ich bin, ich hab mir damals oft gewünscht wir bleiben immer jung - bushido
Customize mongo shell prompt (v1.9.1+ only)
If you are reading this, you are probably still using the basic Mongo shell prompt:
>
In this article we will walk through some simple steps and show different options to have a prompt that will show a little more than just the line pointer, like :
careverge-11:12:01>
where careverge is the DB name and, you probably guessed it, the time. Again, this feature is only available for mongo v1.9.1 and higher.
Setting your prompt is as simple as:
> prompt = function() { ... var now = new Date(); ... return db+"-"+ ... now.getHours()+":"+now.getMinutes()+":"+now.getSeconds()+"> "; ... }
careverge-11:16:39> db.user.count()
careverge-11:16:42> 169
As you just saw, we just set up the prompt in few seconds, and one method. But this can be a pain to define every time you launch the mongo shell. The solution is to simply store you prompt function in a js file, and load it on start:
> load("my/path/monogoShellCfg.js")
Or, even better, you can store this (and many others) function in '.mongorc.js' file (under your home directory). '.mongorc.js' is a config file that mongo loads automatically, if it exists, on startup. One thing I find really useful to add to this file, is overriding the getDB() method to set the slaveOk to true by default. To do so, add this to your '.mongorc.js':
Mongo.prototype.getDB = function(name) { this.setSlaveOk(); return new DB(this, name); }
for awhile i was very unsure how to pronounce bushido's slave name aka anis
and i struggled with it because i was concerned that i was saying it like anus
but then i actually figured out how to say it
the end