Skip to content

Instantly share code, notes, and snippets.

View Richard-Mathie's full-sized avatar

Richard Mathie Richard-Mathie

View GitHub Profile
@Richard-Mathie
Richard-Mathie / 39 Subjects of Asset Management.md
Last active May 12, 2017 16:17
The 39 Subjects of Asset Management
@Richard-Mathie
Richard-Mathie / Copy of 39 Subjects Force Directed Graph V0 1.txt
Last active September 3, 2015 13:13
39 Subjects of Asset Management, Dependency Matrix
INPUTS
AM Policy AM Strategy & Objectives Demand Analysis Strategic Planning AM Planning Capital investment decision making Ops & maintenance decision making Lifecycle value realisation Resourcing strategy Shutdowns and outage strategy Technical Standards & legislation Asset creation & acquisition Systems engineering Configuration management Maintenance delivery Reliability engineering Asset operations Resource management Shutdown & outage management Fault & incident response Asset decomissioning & disposal Asset Information Strategy Asset information standards Asset information systems Data & information management Procurement & supply chain management Asset management leadership Organisational structure Organisational culture Competence management Risk assessment & management Contingency planning & resilience analysis Sustainable development Management of change Asset performance & health monitoring Asset management system monitoring "management review, audit and a
INPUTS
AM Policy AM Strategy & Objectives Demand Analysis Strategic Planning AM Planning Capital investment decision making Ops & maintenance decision making Lifecycle value realisation Resourcing strategy Shutdowns and outage strategy Technical Standards & legislation Asset creation & acquisition Systems engineering Configuration management Maintenance delivery Reliability engineering Asset operations Resource management Shutdown & outage management Fault & incident response Asset decomissioning & disposal Asset Information Strategy Asset information standards Asset information systems Data & information management Procurement & supply chain management Asset management leadership Organisational structure Organisational culture Competence management Risk assessment & management Contingency planning & resilience analysis Sustainable development Management of change Asset performance & health monitoring Asset management system monitoring "management review, audit and a
@Richard-Mathie
Richard-Mathie / .gitignore
Last active October 5, 2015 11:06
Cupid Maximo Column Completeness
*.xls?
{
"nodes": [
{
"group": 1,
"name": "MXRPERNUM"
},
{
"group": 1,
"name": "FINCNTRLID"
},
@Richard-Mathie
Richard-Mathie / Streamparse Bolt Test.md
Last active March 29, 2017 10:48
How To Test Streamparse Bolt?

Streamparse Bolt Test

Trying to have a method for testing bolt logic in streamparse projects.

@Richard-Mathie
Richard-Mathie / Changing Labels on aws docker engine.md
Last active April 15, 2016 09:46
Changing Labels on aws docker engine launched by docker machine

First ssh into the node you want to add lable to

docker-machine ssh aws-node

Depending on wheather the machine is using upstart or systemd you will need to modify a config file:

systemd:

sudo vim /etc/systemd/system/docker.service

edit the line starting ExecStart to add label

@Richard-Mathie
Richard-Mathie / Redis Cluster Setup with Docker Swarm.md
Last active May 11, 2022 12:58
Redis cluster setup with docker swarm

Redis Cluster Setup with Docker Swarm

Setup

./redis.sh

Test

test the redis cluster

@Richard-Mathie
Richard-Mathie / Cassandra Concurrent writer.md
Last active March 29, 2017 10:43
Cassandra Concurrent writer

Cassandra Concurrent Writer

A class which constructs a concurrent writer object so that you can write async to cassandra, but limit the number of concurrent writes to some number, and block when we hit that limit. This can result in improved write throuput withough having to construct your query with genorators, as the default cassandra concurrent method requires.

I would sugest adding callbacks to handle write time outs, as you may want to retry the write.

Usage

@Richard-Mathie
Richard-Mathie / Redis Cluster Flask Cache.md
Last active June 12, 2017 14:10
Redis Cluster plugin for Flask Cache

Flask Cache Redis Cluster Backend

This impliments a redis cluster backend for Flask-Cache as the standard redis cache cannot handle a redis cluster.

Usage

class Config(object):