Altering the button appearance in ECS100 library

Modifying the UI Button with an Icon In the ECS100 library, there is not too much you can do to change the appearance of things but they’ve kindly allowed you to alter the button appearance as UI.

My favourite and most used terminal commands

If you’re a developer, or like messing with your computer, there’s no way to avoid the terminal.

Lightning Fast Code Search

If you’re like me, you can never remember how to use grep properly to search for text inside files.

Parsing a text file delimited with dashes

Let’s say you want to parse a text document with variable numbers of lines in each section and which is delimited with dashes:

Sliding Window Problems

Understanding Sliding Window Problems Introduction Sliding window problems are a common type of algorithmic challenge that involve iterating over a data structure, typically an array or a list, using a “window” of fixed size.

Creating new aliases from the terminal

If you are in the terminal enough, creating aliases from the command line is a great way to save time and be more productive.

Make an alias to create and change into a new folder on the command line

Sick of typing $ cd someFolder and $ mkdir someFolder? If you live in the terminal enough, it gets annoying.

Introduction to Recursion

Recursion is a mind-bending topic. Once you make a few methods, you may start to wonder, ‘can I call this method from inside the method, Inception-style?

Comparing Objects in Java

The object class needs to implement the Comparable interface to be able to be compared and you need to write a custom compareTo() method inside so it knows which fields to compare on implements Comparable<type to compare>

Data Structures

Computers are all about data. How should we store the data that we have, especially inside our programs.