Joined April 2012
·
Posted to
Make your own gem
over 1 year
ago
Also, bundler includes a Rakefile with gem tasks for building and releasing your newly created gem: https://github.com/bundler/bundler/blob/master/lib/bundler/gem_helper.rb#L47-L50
Posted to
Bang Cash (!$)
over 1 year
ago
Yeah @davidchase03 - but this won't work in fish
Posted to
Bang Cash (!$)
over 1 year
ago
There's a bunch of these "bang arguments":
- !:0 is the previous command name
- !^, !:2, !:3, …, !$ are the arguments of the previous command
- !* is all the arguments
- !$ is the last argument. You can also use $_ to get the last argument of the previous command.
And more, see this good link
Posted to
Controller filter for both nested and non-nested resources
over 1 year
ago
Clean, neat... Thanks, Javier
Achievements
100 Karma
497 Total ProTip Views

Altruist
Increase developer well-being by sharing at least 20 open source projects

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

T-Rex
Have at least one original repo where C is the dominant language

Github Gameoff Participant
Participated in the Github Gameoff 2012 building a game based on git concepts of forking, branching, etc

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Mongoose
Have at least one original repo where Ruby is the dominant language
Oh, fun - I'll golf.
3bdwi
then type "bar "; or3bdEi
then type "bar".Edit - that's 9 either way