This file contains hidden or 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
| def flatten(arr) | |
| result = [] | |
| arr.each do |item| | |
| if item.is_a?(Array) | |
| sub_array = flatten(item) | |
| sub_array.each { |sub_item| result << sub_item } | |
| else | |
| result << item | |
| end |
This file contains hidden or 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
| # http://codeinthehole.com/writing/a-useful-template-for-commit-messages/ | |
| # git config --global commit.template ~/.git_commit_msg.txt | |
| # If applied, this commit will... | |
| Provide a Fabric task for installing Puppet modules | |
| # Explain why this change is being made | |
| This change consolidates all project tasks in the fabfile.py and means | |
| we can get rid of the makefile. |