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
def format event | |
{ header, payload } = SomeModule.somefn(event) | |
join_results(format_header(header), format_payload(payload)) | |
end | |
def format_header(header) | |
# do stuff | |
.... | |
# and return |
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
#!/bin/sh -e | |
# Usage: license | |
# Prints an MIT license appropriate for totin' around. | |
# | |
# $ license > COPYING | |
#!/bin/sh | |
echo "Copyright (c) `date +%Y` `git config --get user.name` | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the |