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.
An alias allows the user to associate a command with a custom name. Aliases can be used to…
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
UICollectionViewCell. Note that this article assumes basic knowledge of Xcode, Swift, and the UICollectionView.
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.
“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…
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. …
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!
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…
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…
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.
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…
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…
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…
Software Engineer | Tech Enthusiast