Posted on: in Linux, Ubuntu, Web development

When working with a git repository you need to know which branch you are committing to. To do that you type git status and check for the info. Sometimes you just need to know the branch in order not to make mistakes when merging. It is super useful to have branch name as part of the command prompt.

Posted on: in Web development

A few years ago, generating PDF files via web server side scripts was a real nightmare. Although several libraries were available for the task, most of them were very difficult to use. Times have changed, and now days easiest approach is to convert HTML to PDF.

Posted on: in Web development, WordPress

WordPress has a nasty habit of storing absolute URLs in the database. That means that all internal paths, including images and other resources are stored in the database containing the base URL of your blog alongside the URI of the resource. It is not possible to change WordPress URL quickly. Or at least I thought so.

Posted on: in Linux, Ubuntu, Web development, WordPress

For years, Net Beans has been my IDE of choice. Although some may argue that it is not the best IDE for web development, I would say that it is the best balanced one.

These are the main reasons that should be taken into account when deciding if NetBeans will be your IDE of choice.

Posted on: in Linux, Ubuntu, Web development

In August 2014 Google announced that their search engine will value HTTPS as a ranking signal. This is quite a good news for end-users meaning that they will get more secure sites in top search results. However, it’s not a very good news for owners of small or unprofitable websites, since they would have to acquire signed certificate to get their website a ranking boost.

Posted on: in Linux, Ubuntu, Web development

Unix shell is one of the most powerful tools ever created, but sometimes it can be quite dull. Adding it a bit more spice could make your day brighter and your thoughts clearer.

This can be done by setting the LS_COLORS environment variable. Best way to do it is in $HOME/.bashrc file. If done like this, color settings will be loaded each time you start your terminal.

Posted on: in Linux, Web development

There is a quick and convenient way to convert PDF to one or more images. Command line tool ImageMagick does that (and a lot more). You can convert an entire PDF document to a single image, or, if you like, there is an option to output pages as a series of enumerated image files.

Posted on: in Web development, WordPress

There could be multiple reasons for disabling updates of plugin or a theme. For example, in time constraint, you have reached for desperate measures and edited the source of a third party plugin or theme. Now, that is the practice that is bad on so many levels, but sometimes you just have to deliver in time, no matter what.

Posted on: in Web development, WordPress

When building a WordPress website, everybody has a set of plugins they are using almost every time. This is my list.

Posted on: in Web development

In my profession it is important to always sharpen your skills. Although I’ve been working with relational databases for more then 10 years now, I decided to take another online course at Stanford University: Introduction to Databases.