Debian Backup with Tartarus

How to backup a Debian/Ubuntu server with Tartarus, and why is this usefull for us

Why do you need this, if you are like me and like to experiment a lot, you will end up breaking your server a lot of times, so this will enable you to restore your server fast and easy.

Activate maintenance mode manually in WordPress

In the previous post I wrote about how to transfer my own WordPress blog, to a static generated site using Wintersmith, but now, I need to take down the blog, so first thing, first, we need to create backup of the database and content I have uploaded on the system. So lets see how we can do it.

Migration from Wordpress to Wintersmith static site generator

Well my blog was on Wordpress, and I was happy, so why did I move away?

  • Constant maintenance, requires a lot of time, as it’s constantly being targeted by hackers
  • Slow, even with caching plugins, I didn’t want to put a really powerfull machine just to run a blog page
  • Server maintenance
  • Didn’t use all the functionality in the system, don’t really need all that functionality

So I got tired of managing all this stuff, so I decide it is time to find something that won’t waste so much of my time and let me use it when I need, and not worry about if I’m gonna get hacked, or if my server is slow.

Building lftp on Windows

One of the best FTP clients I have ever seen is lftp, and what is even best it’s open source on Linux, if you want to use it on Windows you will have to compile it with Cygwin.

Why would someone use lftp, when there are alternatives like FileZilla, and a lot of other ones. Yes FileZilla is good and it’s free, but some of the options that are available with lftp are really good and helpful. And I know of a lot of people that use lftp for server backups on Windows Server and Linux machines to do recursive backups and mirroring.

For a complete feature list you can see this page.

Some interesting information about this application can be found on this page, there are various examples of how to use it on their page.

OpenLayers draggable popups

How to implement a draggable popup in OpenLayers, to have the ability to decide which class will be draggable and which one will not be?

For a project I needed to be able to drag the OpenLayer popups, the problem was there were some implementations online, but I needed for the popup to be only draggable on the title, and for input elements not to interfere with the dragging process. Becase when I clicked on an input, textarea it suddenly stared dragging and it was a mess.

Generating filename based on the android project name and version name when running ant

How to generate a filename based on the android project name and version when running ant, we will look at how the ant scripts should look like after the modifications

If you’ve ever wanted to generate the android project filename according to some data from your android manifest, you can use the ant build scripts to add the functionality needed.