Emacs + Snippets
Posted by Gabriel Falcão - 16/08/09 at 11:08:16 pmPeople use to joke on me about the fact that I use EMACS, some say that I even need to use my toes to acomplish EMACS commands, and so on…
But I keep being even more productive, and every day I figure out new ways to improve it.
I really use EMACS the whole day, I keep editing anything with this awesome editor.
This weekend I was starting a new project, and as I use to, I was needing to repeat the same GPL headers at every file.
So I found myself questioning if it could be more productive than inserting rough templates on my files.
Then I found out this yasnippet, which is totally awesome, and made me be even more productive.
For those who also like emacs, I share my emacs configuration on github.
There is a screencast that I made. Is a EMACS snippet demo.
Bolacha, httplib2 wrapper with cookie handling and file upload.
Posted by Gabriel Falcão - 09/08/09 at 01:08:08 amI really like httplib2, but unfortunately it does not oficially support sending multipart/form-data.
So last Monday I was at work, and realized that I was needing exactly to make a http upload from within a python program, and also needed to make a session login right before.
I remember that I needed that before, but I could not find something simple and concise, yet pythonic and well tested.
So I decided to work on a proof of concept, 2 days after that, at last wednesday, I got really sick. I thought was just a simple flu, but I got even worst. Going to hospital, doctors found out I have sinusitis.
So since wednesday I am at home, having lots of damn medicines.
But the good thing is that I got time enough to hack
So I would like to introduce you Bolacha.
You can see de docs here
There is a debian package available here
The code is available at my github page: http://github.com/gabrielfalcao/bolacha/tree/master
Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds.
Valid XHTML and CSS.