• BlogsBlogs
  • About MeAbout Me
  • ProjectsProjects
  • CompendiumCompendium
  • BlogsBlogs
  • About MeAbout Me
  • ProjectsProjects
  • CompendiumCompendium
~/

4 posts tagged "Elixir"

Be careful with System.system_time in Elixir!

March 17th, 2024 Elixir
I encountered a sneaky bug in my Elixir app where `System.system_time` led to expired tokens. This led to a deep dive into how Elixir handles time, and a small PR to the `Goth` library.

Refreshing Third Party Tokens before they expire using GenServers in Elixir

February 4th, 2023 Elixir
A guide on how we can create a module which will always give a valid token back. It will also refresh the token before it expires.

Writing testable and decoupled Elixir using the Adapter Pattern

January 31st, 2023 Elixir
A guide on how we can use Elixir Behaviours to write extensible, testable and decoupled code.

Installing Elixir on Mac M1

October 5th, 2022 Elixir
While installing elixir on a mac m1 machine, I ran into a lot of issues. This post is a quick guide on the issues I faced and how to fix them.
All Tags
  • BlogsBlogs
  • About MeAbout Me
  • ProjectsProjects
  • CompendiumCompendium

Copyright © Raj Rajhans 2025