Vim Hugo helper

on March 25, 2016. in Programming, Development. A 2 minute read.

I think I just wrote my first Vim plugin. OK, it’s more a bunch of Vim functions slapped together than an actual plugin, but gotta start somewhere, right?

Continue reading Vim Hugo helper...

Find duplicate lines from a CSV

on March 21, 2016. in Development. A 1 minute read.

Finding duplicate lines from a CSV file is something I have to do from time to time, yet not on a regular enough basis to remember it all. Plus, I’m trying to blog more often.

Continue reading Find duplicate lines from a CSV...

Tags for PHP in Vim

on March 09, 2016. in Software, Programming, Development. A 2 minute read.

One thing I was missing for a long time in Vim is to be able to “jump to definition” in an easy and painless way.

Continue reading Tags for PHP in Vim...

pugdebug 1.0.0.

on July 01, 2015. in Programming, Software, Development. A 2 minute read.

After 3 months since announcing that I’m working on pugdebug, and some 5 months since I actually started working on it, it is finally time to let version 1.0.0 out in the wild.

Continue reading pugdebug 1.0.0....

Introducing pugdebug

on April 01, 2015. in Software, Programming, Development. A 2 minute read.

In my spare time in the past few months I was working on a tool that would help
me in my every day job as a PHP programmer. As you may, or may not, know, I’m
using vim as my editor/almost IDE, but one thing that is missing from it is the
ability to debug PHP files remotely. Yes, there are a bunch of plugins out
there that add debugging to vim, but none of them felt usable for me.

Continue reading Introducing pugdebug...

Vimprovements

on March 26, 2015. in Blablabla, Software, Development. A 3 minute read.

One part where I always felt (and still feel) that I could improve on my Vim usage, is when moving around. I don’t use the mouse, I don’t use the arrow keys, but for a while now I felt that spamming hjkl to get from one place to another is not really efficient. To be honest, it is kind of easy to just press down jjjjjjj … to move down lines. Went a bit too far? Just kk back. But there has to be a better way.

Continue reading Vimprovements...

Install PyQt5 in Python 3 virtual environment

on February 04, 2015. in Software, Development, Programming. A 2 minute read.

It’s been a while since I last made something with PyQt, so I decided to check out what’s it like nowadays. I’m curious to see what’s new in Qt5 and how does it differ from Qt4. Qt5 also can run under python 3 so I figured to give it a try.

Trying to automate things on my server, I ended up needing read-only for one group of my bitbucket repos and read-write access to another group.

Mocking hard dependencies with Mockery

on December 23, 2014. in Development, Programming. A 2 minute read.

One problem with unit testing legacy applications is that the code has new statements all over the place, instantiating new objects in a way that doesn’t really makes it easier to test the code.

This is the last post about the Thinkpad and Fedora. At least for a while. Promise.