Skip to content

Instantly share code, notes, and snippets.

View kublermdk's full-sized avatar

Michael Kubler kublermdk

View GitHub Profile
@kublermdk
kublermdk / ExampleGeneralMongoDBAggregations.js
Created May 10, 2020 09:09
An example of the MongoDB Aggregation pipelines and commands used for some general filters. View
// -----------------------------------------------------------------
// Applying aggregation pipeline #1 Customer - HAVE
// -----------------------------------------------------------------
db.command({
"aggregate": "app.customer",
"pipeline": [{
"$match": {
"$and": [{
// -- Ensure the customers we are selecting are active and have a Firebase token so we can send them a push notification
"status": "active",
@ribtoks
ribtoks / SS-earnings.ipynb
Created July 30, 2020 12:14
Shutterstock earnings trend evaluation
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kublermdk
kublermdk / exampleGoogleAutoMLPrediction.php
Created October 6, 2020 17:15
Example Google AutoML Prediction with a Google Cloud Storage source
<?php
// --------------------------------------------------
// Example Google Cloud AutoML Prediction
// --------------------------------------------------
// @author Michael Kubler
// @date 2020-10-07th
// This is a cut down gist of what you need to
// make a Google Cloud AutoML (Auto Machine Learning)
// prediction request, based off an already uploaded