Skip to content

Instantly share code, notes, and snippets.

jdembowski / Configuration_adv.h
Created Jan 18, 2019
Wanhao Duplicator i3 V2 Configuration_adv.h for Marlin 1.1.9
View Configuration_adv.h
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware []
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
guyarad / mongodb_collection_sizes.js
Last active Dec 29, 2019 — forked from joeyAghion/mongodb_collection_sizes.js
List mongodb collections in descending order of size. Helpful for finding largest collections. First number is "size," second is "storageSize."
View mongodb_collection_sizes.js
function getReadableFileSizeString(fileSizeInBytes, decimalPlacer=1) {
// for more concise solutions see:
var i = 0;
var scale = 1024;
var byteUnits = [' B', ' KiB', ' MiB', ' GiB', ' TiB', 'PiB', 'EiB', 'ZiB', 'YiB'];
while (fileSizeInBytes >= scale) {
fileSizeInBytes = fileSizeInBytes / scale;
longhotsummer / leaflet-big-image-full.html
Created Apr 5, 2016
Full example of using leaflet to pan and zoom a big image, as described at
View leaflet-big-image-full.html
<!-- See also: -->
<link rel="stylesheet" href=""></script>
#image-map {
width: 100%;
height: 300px;
border: 1px solid #ccc;
margin-bottom: 10px;

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.


The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.