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
| [1] pry(main)> CONSTANT = 1 | |
| => 1 | |
| [2] pry(main)> CONSTANT = 2 | |
| (pry):2: warning: already initialized constant CONSTANT | |
| => 2 | |
| [3] pry(main)> CONSTANT.freeze | |
| => 2 | |
| [4] pry(main)> CONSTANT = 3 | |
| (pry):4: warning: already initialized constant CONSTANT | |
| => 3 |
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
| $('#paste-address').click -> | |
| togglePasteAddress() | |
| $('#add_order_modal').on 'click', '#paste-address', -> | |
| togglePasteAddress() | |
| togglePasteAddress=-> | |
| $column = $('.col1') | |
| $column.fadeToggle 100, -> | |
| $('.col1 .control-group').toggleClass('hidden') |
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
| web: rails server thin -p 5000 | |
| pg: postgres | |
| mem: memcached | |
| red: redis-server > log/redis-server.log | |
| res: rake resque:workers JOBS_PER_FORK=100 COUNT=3 QUEUE=rate_quotes,shipments,batches,email,* | |
| ela: elasticsearch |
OlderNewer