MacOs allows you some customization options like colors and cursor styles via Terminal > Preferences, but with Oh My Zsh you can add themes for a sleeker layout, and plugins for useful functionality for things like git, node, vscode, and more. How to install Oh My Zsh Head to the official website and https://ohmyz.sh and Read post
{
"@timestamp": "2022-03-27T20:57:18+00:00",
"slug": "/how-to-customize-macs-terminal-with-oh-my-zsh",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"Zsh"
],
"excerpt": "MacOs allows you some customization options like colors and cursor styles via Terminal > Preferences, but with Oh My Zsh you can add themes for a sleeker layout, and plugins for useful functionality for things like git, node, vscode, and more. How to install Oh My Zsh Head to the official website and https://ohmyz.sh and […]"
}
In the FSE editor we now have templates that can be used to create custom layouts for things like single posts, pages, headers, and footers. Before FSE you’d need to go digging into the theme files like single.php to make a customization to the single post template, but now anyone can customize these templates by Read post
{
"@timestamp": "2022-05-18T14:17:22+00:00",
"slug": "/create-default-templates-for-a-custom-fse-theme",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"WordPress"
],
"excerpt": "In the FSE editor we now have templates that can be used to create custom layouts for things like single posts, pages, headers, and footers. Before FSE you’d need to go digging into the theme files like single.php to make a customization to the single post template, but now anyone can customize these templates by […]"
}
So today I learned that Vim is a thing while using SSH to a remote WordPress server, so I thought I’d write about it. Here we go. Are Vi and Vim the same thing? The popular text editor Vim is an implementation that improves upon the original Vi standard. Vim is a text editor that was originally developed to Read post
{
"@timestamp": "2021-12-18T17:14:16+00:00",
"slug": "/introduction-to-vim-and-12-useful-commands",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"Vim"
],
"excerpt": "So today I learned that Vim is a thing while using SSH to a remote WordPress server, so I thought I’d write about it. Here we go. Are Vi and Vim the same thing? The popular text editor Vim is an implementation that improves upon the original Vi standard. Vim is a text editor that was originally developed to […]"
}
So, I decided I wanted to build a mobile app. Coming from a React background, I began searching for a tech stack and found that people are very opinionated about Flutter and React Native. It’s like the whole Apple vs Android debate. /me rolls eyes. That said, I’m already familiar with JavaScript and React, and Read post
{
"@timestamp": "2025-08-18T16:22:56+00:00",
"slug": "/react-native-gotchas-what-surprised-me-moving-from-web-to-mobile",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"React",
"React Native"
],
"excerpt": "So, I decided I wanted to build a mobile app. Coming from a React background, I began searching for a tech stack and found that people are very opinionated about Flutter and React Native. It’s like the whole Apple vs Android debate. /me rolls eyes. That said, I’m already familiar with JavaScript and React, and […]"
}
I’m currently working on a simple To-Do app to learn Next.js, following a tutorial by Web Dev Simplified, and I encountered an error. One such error, which might seem trivial, but for me, it ended with a TIL and lots of reading about named and default exports. Importing and exporting are particularly common in JavaScript Read post
{
"@timestamp": "2023-06-02T14:38:05+00:00",
"slug": "/named-export-vs-default-exports",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"React"
],
"excerpt": "I’m currently working on a simple To-Do app to learn Next.js, following a tutorial by Web Dev Simplified, and I encountered an error. One such error, which might seem trivial, but for me, it ended with a TIL and lots of reading about named and default exports. Importing and exporting are particularly common in JavaScript […]"
}
If you’ve used Create React App, you can set up and use environment variables out of the box as you’ll have a NODE_ENV defined for you named REACT_APP_ which you can reference with process.env.REACT_APP_. Otherwise, you’ll need to install the dotenv package via npmjs.com’s library and follow the documentation to define and configure your variable. Read post
{
"@timestamp": "2022-06-08T13:20:19+00:00",
"slug": "/how-to-create-an-environment-variable-in-a-react-app",
"post_type": "post",
"@tags": [
"react"
],
"@categories": [
"All",
"React"
],
"excerpt": "If you’ve used Create React App, you can set up and use environment variables out of the box as you’ll have a NODE_ENV defined for you named REACT_APP_ which you can reference with process.env.REACT_APP_. Otherwise, you’ll need to install the dotenv package via npmjs.com’s library and follow the documentation to define and configure your variable. […]"
}
This weekend, I finally decided to learn how to create my very own Obsidian theme instead of just customizing existing themes using CSS snippets. This tutorial will cover the fundamentals of creating a brand new, completely custom theme for your Obsidian Vault. This guide assumes you have a basic knowledge of web development including HTML Read post
{
"@timestamp": "2024-06-24T15:52:00+00:00",
"slug": "/how-to-create-an-obsidian-theme",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"Obsidian"
],
"excerpt": "This weekend, I finally decided to learn how to create my very own Obsidian theme instead of just customizing existing themes using CSS snippets. This tutorial will cover the fundamentals of creating a brand new, completely custom theme for your Obsidian Vault. This guide assumes you have a basic knowledge of web development including HTML […]"
}
Yesterday, I answered a call from an unknown number 🚩 The caller said they worked in my bank’s fraud department. According to them, the bank had detected and blocked suspicious charges from Samsung on my credit card. They kept asking me whether I made these charges and if I was in Vancouver, if I was Read post
{
"@timestamp": "2026-08-21T18:22:21+00:00",
"slug": "/story-time-the-scammer-that-asked-me-to-approve-my-own-theft",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"Malware",
"Scams"
],
"excerpt": "Yesterday, I answered a call from an unknown number 🚩 The caller said they worked in my bank’s fraud department. According to them, the bank had detected and blocked suspicious charges from Samsung on my credit card. They kept asking me whether I made these charges and if I was in Vancouver, if I was […]"
}
When working in malware removal, you start to notice patterns and develop an instinct for spotting malicious code that can slip past automated detection methods. While scanners are effective at detecting most malware, they’re just one piece of the puzzle. Malware is constantly evolving, always built to stay hidden from scanners. That’s why it takes Read post
{
"@timestamp": "2024-09-01T18:19:52+00:00",
"slug": "/5-ways-to-detect-wordpress-malware-that-scanners-miss",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"Malware"
],
"excerpt": "When working in malware removal, you start to notice patterns and develop an instinct for spotting malicious code that can slip past automated detection methods. While scanners are effective at detecting most malware, they’re just one piece of the puzzle. Malware is constantly evolving, always built to stay hidden from scanners. That’s why it takes […]"
}
Hey! Today, I took a deep dive into the find command and thought I’d share my notes in case it’s helpful to anyone. Find Files by Extension The find command is super handy for locating files based on specific criteria. If you need to find all .txt files within the Desktop directory, this command will Read post
{
"@timestamp": "2024-08-19T17:27:05+00:00",
"slug": "/practical-uses-of-the-find-command-in-linux",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"Linux"
],
"excerpt": "Hey! Today, I took a deep dive into the find command and thought I’d share my notes in case it’s helpful to anyone. Find Files by Extension The find command is super handy for locating files based on specific criteria. If you need to find all .txt files within the Desktop directory, this command will […]"
}
Jest is a JavaScript testing framework maintained by Meta. It works with Bable, TypeScript, Node.js, React, and more. In this case, we’re going to set up Jest and test a JavaScript function. How to Install & Set Up Jest You can refer to the step-by-step instructions via the official Getting Started documentation, but our simple Read post
{
"@timestamp": "2022-09-25T19:48:46+00:00",
"slug": "/javascript-unit-testing-with-jest",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"JavaScript"
],
"excerpt": "Jest is a JavaScript testing framework maintained by Meta. It works with Bable, TypeScript, Node.js, React, and more. In this case, we’re going to set up Jest and test a JavaScript function. How to Install \u0026 Set Up Jest You can refer to the step-by-step instructions via the official Getting Started documentation, but our simple […]"
}
The DOM is like a tree of elements. For example, you have some nodes that are nested inside each other, and they kind of branch off. A node nested inside another node is a child, and the node with elements nested under it is a parent. Here’s an example of some HTML where we can Read post
{
"@timestamp": "2022-04-07T14:04:28+00:00",
"slug": "/how-to-traverse-the-dom-with-javascript",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"JavaScript"
],
"excerpt": "The DOM is like a tree of elements. For example, you have some nodes that are nested inside each other, and they kind of branch off. A node nested inside another node is a child, and the node with elements nested under it is a parent. Here’s an example of some HTML where we can […]"
}
There are 12 different node types and each node may or may not have its own children of different node types. Node types can be thought of as communication protocols and essentially define how each node communicates with other nodes. There’s no point in memorizing them all, and a good reference to keep on hand Read post
{
"@timestamp": "2022-04-05T14:21:04+00:00",
"slug": "/how-to-check-dom-nodetypes",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"JavaScript"
],
"excerpt": "There are 12 different node types and each node may or may not have its own children of different node types. Node types can be thought of as communication protocols and essentially define how each node communicates with other nodes. There’s no point in memorizing them all, and a good reference to keep on hand […]"
}
You can think of The Document Object Model (DOM) as a tree with branches of nodes. The DOM is what the browser creates to display the content on your screen. There are 12 different types of nodes and they may have children nodes of their own. Once you know how to grab parts of the Read post
{
"@timestamp": "2022-04-01T13:50:56+00:00",
"slug": "/query-the-dom-with-javascript",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"JavaScript"
],
"excerpt": "You can think of The Document Object Model (DOM) as a tree with branches of nodes. The DOM is what the browser creates to display the content on your screen. There are 12 different types of nodes and they may have children nodes of their own. Once you know how to grab parts of the […]"
}
Today we’re taking a look at some useful array and object methods for JavaScript. Throughout this entire post, we’re going to be using this object named books of, you guessed it, book objects to test out some methods: Filter method If we want to see only books rated 3-stars and up, we can use the Read post
{
"@timestamp": "2022-03-26T14:17:46+00:00",
"slug": "/javascript-array-methods",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"JavaScript"
],
"excerpt": "Today we’re taking a look at some useful array and object methods for JavaScript. Throughout this entire post, we’re going to be using this object named books of, you guessed it, book objects to test out some methods: Filter method If we want to see only books rated 3-stars and up, we can use the […]"
}
By default, JavaScript has a sort function that takes the form of yourArrayName.sort( ) built-in, but to sort JavaScript arrays ascending and descending, you need a custom compare function to sort numeric values. .sort() will work fine for strings since it sorts by the first character only, so Alpha will come before Beta, but when Read post
{
"@timestamp": "2022-01-29T15:55:40+00:00",
"slug": "/sort-javascript-arrays-ascending-descending",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"JavaScript"
],
"excerpt": "By default, JavaScript has a sort function that takes the form of yourArrayName.sort( ) built-in, but to sort JavaScript arrays ascending and descending, you need a custom compare function to sort numeric values. .sort() will work fine for strings since it sorts by the first character only, so Alpha will come before Beta, but when […]"
}
Git branches are an excellent way to take your project in other directions, test new ideas, explore alternate versions, new features, etc., and even to share code with others to work on debugging issues without committing those issues to the permanent record. They’re like a parallel universe separate from your primary branch. They’re contained in Read post
{
"@timestamp": "2022-04-02T14:25:00+00:00",
"slug": "/working-with-git-branches",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"Git",
"GitHub"
],
"excerpt": "Git branches are an excellent way to take your project in other directions, test new ideas, explore alternate versions, new features, etc., and even to share code with others to work on debugging issues without committing those issues to the permanent record. They’re like a parallel universe separate from your primary branch. They’re contained in […]"
}
Before starting, do two things to ensure things run smoothly: Create your new repo in three steps: Clone the repo to your local computer: Optionally, if you don’t want to start off with GitHub, you can do this locally with git. Extra reading:
{
"@timestamp": "2022-03-21T19:45:11+00:00",
"slug": "/create-clone-github-repo",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"Git",
"GitHub"
],
"excerpt": "Before starting, do two things to ensure things run smoothly: Create your new repo in three steps: Clone the repo to your local computer: Optionally, if you don’t want to start off with GitHub, you can do this locally with git. Extra reading:"
}
cURL, which stands for client URL, is a command-line tool that makes it easy to transfer data to and from a server with URL syntax. Today we’re looking at some useful ways to use cURL to download content from a WordPress site. To save an image, download a file, or save a post, you can Read post
{
"@timestamp": "2022-03-27T15:52:52+00:00",
"slug": "/use-curl-to-download-wordpress-content",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"cURL",
"WordPress"
],
"excerpt": "cURL, which stands for client URL, is a command-line tool that makes it easy to transfer data to and from a server with URL syntax. Today we’re looking at some useful ways to use cURL to download content from a WordPress site. To save an image, download a file, or save a post, you can […]"
}
Did you just change domain names and redirect your old domain name to your new domain, but when you try in your browser it’s not reflecting this change? It could be caching, but rather than waste time clearing cache or opening an incognito window, just use cURL. Using this cURL command will show you the Read post
{
"@timestamp": "2021-12-10T16:14:02+00:00",
"slug": "/check-301-redirect-is-working-using-a-curl-command",
"post_type": "post",
"@tags": [],
"@categories": [
"All",
"cURL"
],
"excerpt": "Did you just change domain names and redirect your old domain name to your new domain, but when you try in your browser it’s not reflecting this change? It could be caching, but rather than waste time clearing cache or opening an incognito window, just use cURL. Using this cURL command will show you the […]"
}