Windows : Fixing PHP cURL extension not working when enabled

The other day I wanted to install a WordPress plugin on a website hosted on my Windows local development machine, but the plugin complained that it needs the cURL extension enabled on the php.ini configuration file. This seemed like an easy problem to solve, but after modifying the php.ini file, I was still getting the "curl not found" error. This article will show two different ways to make the cURL extension work on the Windows system.

WordPress : How to make sticky custom post types

Since WordPress 2.7, we can use sticky posts which keep posts at the top when going through the loop of posts. Even though the sticky posts were added way back in 2008, this feature still only works with built-in posts. With custom post types, it is currently not yet available. In this article, we will learn what sticky posts are, why they weren't added yet for custom post types, and how to make them stick anyway.

Remix IDE : Fixing failed deployed contract that uses value

Recently, I started to explore Solidity and was using Remix IDE to learn more about smart contract development. I made a very basic contract and wanted to deploy it with having ether from a testing account, but after setting the value of 1 ether and clicking on the Deploy button, the deployed transaction failed giving me the "VM error: revert" error.

How to install WordPress, PHP, Apache & MySQL on Windows:

When developing for WordPress locally on Windows, we need to have Apache, PHP and MySQL installed. There are web development environments available such as EasyPHP or WampServer, but I always prefer to install them manually. The experience you gain from it becomes useful when you encounter a problem with either PHP, Apache, or MySQL database as you will have a better idea where to look for the issues.

Fixing "Error Connecting to Substrate" message in Substrate Front End Template:

I was exploring the Substrate Blockchain the other day and was going through "Create Your First Substrate Chain" tutorial. I was building the Substrate node template on a Linux VPS and after successfully running the node and starting the Substrate Front End Template, the front-end was not accessible when trying to connect to it from my browser remotely as I was getting the "Error Connecting to Substrate [object Event]" error message.

Rust : Solving `()` doesn't implement `std::fmt::Display` error in Closure

Recently, I have started to learn Rust programming language and while making a simple example that uses a closure, I came across a compile error that was not very informative. It was telling me that `()` doesn't implement `std::fmt::Display`. This post will show the code causing the error, what the error means, and the solution to the error.