Setting a variable value as an object key in Javascript: The Simplest Way
In Javascript, you sometimes may find yourself needing to assign an attribute to an object based off the value of another variable. There…
I'm a Senior Full Stack Software Engineer
I've worked with a ton of technologies in my career and personal projects. I really enjoy learning new stuff and I tend to post about what I learn here.
Setting a variable value as an object key in Javascript: The Simplest Way
In Javascript, you sometimes may find yourself needing to assign an attribute to an object based off the value of another variable. There…
SEO with Gatsby and React-Helmet
React-Helmet is a way of managing all of the changes that are made to the head of an HTML document. With this component you can control the…
Adding drafts to your blog posts in Gatsby
In this article I will teach you how to add a draft system to your Gatsby site so that you can prevent incomplete or unpublished posts from being visible to the public.
BooleanInput not saving in React-Admin
So I was having an issue in react-admin where the value of BooleanInput (e.g. a checkbox slider) was not saving to my backend. Specifically…
How to extend types in Typescript
When working with TypeScript, you’ll frequently encounter scenarios where you need to merge or enhance existing types to craft a new…
How to install Paperclip in Rails 3
Paperclip is a plugin/gem created by the talented folks at ThoughtBot. It will make using attachments and uploads in your rails application…
Changing the pointer into the hand cursor in AS3
One of the problems that I ran into while migrating from Actionscript 2 (AS2) to ActionScript 3 (AS3) was the fact that not only was setting…
No more updates to Google Notebook
One of the only Google app (apart from Gmail) that I use the most Google Notebook will have no more updates. Before I signed up to Google I…
Building a GraphQL API with NestJS and Prisma
In this tutorial I will show you how to create a GraphQL API using Nest.JS with a Prisma.IO database. In my recent project at work we are…
Fixing ECONNREFUSED error in Rails and NextJS Docker Containers
I’m in the early stages of creating my application that uses NextJs as a frontend and Rails as the Api backend, when I realized that I…
Fixing multiple renders with NextJs and tRPC
A post about how to fix multiple rendering issues when using NextJS and tRPC
Fixing Netlify form problems in Gatsby
After having a ton of issues getting Netlify’s form submission to work, I have some tips on how to get it working if you’re running into any…
Fixing Foundation 5’s Unrecognized Expression Syntax Error
I was working on a new marketplace theme in Magento, and I kept getting a peculiar javascript error message. The exact error message that…
Fixing the error 0xe800400c or (-48) when syncing to Itunes
Imagine how disappointed I was when I had plugged in my brand new iPad 2 and only to realize that it simply cannot sync with my iTunes. If…
Using Jquery to disable the enter key
There are times that you do not want a form to automatically submit when a user hits the enter key. Or if you want to do some validation via…
Remove Anchors from a Url in Javascript
Here is something useful that I discovered in my programming for my personal websites. I needed to strip out the anchor portion of a link…
Fixing ERR_INVALID_THIS error on Vercel using PNPM
Fixing ERR_INVALID_THIS error on Vercel using PNPM I was in the beginning stages of creating my application using T3 and Clerk when I ran…
How to install packages from GitHub using NPM
Using the npm registry is not the only source that we can use to install packages into our applications. NPM also has the ability to install…
How to add redirects to a Netlify site in Gatsby
Previous this website was built in Wordpress, but now I’ve built it using Gatsby. In my migration to Gatsby I felt like I needed to change…
How to do it Now you could use something like react-sticky to do something like this, but it’s so much easier to just define your sidebar…
How to check if a jquery plugin is installed or available
Most Jquery plugins act a lot like functions. They are attached to the main Jquery object, so essentially all we have to do is check that…
Installing Ruby on Rails 3 in Windows
So last week I got a little tired of having to reboot my computer to dual-boot in a linux environment so that I could work on Rails stuff…
Removing empty elements from an array
When dealing with tag inputs from users, I find myself having to make sure they they don’t enter in any blank or empty tags. Then I realized…
Adding a delay to JQuery Functions
Recently I was working on a few functions that I didn’t want to have activated immediately after hovered over a div. I neededthe functions…
Solving the Module Not Found error when using NextJS and MonoRepos
I’m using the T3 stack to begin work on my movie application and I wanted to use ShadCN for the baseline of my components. I had another…
Fixing the MDB_PROBLEM: Unexpected problem - txn should abort in Gatsby
While I was preparing to work locally on my website, I did the typical and was met with this error: Error: MDB_PROBLEM: Unexpected problem…
Sorting an array of objects by a property value in javascript
Sorting using sort() Lets say that you have an array of objects that you wanted to sort by: You can use the sort() method of the Array that…
Fixing Polyglot.transformPhrase expects argument #1 to be string in react-admin
What does transformPhrase even mean? So sometimes when I’m trying to save a form in react-admin I see this really annoying error: Uncaught…
Strip Whitespace on save with Aptana
So recently I had a coworker get slightly annoyed with me and my trailing whitespaces at the end of lines. I’m using Aptana and not anything…
How to read remote files using PHP
When I was implementing pingback functionality in my custom blogging software, I needed to read files from a remote server. As long as allow…
Case-insensitive replaceAll in Java
How to use a case-insensitive replaceAll in javascript
Well, this is the start to my blog. Hopefully I’ll post here often, but hopefully with something useful each time. I just don’t want to have…