There are 12 articles tagged as "python"

Force Python version in Vim

on January 12, 2017. in Development, Software. A 2 minute read.

Vim can be compiled with Python support. Vim can be compiled with both Python 2 and Python 3 support.

Continue reading Force Python version in Vim...

Installing Python2 with Ansible

on June 29, 2016. in Development, Software. A 1 minute read.

Ansible uses Python2 to run the provisioning commands on the host machines. At this time it does not support Python3, which is the default python version in Fedora releases for quite some time now.

Continue reading Installing Python2 with Ansible...

Import custom Python modules in Vim plugins

on June 16, 2016. in Programming, Development. A 2 minute read.

This took me a while to figure out so I’m writing it down for future self and anyone else who needs it.

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...

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.

Saturday night hack - coords

on March 24, 2013. in Development, Programming, Software. A 4 minute read.

When I was just starting out learning programming, everything was so simple. I did not care about design patterns and best practices and unit tests and how will users use that piece of code. Hell, I did not even know those things exist. I was having fun, I was learning, I was free to do whatever I wanted to do, I was playing, I was like a child. Not that there is something wrong caring about those things now, but then I was able to put out a piece of code that was fixing a core of one problem I had and that was it. Once I was done with that, I would move on to the next problem. For a long time now I was missing that feeling of not caring, just fix the damn problem and move on. Just to slap together some crappy piece of code, use it once or twice and then forget about it.

Continue reading Saturday night hack - coords...

Passing arguments to custom slots in PyQt

on November 30, 2010. in Programming. A 1 minute read.

While hacking on ape, I came to a situation where I need to pass some arguments to a custom defined slot. The slot is being called from different signals, one where the argument is passed by PyQt itself and a second one where I need to programmatically pass the argument to the slot.

While working on ape I had a problem with figuring out how to properly connect a signal to a slot, where the signal is emitted by a QTreeView widget. As this is not my first app with python and pyqt, I was doing something like (this is, btw, the “old style”):

ape is a PHP editor

on November 06, 2010. in Development, Programming. A 2 minute read.

A week ago I started working on a simple editor/IDE for PHP called ape. That’s my weak try on creating a reverse acronym as ape stands for - ape is a PHP editor. This is kind of an introductory post into the whole developing process of it, as my intention is to blog about it a bit more :)

Continue reading ape is a PHP editor...