Setting up Ubuntu for web development

Ubuntu is an open source Linux distribution, that comes with regular releases as well as commercial support for desktops and servers. It’s a great choice for developers just getting started on Linux and seasoned Linux…

Published

Use PowerShell to make server requests

In this post I’ll show you how to make server requests using PowerShell cmdlets. While you can use curl directly from Cmd or PowerShell in Windows 10 this article will focus on using PowerShell cmdlets…

Published

Using the New-Item command

Besides basic navigation, creating files is a fundamental operation that you probably do regularly. Save some time and learn to use New-Item in PowerShell to quickly create files and directories and speed up your workflow. In this post I’ll show you how you can use the `New-Item` cmdlet in Powershell to create files and directories. This post assumes you have some basic knowledge of working with the command line, including opening PowerShell and understanding what directory you’re in. Make sure to check out my crash…

Published

A crash course on PowerShell for Developers

While some developers might consider web development on Windows to be lacking compared to Linux and macOS, PowerShell has greatly improved the web development workflow on Windows and is not just for Admins. PowerShell gives…

Published

Create comments in an HTML file

Comments are a great way to help keep your projects organized. If you’re working on a team or looking back at an older code base you’ll be glad to have used comments to help explain…

Published

Add CSS to an HTML document

CSS code displayed in a text editor

There are a number of ways to apply CSS to an HTML document but in this post we’ll look at one of the most commonly used methods – linking. Create an HTML document First off…

Published

Get the extension of a filename using JavaScript

In the last post we had a look at some common string methods in JavaScript. In this post we’ll combine a couple of those string methods in a useful function that will return the extension…

Published

Common String Methods

Working with strings in JavaScript can be a breeze if you take advantage of the built-in string methods. Here are a few of the most commonly used string methods in JavaScript. slice() The slice() method…

Published

Array and Object Destructuring

The destructuring syntax in JavaScript was introduced in ES6 and is a powerful expression that makes working with Arrays and Objects much more manageable and provides added flexibility. You might have already been using destructuring…

Published

How to use a for loop

Loops are a very important concept in programming and the for loop is a classic. Almost all languages have an implementation of the for loop. I think they are foundational to control flow and can…

Published