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

Pesapal Donations Extension for Joomla 2.5.x and 3.x.x–Rough Draft

It has been a while since I worked on payment plugins but it seems like I am giving into the pressure. Find herein some code of some extensions that I have had for a while but for some reason I have not published.

These are rough working drafts of a donation extension for the Pesapal payment gateway. They do need some work but technically, they work. So for anybody who needs simple extension that will accept Pesapal payments – and even handle their IPN notices (yes – the extension will provide you with the URL for the IPN setting in Pesapal)

Find below the download links to the extensions

Pesapal Donate for Joomla 2.5.x (alternate download link)

Pesapal Donate for Joomla 3.x.x (alternate download link)

For some basic details into what the extensions do / how they work…read on

Continue reading

Share

Simple Donation WP Plugin for Iveri Lite Payment System

iVeri is a company that  creates technology for financial institutions and businesses to facilitate multiple-channel transaction acceptance. Their goal is to help their customers (banks and such like financial institutions) create a profitable and sustainable business by enabling them to implement the correct transactional channels for their market environment.

In short, iVeri are a payment gateway that enable banks to accommodate online merchants and in turn, allow the merchants accept electronic methods of payment – like credit card and the like. In Kenya, I&M bank use iVeri to allow their customers accept credit card payments via Visa and Mastercard from their websites.

I was recently tasked to integrate this payment gateway as a way for a Non-Governmental Organization to accept donations via credit card and below is the first raw version of the plugin that I was able to get to work – with the help of the e-commerce department at I&M Bank, Kenya. Click the link below to download the plugin.

Download iVeri Lite Donate Plugin v1.0.0 (alternate download link)

NB: Please note that this is a very basic plugin that only accepts donations. Should you want more features added to it, please do not hesitate to ask in the comments section below. For more detailed description, installation requirements & instructions and screenshots, read on.

Continue reading

Share

Atomic Operations in MySQL–How to wrap Inserts or Updates into a Transaction

innodb-vs-myisam-300x225As a developer, it is normally quite un-nerving to get a call from the people using your beautifully designed software with the message – things have gone wrong and your code or system has gone fritzzz… I normally just blame the operators cum users of the system for either not using the system right or for putting in wrong inputs. I know – as developers, we are supposed to code as if the users are total and absolute idiots but from time to time, the crazy things that users put as inputs on systems just catches us off guard as anybody in their right mind would never have put ‘that’ as an input.

You would be surprised how many times people call, and when the customer care clerk asks the user for their usernames so that their account can be located and looked into – the person needing help on the other side of the line says “Let me text you my username”. The reason as to why some one would use the term bi*** as their username on a public site is beyond me. I digress, back to the topic.

Continue reading

Share