Skip to content

Instantly share code, notes, and snippets.

@davidstaheli
davidstaheli / FanOutFanIn.yml
Last active May 24, 2021 06:34
Fan out, fan in with Azure Pipelines
resources:
containers:
- container: u14
image: ubuntu:14.04
- container: u16
image: ubuntu:16.04
- container: u18
image: ubuntu:18.04
jobs:
@tylerpace
tylerpace / pbkdf2.rb
Last active June 18, 2017 20:35
PBKDF2 SHA-512 Ruby script for creating Mac OS >= 10.7 password parameters that Puppet can manage
#!/usr/bin/env ruby
require 'openssl'
puts "enter the password that you would like to hash:\n"
password = gets
password = password.chomp
salt = OpenSSL::Random.random_bytes(32)
iterations = 40_000