docker-compose.yml For WordPress And MySQL

To set up WordPress and MySQL in no time and without installing them, here is a useful docker-compose.yml file. If you’re new to WordPress development, you’d probably installed XAMPP and MySQL on your Windows machine. You may not want to

Rust Core Data Types To Get Familiar With

Rust has two types of core data types – scalar and compound. Scalar types are single-value types, while compound types are multi-value types. Integer Data Types An integer data type is one of Rust’s core data types that represents a

Custom Data Types With Struct, Trait, And Enum In Rust

We can create custom data types in Rust using struct, trait, and enum. A struct is a composite data type that groups variables in a memory block. These variables are then accessible via the struct’s instance – also referred to

Enum Variants And Match Expressions In Rust

There are a few ways to define an enum variant and, as a result, to use it when creating match expressions. We can define a variant in three ways –  one-word, Tuple-like, or Struct-like. Match One-Word Enum Variants Let’s say

Should You Use string or String in C#?

If you’re new to C#, you’ll notice there are sort of 2 types of strings – string and String. The first type is spelled out in lowercase letters; while the second is a proper noun. Built-in Reference String Type C#

Rust And Ubuntu 18.04 Docker Image

This post shows how to build a Ubuntu 18.04 Docker image with installed Rust. We can use the image to build Rust applications, but the codes are in the host Windows system. When we compile the codes, we need to

Install Julia And Run Source Code Files In Windows

This post is about how to install Julia and run source code files in Windows. Once we install it, we need to configure it a bit to make the Julia executable file available in command-line windows. Download And Install Julia

How To Modify Struct Instance In A Function in Rust

This post shows how to modify a struct instance in a function. It uses the mutable shared borrowing to pass a mutable reference as an argument to a function. Struct And Instance Consider the following Person struct. It has two

Install And Use Julia Plugin for IntelliJ IDEA

Julia has a plugin for IntelliJ IDEA that we can install and use instead of Atom with Juno. The plugin may not be full-featured but good enough for as a starter IDE. Requirements We used the following items for this

Find Interquartile Range In Julia

This post shows how to find the Interquartile Range (IQR) in Julia. We will use custom codes and move them into a function for reusability. Interquartile Range With Custom Codes Before moving on, please install Julia plugin for IntelliJ IDEA. Using