(Several of these git examples have been extracted from the book 'Pragmatic guide to GIT' of Travis Swicegood )
git config --global user.name "Fernando Guillen"
git config --global user.email "fguillen.mail+spam@gmail.com"
cd /develop/myrepo
| def create_class(class_name, superclass, &block) | |
| klass = Class.new superclass, &block | |
| Object.const_set class_name, klass | |
| end |
| #!/usr/bin/ruby | |
| @result = [] | |
| def make_change(amount, coins) | |
| if (selected_coin = choose_coin(amount, coins.sort!.reverse!)) && amount > 0 | |
| @result << selected_coin && make_change(amount = amount - selected_coin, coins) | |
| end | |
| end |
| Country | ISO 3166 | Region |
|---|---|---|
| Afghanistan | AF | EMEA |
| Åland Islands | AX | EMEA |
| Albania | AL | EMEA |
| Algeria | DZ | EMEA |
| American Samoa | AS | APAC |
| Andorra | AD | EMEA |
| Angola | AO | EMEA |
| Anguilla | AI | AMER |