How to Use the Linux Grep Command
Have you ever thought that the search features offered by text editors are rather simple? It’s not just you. It can be quite difficult to search through files, especially if you want to search for text that matches a pattern.…
JavaScript Switch Case: A Step-By-Step Guide
The JavaScript switch case is a multiple if else statement. It takes a conditional expression just like an if statement but can have many conditions—or cases—that can match the result of the expression to run different blocks of code. Conditional…
Hired.com Review: A Job Search Marketplace for Technology Workers
To find a good job in technology, you don’t just need skills. You need to be able to market yourself to companies. You need to show that you can exercise the skills that you claim to have. Unfortunately, traditional hiring…
NumPy Array: A Guide for Beginners
A list is a type of data that contains an ordered sequence of elements. Lists are a useful data type because they allow you to store multiple related values in one variable. With a list, you could store the names…
Lambda Expressions in Java: A Guide
How to Use Lambda Expressions in Java Have you ever thought that some methods could fit on one line, if only it weren’t for the verbose Java syntax that you’ve got to use to declare a method? You’re not the…
What is a Hypervisor?
Before virtualization and hypervisors, most computers could only run one operating system at a time. This means that you would have to pick between Linux, Windows, Mac, or a server-side operating system that you wanted to run on a computer.…
Java Random Number: A Beginner’s Guide
How to Generate a Java Random Number 5. 7. 22. For us humans, it’s easy to generate a random number. All we have to do is ask ourselves for a number, and one pops into our mind. If only it…
Python Iterator: A Guide
How to Create a Python Iterator: A Guide Iterators are absolutely everywhere in Python; it’s hard to learn even the basics without hearing the word “iterator” or “iterable”. An iterator is an object that can be iterated upon. While there…
Bash if…else: A Guide for Beginners
Conditional statements are an important part of every coding language. They allow you to write code that runs only when certain conditions are met. This means that you can have a program which returns different responses depending on whether certain…
JavaScript Fetch: A Guide
Did you know that you can make web requests in vanilla JavaScript? That’s right, you don’t need to install any libraries to make a web request. That’s not all: we’re not talking about the old, complex XMLHttpRequest tool. The fetch…
Java Bubble Sort: A Guide
How to Write a Java Bubble Sort When programmers talk about bubble sorts, they are not talking about the water bubbles that you’ve probably blown at some point in your life. They are talking about a sorting algorithm that is…
Java Boolean: A Beginner’s Guide
How to Use Booleans in Java True or false. We’re not talking about a question on a standardized test. True and false are the values that can be stored inside the Boolean data type. In programming, Booleans are used to…
What Is a Server?
The word server gets thrown around in many different contexts when it comes to computers. Servers are used in gaming to connect players with each other on multiplayer matches; servers are used by businesses to process their emails. There's a…
Bash Functions: A Guide
How to Write a Bash Function A function is a block of code that performs a particular task. Once you have defined a function in a program, it can be reused as many times as you want. Functions are useful…
Java Variables: A Guide for Beginners
How to Use Java Variables What is a variable, you ask? It's an essential concept of programming, and without it developing applications would be significantly more difficult. A variable is a way to label values that you’re using in your…
How to Use Java Classes and Objects
What do we mean when we talk about a class in Java? It’s certainly not a class like you’d have in school, with students and teachers. A class is a blueprint for an object in your code. Java is an…
Java Array: A Guide for Beginners
What if there was a way that you could declare one variable that stores multiple values? There is? That's great. In Java, there's a concept called an array that allows you to do exactly this. You can store multiple values…
if…else Java: A Beginner’s Guide
When you think about it, there’s a lot of “ifs” in our lives. If the grocery store is open, we can go in and buy groceries; otherwise, we cannot. If it’s 12 noon, then it is time to take a…
JavaScript Class: A Guide
JavaScript is based on prototypes. Every time you declare an object, a prototype property is created which extends the properties and methods associated with that object. Over the last few years, many JavaScript developers have sought ways to incorporate object-oriented…
Java String: A Guide for Beginners
When you think of string, you may see a cat playing around with a ball of yarn. It’s true that a ball or yarn is string, but when programmers use the word string they mean something different. In programming, a…
What Is XML?
PDF. JSON. DOC. Those are three of the many different ways in which data is stored on computers. Another one that you might have seen is XML. If you look around your computer, you’ve probably got a few XML files…
JavaScript Array: A Guide for Beginners
Let’s create ourselves a list of fruits. We’ll call our list “fruit”, and add the following values: Banana, melon, grapes. Oh, how I love fruit! While this may sound like a tutorial on shopping lists, we’ve actually just created ourselves…
Bash while Loop: A Beginner’s Guide
While loops. While loops. While loops. I could have written a bash program to write those sentences instead of writing while loops three times over myself. Loops are a foundational component of most programming languages. They allow you to automate…
What are Primary Keys and Foreign Keys?
When you’re storing data in a database, you need to have some way to identify each record that you are storing. Otherwise, it would be impossible to retrieve exactly the right record if it shared the same values as other…
ArrayList Java: A Beginner’s Guide
Are you tired of having to declare the size of an array before you can use it? You’re not the only one, as it’s not always convenient to have to define how many values an array should store before you…
Classes and Objects in Python for Beginners
Today we’re going to be talking about classes. No, we don’t mean school classes. In programming, classes have their own definition. A class is a blueprint created by a coder for an object. It defines the data that can be…
How to Use JavaScript’s getElementById Getter
So, you want to select an element on a web page in JavaScript? That's the specialty of the getElementById method, the so-called king of the element getters in JavaScript. getElementById allows you to select an element based on its ID.…
Python Uppercase: A Step-By-Step Guide
The Python upper() method converts all lowercase letters in a string to uppercase and returns the modified string. The Python isupper() returns true if all of the characters in a string are uppercase, and false if they aren't. Both are…
Python Startswith and Endswith: Step-By-Step Guide
The Python startswith() function checks if a string starts with a specified substring. Python endswith() checks if a string ends with a substring. Both functions return True or False. Often when you’re working with strings while programming, you may want…
How to Convert String to Int C++
In C++ the stoi() function is used to convert data from a string type to an integer type, or int. If using C++03 or earlier, the stringstream class is used to convert string to int. In C++, data types are…