I decided to move this little blog of mine to GitHub Pages. Using git to manage blog posts it is a lot more appealing to me than copy-pasting stuff to Tumblr.
I decided to move this little blog of mine to GitHub Pages. Using git to manage blog posts it is a lot more appealing to me than copy-pasting stuff to Tumblr.
I’ve been working with Ansible for several weeks now. It’s a very powerful tool for automating server deployment (like Chef or Puppet). It’s very easy to use, the only thing that it expects from the server is a working SSH access. Also it has a pretty good documentation.
I’m often using Setuptools to package
and distribute Python modules. Recently I needeed to add a custom command
to setup.py
so I can run it like this:
$ python setup.py mycommand --option --another-option value
The official documentation of Setuptools isn’t very specific on how to do it so here is what I came up with after a little research.
This is a very simple yet effective way to get rid of advertisements
in Android apps – without rooting the device. In principle it is the
same method that the Android AdBlock app uses: resolve all DNS queries for
various ad servers to 127.0.0.1
. But AdBlock app requires a rooted device, which
not everyone is able or wants to do.