Skip to content

Instantly share code, notes, and snippets.

View cholcombe973's full-sized avatar

Chris Holcombe cholcombe973

  • @tesla.com
  • Portland
View GitHub Profile
@cholcombe973
cholcombe973 / playground.rs
Last active February 14, 2017 04:11 — forked from anonymous/playground.rs
Shared via Rust Playground
fn main() {
let a = ["1", "2", "lol"];
let mut iter = a.iter().filter_map(|s| s.parse().ok()).count();
}
Introduction
This is meant to be a reference to Diagnose My Ceph Cluster Script that I developed as part of Google Summer of Code 2016.
This project resides at https://github.com/CanonicalLtd/DiagCephCluster. It is still under development and pull requests are
always welcome. I am Kumar Rishabh and I can reached at shailrishabh@gmail.com.
What the heck is Diagnose My Ceph Cluster?
The project aims was to build a script that can be run very quickly and give the user best guess as to what was wrong with the
running Ceph cluster and also suggest a solution to rectify it. If the user is satisfied with the diagnosis he may allow the