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
// Return a flattened list of all fields ever used on a MongoDB collection. | |
// Usage: `mongo --quiet <database> dbFields.js` | |
// Collection for which to get fields | |
var collection = 'users'; | |
// Determines how to represent the keys of an array of objects. | |
// This allows for differentiating between nested objects and nested arrays of objects. | |
// | |
// e.g. for a document |
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
# vim: set fileencoding=utf-8 : | |
# | |
# How to store and retrieve gzip-compressed objects in AWS S3 | |
########################################################################### | |
# | |
# Copyright 2015 Vince Veselosky and contributors | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |