This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write a program that does what it’s supposed to do | |
Write idiomatic code | |
Debug a program that you wrote | |
Debug a program someone else wrote | |
Debug the interaction between a system you wrote and one you didn’t | |
File a good bug report | |
Modify a program you didn’t write | |
Test a program you wrote | |
Test a program you didn’t write | |
Learn a new programming language |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'singleton' | |
require 'octokit' | |
class ReleaseNotesGenerator | |
include Singleton | |
def release_header? | |
release_match != nil | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# Wrap thor-scmver to build metadata | |
# | |
require 'thor-scmversion' | |
module ThorSCMVersion | |
class Tasks < Thor | |
namespace "version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Keyboard and locale | |
d-i debian-installer/locale string en_US | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/layoutcode string us | |
# Network | |
d-i netcfg/choose_interface select eth0 | |
d-i hw-detect/load_firmware boolean true | |
# Mirror |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'chef/cookbook/metadata' | |
metadata_file = ARGV.first || 'metadata.rb' | |
metadata = Chef::Cookbook::Metadata.new | |
metadata.from_file(metadata_file) | |
puts "#{metadata.name} #{metadata.version}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name "ourusers" | |
description "Add users" | |
default_attributes( | |
"users" => "vindy" | |
) | |
run_list( | |
"recipe[users::sysadmins]", | |
"recipe[sudo]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodes: | |
- winrm windowswinrmhost: | |
- role[webserver],role[base] | |
- -x Administrator -P 'super_secret_password' | |
- ssh windowssshhost: | |
- role[foobar] | |
- -x 'Administrator' -P barpass -d windows-preinstalled |