Skip to content

Instantly share code, notes, and snippets.

Created March 13, 2014 06:04

Revisions

  1. @invalid-email-address Anonymous created this gist Mar 13, 2014.
    23 changes: 23 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    I was modifying a deploy script when I realized how cool a shell script that allowed me to interact with different machines with more ease could be:


    // store contents of hosts file on b.com in oldHosts,
    // transfer contents of hosts file on local system to
    // hosts file on b.com.

    route :=
    jim@a.com |>
    reza@b.com |>
    sudo su root
    oldHosts, err :=
    route |>
    > cat /etc/hosts
    . cat /etc/hosts
    route |>
    > /etc/hosts

    First term I google to find similar tech leads me to a patent for something that seems particularly similar, or at least close enough: http://www.google.com/patents/US8627342

    Similarities aside in this case - if there was something you were interested in throwing up to github this weekend, and you ran across a patent that seemed to cover the technology, would you write it anyway?