Skip to content

Instantly share code, notes, and snippets.

Adam Reid adamreid

Block or report user

Report or block adamreid

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
View keybase.md

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:

@adamreid
adamreid / gist:1db18563ddaaf4a07b56
Created Oct 22, 2015
+adamreid onename verification
View gist:1db18563ddaaf4a07b56
Verifying that +adamreid is my blockchain ID. https://onename.com/adamreid
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
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
vars:
branch: trunk
branch_repo: unstable
tasks:
You can’t perform that action at this time.