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.
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.
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.
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.
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.
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.
Last week my country has been hit by the worst floods in it’s history. Tens of thousands of people have lost their homes, and some of them also lost their lives. Similar happened in Bosnia, and some parts of Croatia. Flood is subsiding now, but we need any help we can get. If you don’t live […]