Containers outside Containers
What is a container? Most will probably answer something related to Docker. That’s a good guess, but docker only one, of many, wrappers that enables the illusion of what we call container.
Continue readingWhat is a container? Most will probably answer something related to Docker. That’s a good guess, but docker only one, of many, wrappers that enables the illusion of what we call container.
Continue readingI’ve posted before about how to setup a private gemserver using geminabox, but I’ve just released a docker image that does the all the job:
Continue readingThere are some situations that you found your build broken and need to know at what revision the “brokeness” was introduced.
git bisect
is a great tool for that, basically you tell git at which revision
the build was good (assuming HEAD is broken), and it does a binary search for the revision where
the bug was introduced.
With Bundler/Gemfile it’s easy to link gems directly to it’s git repository. But some times it’s not ideal. Revisions are not versions, and comparing them is tedious.
Luckly It’s easy to setup a private gem server!
Continue readingIt’s possible to use a custom class as a constraint for your routes. For example:
Continue readingHere is some simple steps to access the phone camera and image gallery. This will be a very simple app. There is only one view, it will hold 2 buttons for selecting the image (one from camera and another from the gallery) and a ImageView that will show the selected image. I’ll not talk about the layout here, what I did is ugly and looks like this:
Continue reading