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
#!/bin/sh | |
#/ Usage: git pr [<branch>] | |
#/ Open the pull request page for <branch>, or the current branch if not | |
#/ specified. Lands on the new pull request page when no PR exists yet. | |
#/ The branch must already be pushed | |
# Based on script from @rtomayko | |
set -e | |
# usage message |
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
# Description: | |
# Words of wisdom from @pengwynn | |
# | |
# Commands: | |
# hubot wynn me | |
# hubot wynnage me | |
# hubot wynning | |
wynnsdom = [ | |
"You'll find that most touchdowns are actually scored by utility infielders." |
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
# without a default for x | |
def foo(x, keyword: :b) | |
puts x | |
puts keyword | |
end | |
foo({x: 1}) | |
#{:x=>1} | |
#b |
OlderNewer