Skip to content

Instantly share code, notes, and snippets.


Adam Reid adamreid

View GitHub Profile

Keybase proof

I hereby claim:

  • I am adamreid on github.
  • I am adamreid ( on keybase.
  • I have a public key ASCiEZEp6Xg8zMVnjqXgnthp4Fxrh4K9Eb_sKHWvsl7r4wo

To claim this, I am signing this object:

adamreid / gist:1db18563ddaaf4a07b56
Created Oct 22, 2015
+adamreid onename verification
View gist:1db18563ddaaf4a07b56
Verifying that +adamreid is my blockchain ID.
View gist:9cbc5b3575ba73e75aa2
use std::io;
use std::io::{fs, FileType};
fn main() {
match fs::stat(&Path::new(".")) {
Ok(stat) => println!("{}", ft_display_str(&stat.kind)),
Err(e) => println!("Could not stat .: {}", e),
View pedantically_commented_playbook.yml
# ^^^ YAML documents must begin with the document separator "---"
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
adamreid / test.yml
Created Jun 13, 2013
Failed and expression in ansible when clause
View test.yml
# Configure yum repos based on requirement for stable,
# unstable, current, or specific assembly number
- hosts: test
branch: trunk
branch_repo: unstable
You can’t perform that action at this time.