![Annie cover image](https://tiloid.com/images/cover_default.jpg)
![Annie](https://tiloid.com/uploads/avatars/Eg6Yv4xxQwmPAJhz0yn00OOo9J6x1aan2HhXLePU.jpg)
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
17
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](https://tiloid.com/uploads/posts/38/eDn4LYq9YfXeI8Wgx6fYyI52pwWV2D-metaY2FyYm9uKDM2KS5wbmc=-.png)
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](https://tiloid.com/uploads/posts/125/hWsffBL0EDLEMHsTeZ80Dnm4TdpT5Z-metaY2FyYm9uKDEyNSkucG5n-.png)
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](https://tiloid.com/uploads/posts/49/z5ThR7GapZgNanjMLULKzwaPkoAwk7-metaY2FyYm9uKDQ3KS5wbmc=-.png)
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](https://tiloid.com/uploads/posts/28/KTNFjAj3SPoPSDHLGcYSpn4rWcCW3M-metaY2FyYm9uKDI2KS5wbmc=-.png)
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](https://tiloid.com/uploads/posts/126/0yk6wecif4reEnwurY50YQvpCEC7mM-metaY2FyYm9uKDEyNikucG5n-.png)
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](https://tiloid.com/uploads/posts/71/wHA8FIFoE804cX7pUooLbMmfOVL4YS-metaY2FyYm9uKDcwKS5wbmc=-.png)
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](https://tiloid.com/uploads/posts/37/2QyE7uTKSC3g1d9MP6BSZrU8aQTva8-metaY2FyYm9uKDM1KS5wbmc=-.png)
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](https://tiloid.com/uploads/posts/46/nLcoZ8L1EPHtyZBGMkgzhcIcK5ZqbY-metaY2FyYm9uKDQ0KS5wbmc=-.png)