Javascript Adding and Removing Elements From An Array
In this code snippet, we’ll find out how to add/remove elements to/from an array in Javascript. At some point you will probably have the need to add or remove some item from an array.
In this code snippet, we’ll find out how to add/remove elements to/from an array in Javascript. At some point you will probably have the need to add or remove some item from an array.
In this code snippet, we’ll check out the for of loop in Javascript. You probably already know about the for and while loops. But there is another very useful type of loop present in Javascript called the “for of” loop. It can be used to iterate throught iterable object. I would say it’s the quivalent of the foreach loop in C#.
In this code snippet, we’ll learn how to send emails with PHPMailer in PHP. First, we’ll need to install the PHPMailer package. We’ll do that using a dependency manager for PHP called Composer. (See this tutorial if you want to know how to install Composer in the first place.)
In this tutorial, we’ll learn how to install and use Composer. Composer is a PHP dependency manager that simplifies adding and managing libraries in your PHP projects.
This post contains a list PHP code snippets. In the code snippets, you can find PHP related topics with a quick explanation and a code example. I made this collection of code snippets so that if I ever forget something I can just come here to refresh my memory. Hopefully, you’ll find it useful too.
In this post, I will share/document the things I have learned and show you how to make a basic extension yourself.
Some time ago I had to make a WordPress plugin as part of my job. Here I will document what I have learned in the process. Hopefully, this can also be useful to anyone who wants to make their own plugin or do any other WordPress development. In this post, we will make a plugin while at the same time learning how to use some of the WordPress APIs.
In this post, we’ll take a look at the inputs and outputs of my 8-bit computer.
In this post, I will talk about the ALU and the flags register of my 8-bit computer. The arithmetical logical unit(ALU) is where all the computation happens in a computer. The ALU of this computer is very simple and only has the option to add or subtract numbers. So something like multiplication would have to be implemented in software. The flags register stores the Carry(a carry occurs) and Is Zero(the result is a zero) flags that it receieves from the ALU.