Create shortcuts using Aliases

Image for post
Image for post
Photo by Clement Helardot on Unsplash

As a programmer, you’re likely always looking for shortcuts and ways to make a workflow more efficient. A terminal is likely already open for tasks such as compiling, navigating directories, and using git. Why not also use the terminal to open applications that are frequently used?

This article will go through how to create application shortcuts by defining aliases in a central startup script that’s called when a terminal is opened. Follow these steps to customize running any application from the terminal.

Alias

An alias allows the user to associate a command with a custom name. Aliases can be used to…


A step by step guide to creating a customized collection view

Image for post
Image for post

When developing an iOS app, you may find yourself needing to customize layouts and populate tables with dynamic and customizable content. The UICollectionView is a popular UI element for presenting a collection of items in a customizable layout. This article presents a step by step guide to creating a UICollectionView and UICollectionViewCell. Note that this article assumes basic knowledge of Xcode, Swift, and the UICollectionView.

Create a new iOS app project


Tips for speeding up the iPhone

Image for post
Image for post
Photo by Arnel Hasanovic on Unsplash

Anyone who keeps an iPhone until it breaks has likely encountered performance issues as the years go by. Apps crash, wifi has trouble connecting, and you may think to yourself — do I need to buy a new phone? iPhones are expected to degrade with time however they should last around 4 years. Try these tips and tricks before breaking the bank and upgrading to the latest shiny iPhone.

#1. Restart Phone

“Have you tried turning it off and on again?”

We can all thank the Channel 4 British sitcom “The IT Crowd” for coining the phrase “Have you tried turning it off…


Terminal Commands Every Programmer Should Know

Image for post
Image for post
Photo by Markus Winkler on Unsplash

The terminal is an important tool that enables power users to navigate the filesystem efficiently. Often filesystems are so large and complex to the point where using the graphical file browser to search is slow and inefficient. If you’re a programmer that always has a terminal open, why not use it to run a search instead of opening up the file browser.

The two most common search-related queries include searching for a filename or folder by name and searching for files that contain a keyword. In this article, we’ll go over the commands that achieve this behavior. …


An overview of using @decorators in python

Image for post
Image for post
Photo by Scott Webb on Unsplash

You’ve likely heard the word “decorator” thrown around as a pattern in Python or seen the mysterious@ symbol in python code. Decorators in Python allow the developer to conveniently modify functions, methods, and classes without introducing repetitive code. In this article, we’ll discuss what a decorator is and how to use this convenient design pattern. It’s as fun as it sounds!

What is a Decorator?

A decorator is a function that wraps another function, modifying its behavior. To put things simply, the following example helps illustrate how a wrapper is applied to a function:

In the above example, the function decorate calls the…


Positive habits that are here to stay

Image for post
Image for post
Photo by Tiago Gerken on Unsplash

For those of us living in areas impacted by COVID, our daily lives and definition of normalcy have changed in unimaginable ways. It was on March 13th, 2020 when my department was notified to pack up our belongings and work from home for the foreseeable future. Nearly seven months later not much has changed — work from home is still enforced, social distancing is a way of life, and grabbing a facemask before leaving the house is as routine as locking the door.

The changes brought by the pandemic have caused old habits to wither and new ones to form…


A step-by-step guide to creating Python bindings using Xcode and ctypes

Image for post
Image for post
Photo by Jerry Zhang on Unsplash.

As a Python developer, you may run into a scenario where you need to access a C++ library from Python code. An efficient way to pass data from Python to C++ and vice versa is by using Python bindings, which are libraries that bridge the two programming languages together.

Some of the many tools and modules that can be used for creating Python bindings include CFFI, PyBind11, PyBindGen, SIP, and Cython. …


A step-by-step guide to auto-documenting your Python code

Image for post
Image for post
Photo by Jason Blackeye on Unsplash

While thorough documentation is necessary, it’s often put on the back burner and looked upon as a chore and a low-priority task. As a developer, it’s easy to fall back on the mindset of “why document the code when you, the author, know exactly what it’s doing?” When the code is rapidly changing, keeping the docs up to date becomes an even more substantial burden.

Luckily, manually writing out documentation is not required due to the capabilities of Sphinx, a tool that automatically generates documentation from the docstrings in your code.

Below is a step-by-step guide to easily auto-generate clean…


Advice for developers pursuing careers in VFX and Animation

Image for post
Image for post
Galaxy’s Edge. Photo by Christian Crocker on Unsplash

With experience working at several visual effects and animation companies as a software developer, there are some disparities between this industry and the rest of the tech world when it comes to landing a job and preparing for an interview.

When entering your career as a software engineer, you may be at a crossroads of whether to apply to a big tech FAANG company (Facebook, Apple, Amazon, Netflix, and Google) or a company in the visual effects, animation or gaming industry. The preparation needed for pursuing a career in the entertainment industry is quite different from that of a typical…


Journey running from 3 to 26.2 miles

Image for post
Image for post
Photo by Mārtiņš Zemlickis on Unsplash

Perhaps like me, you have “run a marathon” on your bucket list. The idea of running what seems like an absurd distance, which only a small percentage of the population has achieved, is an enormous mental and physical accomplishment. My primary motivation for conquering this feat included being excited about the health benefits, and perhaps most importantly, wanting to prove to my younger unathletic self who would always hide in the back of gym class that I, too, am strong. With perseverance, anything is possible.

My journey from running 3 miles to a full marathon involved setting incremental goals and…

Julie Elise

Software Engineer | Tech Enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store