Smooth Scrolling to an Element using scrollIntoView in React with a Fixed HeaderFixed headers are a popular design choice for websites. However, scrolling to an element that includes a fixed header can present several challenges. In this blog post, we will discuss how to overcome these challenges and scroll smoothly to elements with fixed headers.
Shaping Rails to Your Needs, Customizing Rails Generators using Thor TemplatesTemplates are an easy way to customize your Rails generators to fix repetitive tasks and make your life easier.
Extract Sample Rate of an Audio File with Audio Analyzer in Rails 7.1Extract the sample rate of an audio file with ActiveStorage::AudioAnalyzer which will return the bit rate, duration, and sample rate
Integrate OpenAI API in Ruby applicationsWe can integrate OpenAI API in a ruby application by using ruby-openai gem which allows us to build an app with all the ChatGPT
Writing re-usable code with React CompositionReact Composition helps make our code more efficient, and easier to maintain and update in the long run. Instead of relying on one big component to do everything, we break it down into smaller parts, so we can reuse them in other places, and build even more complex components.
Deploy Jekyll blog to AWS AmplifyDeploy a static site like a Jekyll blog to AWS Amplify with full fledged CI/CD pipeline and app preview.
Connecting AWS RDS with an EC2 instanceConnect AWS RDS with an EC2 instance while using Amazon Linux 2023 OS image and MySQL as a database
Adding table names to error for duplicate column namesTable name is shown in the error when duplicate columns for the same table is entered while creating it.
Restore Postgres DB in fly.io - PG version mismatch issue workaroundAs a workaround to PG version mismatch issue, we can restore Postgres DB in fly.io from the local environment