Skip to content

Instantly share code, notes, and snippets.

View adamreid's full-sized avatar

Adam Reid adamreid

View GitHub Profile
@adamreid
adamreid / test.yml
Created June 13, 2013 15:15
Failed and expression in ansible when clause
# Configure yum repos based on requirement for stable,
# unstable, current, or specific assembly number
---
- hosts: test
vars:
branch: trunk
branch_repo: unstable
tasks:
---
# ^^^ 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.
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),
};
}
@adamreid
adamreid / gist:1db18563ddaaf4a07b56
Created October 22, 2015 15:55
+adamreid onename verification
Verifying that +adamreid is my blockchain ID. https://onename.com/adamreid

Keybase proof

I hereby claim:

  • I am adamreid on github.
  • I am adamreid (https://keybase.io/adamreid) on keybase.
  • I have a public key ASCiEZEp6Xg8zMVnjqXgnthp4Fxrh4K9Eb_sKHWvsl7r4wo

To claim this, I am signing this object: