Annie cover image
Annie
Annie
@anniebombanie
Designer // Developer // ENFP-T ♐️. Currently working at a start-up where I wear a lot of hats. I like rainy days and think people are cool. Suffers from FOMO & analysis-paralysis.
Toronto
Joined on Dec 4, 2022
12 posts
9 followers
9 following

Checking if a Directory Exists in a Bash Shell Script

In Bash shell scripting, you can easily check whether a directory exists or not using various techniques. Using the '-d' Test Operator The '-d' Test O...
Checking if a Directory Exists in a Bash Shell Script

Changing Timezone in a Docker Container

By default, Docker containers inherit the timezone of the host system. However, there might be cases where you need to change the timezone inside a Do...
Changing Timezone in a Docker Container

Fetching the Whole GraphQL Schema in One Query

In GraphQL, you can retrieve the entire schema of your API using a special introspection query. This powerful feature allows you to explore and unders...
Fetching the Whole GraphQL Schema in One Query

Checking if a Value Exists in an Array

In Ruby, you can easily check if a value exists in an array using built-in methods and operators. Using the include? Method What is the include? Metho...
Checking if a Value Exists in an Array

Reading Environment Variables

Environment variables are a powerful way to configure and control Node.js applications without hardcoding values in the code. They allow you to provid...

Creating a Docker Image to Run Both Python and R

Creating a Docker image that supports both Python and R allows you to have a versatile environment for data science and analytics tasks. Building the...
Creating a Docker Image to Run Both Python and R

Reverting a Git Repository to a Previous Commit

To revert a Git repository to a previous commit, follow these steps: 1. Find the Commit ID First, you need to identify the commit you want to revert t...
Reverting a Git Repository to a Previous Commit

Preventing SQL Injection

In PHP, it is crucial to protect your database from SQL injection, a common security vulnerability that allows malicious users to manipulate SQL queri...
Preventing SQL Injection

Recursively Grep All Directories and Subdirectories

To search for a specific pattern in all directories and their subdirectories in Linux, you can use the grep command with the -r option. Using the grep...
Recursively Grep All Directories and Subdirectories