A script in time …

Sometimes I come across a task that sufficiently annoys me that I have to write up a quick script to restore the calm. One such task was to smooth over a bump I regularly get when I use Heroku on a project.

I tend to end up with at least two apps: myapp.herokuapp.com for production and myapp-staging.herokuapp.com for staging. This means that I now have to include --app <app_name> after every command, which is annoying, especially when you’ve named your app supercalifragilisticexpialidocious or similar.

There are quite a few scripts available on the Googles to deal with this and also, I’m assuming, a Heroku standard way. However, I decided to roll my own.

Enjoy!

https://gist.github.com/urfolomeus/1cecf1fcfc9cc0e8f6e3

 
2
Kudos
 
2
Kudos

Now read this

I have something I’d like to share with you all

I’ve been afraid to do this so far in case you judged me, started treating me differently or just plain thought I was an arse. Well I’ve come to the conclusion that I can’t control what you think of me, how you act towards/around me and... Continue →