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

Memory issue with mysqld.exe in MySQL 5.6

If you have installed WAMP server or MySQL 5.6, you might have ended with memory issue with mysqld.exe process consuming huge RAM memory of around 400MB!

The problem can be solved by following the simple procedure below:

  1. Stop MySQL service if it is running.
  2. Open the file  my.ini which is found in “C:\wamp\bin\mysql\mysql5.6.xx\” folder. [The actual path may vary depending upon the installation directory.]
  3. Add the following line: table_definition_cache = 400
  4. Save the file and start the MySQL.

NB: This also applies when you have installed MySQL 5.6 or other release alone.

Now open Task Manager and look at mysqld.exe process. It will be around 100MB or less.

Share

Tips and Tricks Section of the Site…

From time to time, I come across small tips and tricks that are useful but really do not warrant a full blog post. Thus the birth of the tips and tricks section of this site. Hoe you all find it useful over time. Stand by for the first tip!

Share