Skip to content

Instantly share code, notes, and snippets.

Michael Down michaelkeevildown

Block or report user

Report or block michaelkeevildown

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
We couldn’t find that file to show.
View example1.md

Input XML:

<root>
    <id>trans-123</id>
    <transactions>
        <transaction>
            <sku>123</sku>
            <price currency="GBP">100<price>
        </transaction>
@michaelkeevildown
michaelkeevildown / fitz.md
Created Jan 4, 2019
Robin Hobb Fitz Books in Order
View fitz.md

The Farseer Trilogy:

  1. Assassin's Apprentice
  2. Royal Assassin
  3. Assassin's Quest

Followed by the Liveship Traders Trilogy

  1. Ship of Magic
  2. Mad Ship
  3. Ship of Destiny
@michaelkeevildown
michaelkeevildown / 1-raw-data.md
Created Dec 5, 2018
Kibana Vega - Percentage of X in a whole index
View 1-raw-data.md

Raw Data

The below can be copied and pasted straight into Kibana Dev Tools:

POST percentage/_doc
{
  "stage": 1
}
@michaelkeevildown
michaelkeevildown / es-sink-flink.java
Created Nov 27, 2018
Flink (v1.6) Elasticsearch (v6.x) Sink -- with auth
View es-sink-flink.java
View gist:cfedb8959dc5e093f7210a9738bba0fe
## CURRENT
Site Admin - EVERYTHING - Chris
- Marriott
- Admin
- Michael
- Chirs
- Users - Employee
- Dave
- Bob
etc...
@michaelkeevildown
michaelkeevildown / watcher-base.json
Last active Feb 14, 2017
Watcher - v2.3 - Example
View watcher-base.json
{
"trigger": {
"schedule": {
"interval": "1m"
}
},
"input": {
"search": {
"request": {
"indices": "##INDEX##",
@michaelkeevildown
michaelkeevildown / timestamp.md
Created Jan 12, 2017
XBOX API - Timestamp Issue
View timestamp.md

Issues with timestamp parsing with python:

Most of your timestamps come out as such:

YYYY-mm-DDTHH:MM:SS.%fZ 2017-01-09T20:44:16.241201Z

However I have just see this: 2017-01-08T15:02:41.1218785Z

View squid-proxy-setup.md

Installing Squid Proxy

Setting up the docker:

docker run --name squid -d --restart=always \
  --publish 3128:3128 \
  sameersbn/squid:3.3.8-21
You can’t perform that action at this time.