In this article, we are going to create a simple prompt app as an interactive shell. The application will continue to ask for input until it receives an exit command. We will use the standard Rust library std::io::stdin() for input. We will also list some of the prompt-related crates that support more complex input functionality.
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.
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.
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.
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.
The Substrate is an open-source blockchain framework. This article will list all the command line arguments available for the Substrate version 3.0 as they are displayed when running
substrate --help command. Additional information has been added for some of the options and flags.
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.