News for hackers. Stuff that matters.
Re:Ask HN: How do you organise your codebase on your private... by stephenr on Saturday September 10, 2016 @02:01PM (#12470250)
~/Projects/$MyCoName/{Clients/$ClientName,Internal}/$ProjectName

Edit: for anyone who doesn't quite read shell expansion, it looks like this:

    ~
    + Projects
      + My Company Name
        + Clients
          + Client 1
            + Project Foo
          + Client 2
            + Project Bar
        + Internal
          + Project Baz
Re:Ask HN: How do you organise your codebase on your private... by 0xCMP on Saturday September 10, 2016 @02:06PM (#12470271)
Yea I do something similar. I like the {$ClientName, Internal} though. I had issues with that before.
Re:Ask HN: How do you organise your codebase on your private... by stephenr on Saturday September 10, 2016 @02:25PM (#12470330)
What issues did you have?

FYI the {} is shell expansion braces (which split on the comma), I've edited my comment with a literal tree of how it looks

Edit dos: and I see that you probably knew that!

Re:Ask HN: How do you organise your codebase on your private... by 0xCMP on Tuesday September 13, 2016 @10:21AM (#12488464)
My bad, I didn't mean I had issues with the expansion or the idea, but it solves the organization issues I had.
Re:Ask HN: How do you organise your codebase on your private... by 0xCMP on Saturday September 10, 2016 @02:07PM (#12470273)
On my two computers I have ~/Code/$Project and ~/Code/{$username, $company, tmp, github}/$Project
Re:Ask HN: How do you organise your codebase on your private... by shime on Saturday September 10, 2016 @01:54PM (#12470234)
What do you mean? I have a code folder with hack and work subfolders.