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/bash | |
| # Erlang | |
| ERLANG_VERSION=${ERLANG_VERSION:-20.2} | |
| ERLANG_CACHED_DOWNLOAD="${HOME}/cache/OTP-${ERLANG_VERSION}.tar.gz" | |
| ERLANG_DIR=${ERLANG_DIR:="$HOME/erlang"} | |
| # Elixir | |
| ELIXIR_VERSION=${ELIXIR_VERSION:-1.6.3} | |
| ELIXIR_CACHED_DOWNLOAD="${HOME}/cache/elixir-v${ELIXIR_VERSION}.zip" |
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
| PATH | |
| remote: . | |
| specs: | |
| my-awesome-gem (0.1.0-java) | |
| activesupport (~> 4.0) | |
| lock_jar (~> 0.13) | |
| GEM | |
| remote: https://rubygems.org/ | |
| specs: |
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
| class PlainText | |
| class << self | |
| def write(&block) | |
| return unless block_given? | |
| @previous_line = current_line | |
| @line = [] | |
| @paragraph = [] | |
| undefine_methods |
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
| ONE = 0 | |
| TEN = 1 | |
| HUNDRED = 2 | |
| def german_words_for(number, triple_index) | |
| return 'null' if number == 0 | |
| return 'eins' if number == 1 && triple_index == 0 | |
| return 'minus eins' if number == -1 && triple_index == 0 | |
| words = [ |
NewerOlder