#Red Dot Ruby Conf 2012
##Day 2 Summary of Reddot Ruby Conf 2012
###Due Props: Obie Fernandez - Redis on Ruby
- When to consider using Redis?
- SQL is overkill
- update-only data
- non-transactional needs
#Red Dot Ruby Conf 2012
##Day 2 Summary of Reddot Ruby Conf 2012
###Due Props: Obie Fernandez - Redis on Ruby
| ~/Projects/compass feature/add_documentation_and_tests_for_selection_mixin ✔ ➤ rake features --trace ruby-1.9.2-p320@compass [6s] | |
| WARNING: no such file to load -- rcov/rcovtask | |
| ** Invoke features (first_time) | |
| ** Execute features | |
| /Users/eumir/.rvm/rubies/ruby-1.9.2-p320/bin/ruby -S bundle exec cucumber features --format progress | |
| ................................................................................................................................... | |
| Dear developers making use of FSSM in your projects, | |
| FSSM is essentially dead at this point. Further development will | |
| be taking place in the new shared guard/listen project. Please |
| # Execute this file as follows and compare the results in ruby 1.8.*: | |
| # | |
| # ruby class_var_ex.rb | |
| # ruby class_var_ex.rb "include module" | |
| # ruby class_var_ex.rb "include module" "include global" | |
| # ruby "include global" | |
| @@test = 9 if ARGV.last == "include global" | |
| module X |
| # Execute this file as follows and compare the results in ruby 1.8.*: | |
| # | |
| # ruby class_var_ex.rb | |
| # ruby class_var_ex.rb "include module" | |
| # ruby class_var_ex.rb "include module" "include global" | |
| # ruby "include global" | |
| @@test = 9 if ARGV.last == "include global" | |
| module X |
| Process: launchd [32577] | |
| Path: /Applications/Zonebox.app/Contents/MacOS/Zonebox | |
| Identifier: rinik.Zonebox | |
| Version: ??? (???) | |
| Code Type: X86-64 (Native) | |
| Parent Process: launchd [349] | |
| Date/Time: 2013-01-17 10:29:03.111 +0800 | |
| OS Version: Mac OS X 10.7.5 (11G63) | |
| Report Version: 9 |
I hereby claim:
To claim this, I am signing this object:
| After automatically updating Postgres to 9.6.1 via Homebrew, the pg_ctl start command didn't work. | |
| The error was something like "database files are incompatible with server". | |
| Database files have to be updated before starting the server, here are the steps that had to be followed: | |
| # need to have both 9.6.1 and latest 9.5.x installed, and keep 9.6.1 as default | |
| brew unlink postgresql | |
| brew install postgresql95 | |
| brew unlink postgresql95 | |
| brew link postgresql |
| require 'benchmark' | |
| def it_fibonacci(n) | |
| fib_arr = [0,1] | |
| (2..(n.to_i) - 1).each do |x| | |
| fib_arr << fib_arr[x-1] + fib_arr[x-2] | |
| end | |
| return fib_arr | |
| end |
| describe('street name is also a street type (Gap Road)', () => { | |
| it('splits the street name/type properly', () => { | |
| const result = streetTypeExtractor('Gap Road') | |
| const expectedObject = { | |
| streetName: 'Gap', | |
| streetType: 'Road', | |
| } | |
| expect(result).to.deep.eq(expectedObject) | |
| }) |