Jacob Stopak is a software developer and creator of InitialCommit.io - a site dedicated to teaching people how popular programs are coded. Its main project helps people learn Git at the code level.
Automating AWS EC2 Management with Java
One of the most popular services available on Amazon Web Services is EC2, which stands for Elastic Compute Cloud. EC2 makes it easy for developers and users to create and manage cloud-hosted virtual machines, also known as EC2 instances. EC2 provides a web interface which makes it easy to spin...
AWS S3 with Java - Uploading Files, Creating and Deleting S3 Buckets
In this article, we'll be using the Java AWS SDK and API to create an S3 bucket, upload files to it, and finally - delete it. One of the most popular services available on Amazon Web Services is the Simple Storage Service (S3). S3 makes it easy for developers and...
Using SCP to Copy and Securely Transfer Files and Folders
SCP stands for Secure Copy Protocol. It is a tool that can be used to transfer files from a local host to a remote host, from a remote host to a local host, or between two remote hosts. In this article, we'll examine how to use SCP to copy between...
Writing to a File with Python's print() Function
Python's print() function is typically used to display text either in the command-line or in the interactive interpreter, depending on how the Python program is executed. However, we can change its behavior to write text to a file instead of to the console. In this article, we'll examine the many...
Python List Sorting with sorted() and sort()
In this article, we'll examine multiple ways to sort lists in Python. Python ships with two built-in methods for sorting lists and other iterable objects. The method chosen for a particular use-case often depends on whether we want to sort a list in-place or return a new version of the...
Python: Print without Newline
In this article, we'll examine how to print a string without a newline character using Python. In Python, the built-in print function is used to print content to the standard output, which is usually the console. By default, the print function adds a newline character at the end of the...
The Python Assert Statement
In this article, we'll examine how to use the assert statement in Python. In Python, the assert statement is used to validate whether or not a condition is true, using the syntax: assert <condition> If the condition evaluates to True, the program continues executing as if nothing out...
The Python String strip() Function
In this article, we'll examine how to strip characters from both ends of a string in Python. The built-in String type is an essential Python structure, and comes with a built-in set of methods to simplify working with text data. There are many situations in which a programmer may want...
The Python zip() Function
In this article, we'll examine how to use the built-in Python zip() function. The zip() function is a Python built-in function that allows us to combine corresponding elements from multiple sequences into a single list of tuples. The sequences are the arguments accepted by the zip() function. Any number of...