Skip to content

Instantly share code, notes, and snippets.

View reneoelke's full-sized avatar
🛡️
DevSecOps

René Oelke reneoelke

🛡️
DevSecOps
View GitHub Profile

Keybase proof

I hereby claim:

  • I am reneoelke on github.
  • I am reneoelke (https://keybase.io/reneoelke) on keybase.
  • I have a public key whose fingerprint is 8E1B FD4D F461 2212 79BB 36F5 BEA7 05E4 9EDB 58D8

To claim this, I am signing this object:

0x628645C22a2e02bF17e5A05925CF70F49Cee9424
@reneoelke
reneoelke / pgp_pub.key
Created October 13, 2016 09:24
PGP Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBE8DXugBCADr9sS/3MOB/b3PHt9yqmGVeDmwxUmVZfVh8Xry2O69+/A227Pf
mgRt740VD0rbDq2IVwtpCl29WqqKBczy1U1Xsk1mcvHWyFlY5YcnKN3SV8fo5+KT
YdzYqqM0eBwyZVg0zTYvCqpd2kyYJ8V69hE24uXG5mvDTP/Z8ICsnqLzgAUHY2hC
G8Z272nc0nrB4bFzBzzNpwU+kvgfz4ktX8xfGfX9AFq/D3AfVONoGBoybscb4uHI
3CKb+gp9mP4CpoEx8ZOVLuHV9C+PJ3lNHdKBvqK3e9RDziMTI/uhnJHXXGTG1dC3
gAbWXZOCiKnhXzsP6QijgbceAl0gYECCAetPABEBAAG0JFJlbsOpIE9lbGtlIDxy
ZW5lLm9lbGtlQGZvb2J1Z3MuY29tPokBOwQTAQIAJQIbLwYLCQgHAwIGFQgCCQoL
BBYCAwECHgECF4AFAlJ3eE0CGQEACgkQvqcF5J7bWNjDEQgAiQ5pOS4SofQu63ob
@reneoelke
reneoelke / AWS_Lambda_SnsToSlack.js
Last active November 15, 2017 18:08
An Amazon Web Services SNS trigger that sends CloudWatch alarm notifications to Slack.
var url = require("url");
var https = require("https");
var hookUrl = "HOOK_URL";
var slackChannel = "SLACK_CHANNEL";
var postMessage = function(message, callback) {
var body = JSON.stringify(message);
var options = url.parse(hookUrl);
options.method = "POST";
Verifying that +reneoelke is my blockchain ID. https://onename.com/reneoelke
@reneoelke
reneoelke / authorized_keys
Created October 17, 2014 19:16
My public SSH-Keys
ssh-dss AAAAB3NzaC1kc3MAAACBAMIjlcg+ImuaucwPYzTDLNx4C2XEJUvbYAz5nfK0CIiWkPppkraMcBBAk0BFkLjOeUszgjF1MKMC00iCPftJukpXC/Q/6Lk7EU62M42DDbel9NB5OkscFqBYvecmqW4akfGYSLogug3g6NAy2IkgqUOs2ADZr50OMz9i5Ekr4kCjAAAAFQDjgyKd04gmeNwZm21U81gLdirOiQAAAIAUJXGF9C68325R4UfuY/AhmF/VwB/xI/5HMauU/vpcBUOU+1n0dPuAO0ER6q7UvOaLkKvC4TbLC6IoWAMrgTFIUnssqUKSRARSHJqibrnDWgogcxnAfKQFwyuoN+a/edj+b3/GilnV7K2UcGXmh7n1sRZghF+1ewVdObk+EKriGAAAAIAv7BWTJlxIwy14nBEyRKAqYe2oGH8cP6ABm3lGzVpQgEcYDz4GAbO6UDpBohd3/xUgiP0ILzNg0DMdiDKW6Tzqk5NIBDyzoPzdZ8HgfzfDpiaEpmXp22mcaOY/wtiFM92Z1g7aUVaB/TM/jjjRJS8xMKHVALq2z/yNfgkFIiSCGw== rene.oelke
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7/YqiK7a/gNBpUCiP1d1jsMBUygRIUGO2WSDZx1irBy0F0l+zIb4YiIUBV6w5QY1nK3dv2ksVznLEZcEFeqXA8bbeCX5tgpnEg8dpCZ+KS/P+3ha6ayXpTjFIAZEw8KPooTDtzuHwfRi3b7BbxSNtlsr2/tJ9vzAkGJucWnQsUht//9M7r97da/BCVurAV4EgERCcqCW95li8tN7/+o9ygTFBJGRonoCuVP4ocVjp4clnotSr0I/FSWOdn1tPxMdcTNTyL7m9Ec5zDeUJnANlLPzHmE5fCLnKib1iHjwMg1EXu9H6ynTpTnBZexMTayyYPD20knciP2mGGxxCgyBN rene@luke.local
@reneoelke
reneoelke / makeChromeApp.sh
Created September 12, 2014 13:39
makeChromeApp
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name=$inputline
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url=$inputline
@reneoelke
reneoelke / AngularBookmarklet.js
Last active August 29, 2015 14:06
Angular Bookmarklet for Chrome
javascript:
var angularVersion = "1.2.23";
if (typeof(angular) == "undefined") {
var angularScript = document.createElement('script');
angularScript.type = "text/javascript";
angularScript.src = "//ajax.googleapis.com/ajax/libs/angularjs/" + angularVersion + "/angular.min.js";
angularScript.onload = function() {
console.log("AngularJS " + angular.version.full + " loaded successfully.");
};
angularScript.onerror = function() {
@reneoelke
reneoelke / jQueryBookmarklet.js
Last active August 29, 2015 14:06
jQuery Bookmarklet for Chrome
javascript:
var jQueryVersion = "2.1.1";
if (typeof(jQuery) == "undefined") {
var jQueryScript = document.createElement('script');
jQueryScript.type = "text/javascript";
jQueryScript.src = "//ajax.googleapis.com/ajax/libs/jquery/" + jQueryVersion + "/jquery.min.js";
jQueryScript.onload = function() {
jQuery.noConflict();
console.log("jQuery " + jQuery.fn.jquery + " loaded successfully.");
};
#!/usr/bin/env php
<?php
/**
* Usage:
* pdepend --summary-xml=/tmp/summary.xml /path/to/source
*
* ./inspekt.php /tmp/summary.xml --metric0
*/
class Inspect
{