Skip to content

Instantly share code, notes, and snippets.

View jreijn's full-sized avatar

Jeroen Reijn jreijn

View GitHub Profile
@kamermans
kamermans / analyze_haproxy_performance.pl
Created April 6, 2012 15:41
HAProxy log analyzer to show response latency distribution from the console
#!/usr/bin/perl
# HAProxy Performance Statistics
# by Steve Kamerman
#
# To use, pipe your HAProxy log with timing information (like "0/0/1/1/3 200") to
# this script. It will output min, max, med, avg and a latency distribution graph.
#
# Info on timing logging in HAProxy: http://code.google.com/p/haproxy-docs/wiki/TimingEvents
#

Hypermedia API design session

Proposed/ran by Andreas Schmidt, Nokia

Based off his design around the Nokia Places API

Notes

  • Picked JSON, no support for XML
  • Added ?accept=application/json to the URL in the browser for a raw response
pipeline {
// run on jenkins nodes tha has java 8 label
agent { label 'java8' }
// global env variables
environment {
EMAIL_RECIPIENTS = 'mahmoud.romeh@test.com'
}
stages {
stage('Build with unit testing') {
@shortjared
shortjared / list.txt
Last active July 7, 2024 13:11
List of AWS Service Principals
a4b.amazonaws.com
access-analyzer.amazonaws.com
account.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
airflow-env.amazonaws.com
airflow.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com
@brunosimioni
brunosimioni / docker-compose.yml
Created February 27, 2018 17:46
Docker Compose to Prometheus, PushGateway and Grafana setup
version: '2.1'
networks:
monitor-net:
driver: bridge
volumes:
prometheus_data: {}
grafana_data: {}
@danshev
danshev / lambda_function.py
Last active May 20, 2022 09:23
TeslaCam-Merge-Videos (for AWS Lambda)
'''
Function: TeslaCam-Merge-Videos
Runtime: Python 3.7
Environment: AWS Lambda
Description:
This function is meant to be invoked by another Lambda (TeslaCam-Identify-Sets-and-Kickoff).
Upon execution, it will use the 'event' key of the event dictionary (passed at runtime), and:
1. Download camera angle video files from S3