Skip to content

Instantly share code, notes, and snippets.

Avatar

Jack Hughes digitalbricklayer

View GitHub Profile
@devynspencer
devynspencer / ansible-github.yml
Last active Jun 27, 2022
Example playbook for cloning a private git repository with Ansible.
View ansible-github.yml
---
hosts: all
tasks:
- name: add github ssh key
copy: >
src=files/id_rsa.github
dest=/root/.ssh/id_rsa.github
owner=root
group=root
@GrantByrne
GrantByrne / UserValidator.cs
Created Apr 24, 2014
Using Fluent Validation with WPF - Dead Simple
View UserValidator.cs
using System.Text.RegularExpressions;
using FluentValidation;
using WpfFluentValidationExample.ViewModels;
namespace WpfFluentValidationExample.Lib
{
public class UserValidator : AbstractValidator<UserViewModel>
{
public UserValidator()
{