quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

Ruby5 #404

Ruby5 - Episode #404 – September 20th, 2013

  • explain_shell gem
    • $ explain find . -type f -print0
  • "".gsub(rx) {}
    • 'Apollo 12'.gsub(/(\w+) (\d+)/) { |name, number| puts name, number }
    • 'Apollo 12'.gsub(/(\d+)/) { Regexp.last_match[1].to_i.next }
  • Hexpress
    • hexp.start("http").maybe("s")
  • Capybara2 and jQuery
    • jQuery UI Autocomplete
    • page.execute_script %Q{ $('##{field}').trigger('focus') }
    • page.execute_script %Q{ $('##{field}').trigger('keydown') }
    • page.execute_script %Q{ $('#{selector}').trigger('mouseenter').click() }
  • MRI GC settings
  • Rconsole
    • output debug messages from ruby code to the browser console

興味深いトピック多かった

♫ Yo Ho (A Pirate's Life For Me) - Pirates of the Caribbean

by SoundHound