Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Learned in the past helps me

wtnabe
February 15, 2014

Learned in the past helps me

Self retrospective and what to learn

wtnabe

February 15, 2014
Tweet

More Decks by wtnabe

Other Decks in Programming

Transcript

  1. Learned in the past
    helps me
    @wtnabe
    Kanazawa.rb meetup #18
    2014-02-15 (Sat) at IT Plaza MUSASHI

    View full-size slide

  2. Recently
    Full-Stack Web Engineer
    from application env to front-end
    Certified Ruby Gold Programmer
    Ruby on Rails / PHP / JavaScript
    TDD and Continuous Integration

    View full-size slide

  3. Old
    Unix Sysadmin
    Web Development with LL
    Workflow Automation with LL

    View full-size slide

  4. Very Old
    Text and Data processing with Unix-tools

    View full-size slide

  5. as my Lifeline

    View full-size slide

  6. Unix Philosophy

    View full-size slide

  7. Basics
    Small / Simple
    Do one thing
    Text file
    Filter
    cf. http://en.wikipedia.org/wiki/Unix_philosophy

    View full-size slide

  8. Tools
    Un*x have MANY commands
    Each command DO ONE THING well
    You can combine them as FILTER

    View full-size slide

  9. Learned tools in the past
    df ( disk )
    ls, find, du ( file and directory )
    diff, patch
    expand, unexpand ( tab code )
    cat, split, wc

    View full-size slide

  10. Learned tools in the past
    sort, uniq, head, tail
    grep, awk
    cal

    View full-size slide

  11. Especially, Tools for
    Text Processing
    sort, uniq, head, tail, awk

    View full-size slide

  12. Text Processing

    View full-size slide

  13. Basics
    Search
    Replace
    Count
    Split and Concatenate
    Sort

    View full-size slide

  14. Regular Expression
    -- Search --
    Many different REs
    but Majors are POSIX Extended and
    PCRE

    View full-size slide

  15. AWK
    -- Processing --
    Filter-oriented Programming Language
    C-like and Shell-like Syntax
    Specialized for stdin / stdout

    View full-size slide

  16. Text Processing
    Most Internet Protocols depend on Text
    born from Unix platform
    Web Development as Text Processing

    View full-size slide

  17. Learned lately
    tree, xargs, rlwrap, highlight, colordiff, kramdown, docutils, nkf, git,
    tig, irb, emacs, earthquake, gyunyu, mksgal, bundler, cheat, gisty,
    guard, node.js(npm)

    View full-size slide

  18. What helps me ?
    Unix Philosophy
    Unix Platforms and Tools
    Basic Text Processing

    View full-size slide

  19. Recommends
    Small / Simple ( a.k.a. KISS )
    Learn Tools and Philosophy that are
    Maturing and Sustaining
    Keep learning and enjoying !!

    View full-size slide