Categories
GIDApp Malaysia News

2020 Malaysia 4D Special Draw Schedule

Recently, during his Budget 2020 speech, Finance Minister Lim Guan Eng said Number Forecast Operators (NFOs) special draws will be reduced to eight times a year.

Here are the list of 8 dates for all the Tuesday 4D Special Draws in Malaysia in 2020.

Categories
GIDBlog Learning Journal

Certbot and Cloudflare DNS Plugin

I learnt today that I can run Certbot to create and renew Let’s Encrypt SSL/TLS for domains/web sites not hosted on the same machine – a fact I didn’t know before today.

Also, because Certbot can be used to manage Let’s Encrypt certificates for domain names hosted elsewhere, there is no requirement for the system running Certbot to have a web server like Apache/httpd running (for domain verification purposes).

Categories
GIDBlog Learning Journal

Compress your PHP-FPM pages

Since the recent upgrade to gidblog.com, this web site is currently being hosted by various Docker containers. One of the Docker containers used is, of course, one derived from a Docker image like php:7-fpm-alpine.

I must confess that this is my first endeavour using PHP-FPM with Apache. All these years I have only been using the Apache module: mod_php to handle all my PHP web pages.

Categories
GIDBlog Learning Journal Money

WordPress Plugin for Google AdSense Auto Ads

I will show you how I inserted Google AdSense Auto Ads JavaScript ad code to this web site today.

The Google AdSense Auto Ads ad code is only a single line long, so it was unnecessary to get overly complicated with the plugin or PHP code.

Categories
GIDBlog Learning Journal

WordPress Plugin for Google Analytics

I will show you how I inserted Google Analytics tracking code to this web site today.

I chose to write a WordPress plugin to accomplish this task but since I only manage 2 WordPress sites, I didn’t develop it with a lot of bells and whistles.

Categories
GIDApp News

Track Your Favourite 4D Number on GIDApp

Starting today, you can save your favourite 4D number on every device you use when you visit www.gidapp.com to check the latest 4D results on the site. There is no requirement for you to register or login even! It is all very simple.

Categories
GIDBlog News

Popular Sharing Buttons for GIDBlog.com

After such a long delay, I finally implemented share buttons from the 3 most popular social networking sites here today. The 3 most popular social networking sites are — at least according to me — Facebook, Google+ and Twitter.

If you scroll down to the bottom of the page, you will find a little bar where you can find the various buttons to Like, +1 or Tweet the story to your family, friends and associates.

A screenshot of gidblog.com site social network buttons.
Partial screenshot of gidblog.com site social network buttons.
Categories
GIDApp News

GIDApp Homepage Redesign

Over the past few days, I have been redesigning the homepage of GIDApp.com. Instead of creating a separate design for mobile devices and then another for regular desktop PCs, this time I decided to simply develop one layout for the web site (a responsive design with CSS) that will work with any device, at any screen size. Well, at least that is the plan…

Categories
Learning Journal

Yii Exception: Alias “user.UserModule” is invalid

I was attempting to get the Yii Framework yii-user extension working for a test web site earlier today when I got this fatal error / exception message:

Categories
Learning Journal

Redirect all subdomains to www

If you ever need to redirect all your subdomains to a main subdomain like www, here is a method for you to easily accomplish that. I kept these notes from when I wanted to implement it for my own site: www.gidforums.com.