Debian daily backup domains with tartarus.

In a previous article we saw how to set up a backup process for tartarus, in this article we will see how we can generate backups of the data in each vhost with tartarus, the reason I do this is so we can set up a daily incremental backup of the files for each domain.

Touchpad not working on Debian after suspend/hibernate

Touchpad doesn’t work after suspend/hibernate on Debian, I ran into this issue a while ago when I installed Debian on my MSI GT70 DRAGON EDITION laptop, this probably will apply for other laptops too.

Turns out the solution is simple, you just need to reinitialize the touchpad, can be done by simple commands.

Coding Problem - Prime Path

Coding Problem - Phone List

Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalogue listed these numbers:

Emergency 911
Alice 97 625 999
Bob 91 12 54 26

In this case, it’s not possible to call Bob, because the central would direct your call to the emergency line as soon as you had dialled the first three digits of Bob’s phone number. So this list would not be consistent.

Amazon Glacier Interface

Amazon Glacier is an archive/backup service with very low storage price. However with some caveats in usage and archive retrieval prices. Read more about Amazon Glacier

I used a couple of utilities on linux and windows in the past for uploading data to Amazon Glacier servers, though I haven’t tested this on Windows, I don’t see any reason for this not to work on Windows.

I needed a tool that will make this easier to do so from the command line, that should work on Linux/Windows, and support some of the metadata from other tools. Also the tools I was using were good but none of them meet all my needs so I decided to write my own.

So I want to introduce a glacier interface for Linux a command line tool to interface with glacier.

It’s a multithreaded application, that supports multipart uploads to Amazon Glacier servers, you can specify concurrency, to speed up the upload.

Git delete a remote/local branch or tag

A lot of people keep asking me on Skype or chat how to delete a remote branch/tag in git, so I decided to put it in a nice little article, so I can refer it to them. If you want to delete a local tag then you would do git tag -d <tag name> But if you want to delete remote tag, then the syntax is a little different