MongoDB Exercise in mongo shell
Connect to a running mongo instance, use a database named mongo_practice.
Document all your queries in a javascript file to use as a reference.
| '.source.go': | |
| 'Options': | |
| 'prefix': 'options' | |
| 'body': ''' | |
| // Option function. | |
| type Option func(*$1) | |
| // New with the given options. | |
| func New(options ...Option) *$1 { |
Hi guys! Since I started to write Bluebox-ng I've been tracking the different security projects I found written in Node.js. Now we've published the first stable version we think it's the right moment to speak among us (and, of course, everyone interested in it :).
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)| /* | |
| * base64.js: An extremely simple implementation of base64 encoding / decoding using node.js Buffers | |
| * | |
| * (C) 2010, Nodejitsu Inc. | |
| * | |
| */ | |
| var base64 = exports; | |
| base64.encode = function (unencoded) { |