~/talk

Practical Unix for Ruby & Rails

Talkat LA RubyConf 2015 · on Saturday, 2015-10-10· [ruby, developer-experience]
slides:none on file

Shows concrete shell recipes: use tail -f | grep to filter Rails logs, sed to normalize numeric IDs, then sort uniq -c to get hit counts (example yields token hits like 2667). Replaces slow editor searches with ag, pipes filenames into xargs to run only relevant specs, and detects running servers with lsof to choose spork/zeus/nailgun/Bundle invocations. Includes a reusable bash script that auto-selects the fastest test runner and explains how pipelines spawn concurrent processes with OS buffering.

AI-written summary · about

  1. 0:00Introduction
  2. 3:58Unix philosophy basics
  3. 4:43Tailing logs with tail and grep
  4. 7:34Unix processes and streams
  5. 10:01Counting Rails endpoint hits
  6. 16:46Unix pipelines efficiency
  7. 19:35Finding text in files
  8. 21:40Filtering RSpec specs
  9. 24:34Speeding up JRuby tests
  10. 27:05Smart RSpec wrapper script
  11. 33:49Smart spec script in practice
  12. 35:14Customizing Unix workflows
  13. 37:20Q&A
~/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.