Skip to content

Instantly share code, notes, and snippets.

View plorent's full-sized avatar

Peter Lorent plorent

  • Peter Lorent
  • Amsterdam
View GitHub Profile
@plorent
plorent / notes.md
Created May 25, 2022 14:55 — forked from datlife/notes.md
Setup Apache Spark/ Jupyter Notebook on MacOS
@plorent
plorent / 148-dapr.sh
Created February 21, 2022 13:06 — forked from vfarcic/148-dapr.sh
# Source: https://gist.github.com/8d941690a087b0de0e2731a52cfb1f51
###############################################################
# Building Event-Driven Microservices In Kubernetes With Dapr #
# https://youtu.be/-4sHUvfk2Eg #
###############################################################
# Additional Info:
# - https://dapr.io
# - What is microservices architecture?: https://youtu.be/F-37_gV2tMs
// Support routines for automatically reporting user timing for common analytics platforms
// Currently supports Google Analytics, Boomerang and SOASTA mPulse
// In the case of boomerang, you will need to map the event names you want reported
// to timer names (for mPulse these need to be custom0, custom1, etc) using a global variable:
// rumMapping = {'aft': 'custom0'};
(function() {
var wtt = function(n, t, b) {
t = Math.round(t);
if (t >= 0 && t < 3600000) {
// Google Analytics