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
git remote add github [EMAIL PROTECTED]:myaccount/myapp.git | |
git remote add heroku [EMAIL PROTECTED]:myapp.git | |
Then you can do “git push heroku” and “git push github”, or pull, or | |
From: http://blog.mindtonic.net/using-github-and-heroku-together |
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
# Previous example in github.com/ajfaraday/re-rpg in script/simple_battle.rb | |
character.actions | |
# [:attack, :fire, :block, :heal, :"full heal"] | |
character.action(:attack, target) | |
# purely hypothetical, mostly unimplemented |
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
20:10:13 238 but it missed. | |
20:10:13 238 Alice attacks Bob | |
20:10:13 238 it has no effect. | |
20:10:13 238 | |
20:10:13 238 ["Alice: 10", "Bob: 10", "Charlie: 10"] | |
20:10:13 238 | |
20:10:13 238 but it missed. | |
20:10:13 238 Bob attacks Charlie | |
20:10:13 238 it has no effect. | |
20:10:13 238 |