Pinned Loading
-
MongoDB equivalent of an SQL query t...
MongoDB equivalent of an SQL query to get the distinct values of a field in a collection including the count of documents which have each distinct value (distinct with count) 1//equivalent of MySQL SELECT COUNT(*) AS cnt, fieldName FROM someTable GROUP BY fieldName;
2db.someCollection.aggregate([{"$group" : {_id:"$fieldName", cnt:{$sum:1}}}]);
34//as above but ordered by the count descending
5//eg: SELECT COUNT(*) AS cnt, fieldName FROM someTable GROUP BY fieldName ORDER BY cnt DESC;
-
ezstream
ezstream PublicForked from xiph/ezstream
command line source client for Icecast streaming server
C
-
p5.js-sound
p5.js-sound PublicForked from processing/p5.js-sound
p5.sound brings the Processing approach to Web Audio and p5.js. Demos:
JavaScript
-
TSV file containing zip codes and th...
TSV file containing zip codes and the DMA they fall in to. Method: calculate the centre point of every zip code geo boundary, plot those points on a DMA boundary map, find the containing DMA of each zip centroid 1zip_code dma_code dma_description
201001 543 SPRINGFIELD - HOLYOKE
301002 543 SPRINGFIELD - HOLYOKE
401003 543 SPRINGFIELD - HOLYOKE
501004 543 SPRINGFIELD - HOLYOKE
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.