Archive | Solved RSS feed for this section

Folders Sync

26 May

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

Install RPM with dependencies via CLI in openSUSE

15 Apr

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.

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

13 Apr

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

Simple Donation WP Plugin for Iveri Lite Payment System

12 Apr

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

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

18 Feb

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

TextCrawler–best thing since sliced bread–if you are looking for text

4 Feb

textcrawlerHow to search many text files for specific string or phrase

Have you ever tried to look through a 1000+ file pre-packaged Content Management System for the name of a function you need to modify or css class in a div that needs to be edited? This may not be a problem affecting many people or developers who deal with text files but for those who have ever been in the above situation, well, you know it can take a while before you find the file in question. Especially for developers like me who like to keep it simple and use a simple text editor like Notepad++ and not an IDE.

Well, TextCrawler is your answer! This is a small application that will rampage through text files of any extension and search for your specified string. Hec, it will even do you one better, should you need to replace the search string with another string. This small application has worked magic for me from time to time, so I just thought I might share it with ya’ll who read this blog.

You can download it here

http://www.digitalvolcano.co.uk/download/TextCrawler_Setup.exe

or here

http://download.cnet.com/TextCrawler/3000-2352_4-10805637.html?part=dl-&subj=dl&tag=button (although I do not recommend the cNet version as it may come with other useless software like toolbars and what not)

It is a pretty simple application to get around so I will not include step by step details here but should you need help in that, simply ask below in the comments.

Download Koowa Plugin for Joomla

1 Feb

Web

Is it just me or do new frameworks for development have weird names. Could someone please advise me on where the name Nooku came from as the name of a PHP Framework? And its codename Koowa as well?

Anyhow, my little research has led me to the conclusion that Koowa or Nooku is an MVC PHP Framework, like many others, which can be used to build nice web applications…yada yada yada…you can read more about this on http://www.nooku.org/.

Now, should you ever install a Joomla extension that required Koowa…you will be hard pressed to find a download of the plugin. From what I gather, most installers pull it from somewhere (hopefully its source servers) using cURL or simply include it within the extension. But just in case for some reason you need to install Koowa as a plugin, feel free to use the link below to download an installable Joomla plugin for Koowa.

Download plg_koowa.zip

I created the installer from a plugin the required it and downloaded it for its own use. I have tested and ensured that it works even for other plugins that my depend on it. Please be careful though, not to break your Joomla site as there are reports of Koowa doing so.

Should any queries arise…ya’ll know what to do!