~/talk

Short Order Ruby

Talkat Ruby Manor 2: Manor Harder · on Saturday, 2009-12-12· [ruby]
links:none on file
slides:none on file

Concrete recipes for command-line Ruby: one‑liners with -n -e -i edit files in place, use $_ and ARGF to process streamed or filename input, and set IO.sync = true to avoid buffering. Show subprocess patterns: backticks/%x, popen/popen3 and PTY plus select for multiplexing and expect for prompts. Built examples include a Campfire multiplayer text‑adventure bridge that works, a MySQL pager that draws Unicode bar charts, and a reusable header-insert script used three times.

AI-written summary · about

  1. 0:00Introduction to Short Order Ruby
  2. 3:08Quick Ruby scripts magic
  3. 5:55Unix perfect for Ruby
  4. 8:06Piping Unix commands
  5. 10:18Ruby CLI shortcuts
  6. 12:28ARF for file input
  7. 15:40Edit files in-place
  8. 18:11Ruby with spreadsheets
  9. 23:37Pipeline buffering issues
  10. 26:32Call Unix from Ruby
  11. 33:02Advanced popen control
  12. 34:29Text adventures in Campfire
  13. 39:58Drive interactive Unix
  14. 41:01Mac OS automation tools
  15. 42:48Libraries for tasks
  16. 44:34Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.