Useful script to find out MongoDB collections size and other statistics.
Studio 3T > IntelliShell
var dbs = db.getMongo().getDBNames();
for (adb of dbs) {
| /** | |
| * Zbruc.eu style improvements (2017-09-01) | |
| * | |
| */ | |
| *, .views-field-title .views-field-title, .views-field-field-avtor-haliciana *, .views-field-field-author *, .views-field-field-author { | |
| font-family: sans-serif; | |
| line-height: 1.6em; | |
| } |
| var accountTag = 'own_remove_account_tag'; | |
| var css = " \ | |
| .own_popup { \ | |
| width: 50%; min-width: 676px; height: 80%; padding: 15px; \ | |
| background: white; border: 1px solid #eee; border-radius: 15px; \ | |
| z-index: 999999; position: fixed; margin: auto; \ | |
| top: 50px; left: 0; right: 0; \ | |
| -webkit-box-shadow: 0px 3px 38px 0px rgba(50, 50, 50, 0.32); \ | |
| -moz-box-shadow: 0px 3px 38px 0px rgba(50, 50, 50, 0.32); \ | |
| box-shadow: 0px 3px 38px 0px rgba(50, 50, 50, 0.32); \ |
| var interval = window.setInterval(function() { | |
| var moreButton = document.querySelector('a[ajaxify*="outgoing/more"]'); | |
| if (moreButton) | |
| { | |
| moreButton.click(); | |
| console.log('loading more...'); | |
| } | |
| else | |
| { | |
| //window.clearInterval(interval); |