Re: [ruby-112] command line tools / utilities / combo

From: Ricky M.
Sent on: Thursday, April 17, 2014 5:34 AM
pv - mostly used when importing a large DB dump. It is nice to see a progress bar.



Open a file/commit in GitHub:

Quite often I find myself git blaming a file and then want more information on
that file or commit.

We use GitHub which provides a nice interface but can be annoying to navigate around.

So I wrote a command line tool which basically constructs the correct URL and opens it your browser.


Usage:

Options:
  -f  Path to file
  -b  Branch to target
  -c  Commit to show

Example Usage:
  Open a specific file on Github using the default branch
  repo -f app/controllers/application_controller.rb

  Specify the 'stable' branch as target
  repo -b stable -f app/controllers/application_controller.rb

  Open a commit hash
  repo -c ddfecdf90a

Maybe someone else can find this useful as well.


On Thu, Apr 17, 2014 at 8:21 AM, Jeff Wallace <[address removed]> wrote:
I use https://github.com/github/hub everyday, I use it to open all of my pull requests. I have git aliased to hub, and be sure to install hub via homebrew.

https://github.com/phinze/homebrew-cask is something I recently found out about. It lets you install most GUI OSX apps via the command line. (For example I heard about http://www.cockos.com/licecap/ from a coworker and instead of googling it and finding a DMG, I ran `brew cask install licecap` and then I was set).


On 16 April[masked]:01, Michael Lee <[address removed]> wrote:
Thoughtbot provides a script and dotfiles for setting up new development machines.

gitsh is also pretty handy.

-- 
Michael Lee

On April 16, 2014 at 10:45:10 AM, Greg Moreno ([address removed]) wrote:

I use this  https://github.com/skwp/dotfiles for my dev setup (OSX, vim).

Greg


On Wed, Apr 16, 2014 at 10:35 AM, Ruy Diaz <[address removed]> wrote:
Oh, and I've also created an alias for git log that outputs in (what I think) a much more useful format than the default:

[alias]
  l = log --pretty=oneline --abbrev-commit --graph --decorate

Also on the topic of git, git reflog can be a life saver when rebases get botched, or you accidentally delete a branch.


On Wed, Apr 16, 2014 at 9:39 AM, Ruy Díaz Jara <[address removed]> wrote:
Eric, you might want to take a look at autojump (https://github.com/joelthelion/autojump). I've been using it for a couple of years and I absolutely love it.

As for other tools, I'd throw in tab completion (http://en.wikipedia.org/wiki/Command-line_completion) which if you haven't used, you're about to get your socks blown off.




On Wed, Apr 16, 2014 at 9:24 AM, Eric Promislow <[address removed]> wrote:
I've been using a bunch of aliases for years for making it easier to cd to
various directories, and finally wrapped it up and uploaded it to

https://github.com/ericpromislow/ddirs

Not to be confused with TrentM's go-tool, which works on Windows.  https://code.google.com/p/go-tool/

- Eric


On Wed, Apr 16, 2014 at 8:57 AM, Sam Roberts <[address removed]> wrote:
strace
jq


Sam




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Sam Roberts ([address removed]) from Vancouver Ruby Meetup Group.
To learn more about Sam Roberts, visit his/her member profile

To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Eric Promislow ([address removed]) from Vancouver Ruby Meetup Group.
To learn more about Eric Promislow, visit his/her member profile

To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]






--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Ruy Diaz ([address removed]) from Vancouver Ruby Meetup Group.
To learn more about Ruy Diaz, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]



--
http://gregmoreno.ca
http://www.linkedin.com/in/gregmoreno
http://github.com/gregmoreno
http://twitter.com/gregmoreno

"I'm not a great programmer, I'm just a good programmer with great habits."
- Kent Beck




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Greg Moreno ([address removed]) from Vancouver Ruby Meetup Group.
To learn more about Greg Moreno, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Michael Lee ([address removed]) from Vancouver Ruby Meetup Group.
To learn more about Michael Lee, visit his/her member profile

To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Jeff Wallace ([address removed]) from Vancouver Ruby Meetup Group.
To learn more about Jeff Wallace, visit his/her member profile

To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

Our Sponsors

  • Brewhouse

    Vancouver's leading Rails development agency

  • Thinkific

    Web and mobile education for professionals.

  • BMC

    Business runs on I.T - I.T. Runs on BMC

  • Clio

    A suite of web-based tools to help manage your law firm

  • LX Ventures

    We launch technology companies.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy