Categories
Android

Use Retrofit with a self-signed or unknown SSL certificate in Android

In this post I will highlight how to use Retrofit with a self-signed or unknown SSL certificate in Android First of all, this is hell in a cell. took me 8 hours to accomplish this from the point of a working Service/API Manager that uses the Retrofit Rest Client for android.   Android is Implicitly […]

Categories
PHP PHP 5

How to ace a PHP job test in South Africa

Initial Preparation First of all do a project in PHP that utilises the database. I am talking about pure PHP and not a framework. Remember to turn make sure you set the following configuration settings. display_errors = 1; error_reporting(E_ALL); You can always view the php documentation which is always of great help.  Get ready for […]

Categories
wordpress

Debug WordPress PHP Whitescreen of Death

This article highlights what you need to do to debug a WordPress Whitescreen of Death whether in the dashboard or frontend. Go to: wp-config.php Then change: define(‘WP_DEBUG’, false); To: define(‘WP_DEBUG’, true); Source: Tutsplus Fix WordPress White Screen of Death

Categories
css HTML5

Specificity: Why my CSS is being cancelled out even though it is loaded after other CSS?

Your answer is Specificity Specificity is a mechanism within the CSS cascade that aids conflict resolution Basically it determines preference of CSS styles, over and above the cascading nature of stylesheets Order of Precedence of Specificity: Type Specificity Inline Style Highest Highest Number of #id selectors Wins Highest number of class, attribute and pseudo selectors […]

Categories
Android

Set Up Tutorial for Android Development

Download the Android SDK Add android to your path Check available android platforms android list targets Start a Project android create project –target <target_id> –name <appName> target_id – is the target available in  android list targets Build the project ant debug you may need to install apache ant Compile? adb install bin/Package_Name-debug.apk Emulate (Need a […]