Folders Sync

0325-sync-folder-thumb-100029454-large This may not be a problem for many people but folder syncing can be an issue, especially if you are like me, who has work spread out over at least three computers; one at home, one at the office, and a mobile computer (laptop/tablet/phablet). This is not to mention the syncing of work to online resources like Dropbox, Google Drive and Microsoft’s OneDrive (formerly known as SkyDrive before an injuction by Sky Media in the UK put an end to that – Microsoft should fire the guy who came up with that name as clearly they have no research capabilities) – so that should one by any chance not be at one of their computers but has access to an online machine, they can still get access to their work.

I scoured the web searching for useful solutions to this conundrum and here are the applications I have ended up installing on my computers – in a bid to keep my folders up to date most of the time.

Continue reading

Share

Install RPM with dependencies via CLI in openSUSE

So…this is most likely something trivial to many people, but I found myself googling this the last time I tried to install Skype on my office PC. So, should you not know or have forgotten how to install and RPM with dependencies in openSUSE, here are two ways that work like magic

Method 1 – Yast

The command to run is simple – and this works with the assumption that you have yast-ncurses installed to make yast work well in the command like interface

yast –i /path/to/your-package.rpm

This will refresh your configured repositories, resolve dependencies (if possible), confirm to you what is about to be installed, and then install them with a nice cli interface so to speak.

NB: With Yast, you can choose to browse the repositories for other things to install or update.

Method 2 – Zypper

The command to run is as follows

zypper in /path/to/your-package.rpm

This will refresh your repositories, resolve your dependencies (if possible), confirm to you what is to be installed, and then install them via a simple cli interface – not as complex as yast.

Share

Crontab Log – How to log the Output of a Cron Script (and email it as well)

cron-logo-680x225 As mentioned earlier, in my world of development, I keep landing myself into sticky situations and what makes me keep my job or clients happy is that I get myself out of such sticky situations quick quickly. Now, the situation I encountered recently involved crons

I have a php script whose function is to check a certain database for messages to be sent. The script should then collect required messages and pass them on the the Goip SMS gateway. Now, how do I save the output of the sending to the gateway so that I can know which ones failed – if any – without having to add the logging function into the sending script and without having to look through cron’s own logs? Answer – simply tweak the cron command slightly to achieve logging.

Continue reading

Share

CLI Certificate Tools for Zimbra Server How To

Zimbra_Logo

For the few of you who actually run your own organizational mail servers and the even fewer of those who run Zimbra, here is what you do when you encounter the following error while trying to start zimbra

Host mail.domain.tld
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn’t exist.

This is normally caused by the expiry of the certificate that Zimbra uses for ldap. All you have to do to fix the situation is generate a new valid certificate, using Zimbra’s CLI (command line interface) certificate tools.

Continue reading

Share

How to Create a bootable USB key from an image file

USB-iconOf late, for one reason or another, my burner is not writing discs properly. Now, while I chill to take the machine in because that is definitely a warranty issue, I needed to urgently fix my older laptop which I knew had hard disc issues and required to be ‘Spinrited’ – if you don’t mind the invention of the word. Anyhow, long and short of it is that if I required the services of DynaStat Data Recovery and I could not burn discs, then my flash drive would have to do. Not suprisingly, it is not the simplest thing to do, getting a flash disc to boot so here goes some tips on how to do so in Linux and Windows Continue reading

Share