Learn how to control access to your system by assigning granular roles and permissions to your users.
Hey, I’m Peter! Developer & Educator.
I'm an Elixir developer with a Psychology background, Founder of Letter to Yourself, Ex-YouTuber at PeterAndCode, Ex-Host of ExplainBlockchain, and ConsenSys-certified Blockchain developer. Passionate about sharing knowledge, sports, Africa, and bicycle activism.
Learn how to make your LiveView app more resilient by simulating bad internet connections.
A detailed deep-dive into efficient full-text search for multiple languages, result ranking, tsvectors and tsqueries, search modifiers, and so much more.
Search through millions of strings efficiently using indexed ILIKE or SIMILARITY queries.
Block overlapping appointments efficiently in your database using exclusion constraints and don't worry about double-bookings ever again!
Write more efficient bulk insert queries and avoid sending duplicate data by using placeholders.
Implement insert-or-update functionality for your schemas directly with Ecto's on_conflict option.
Clean up your test configuration and highlight test specifics with dedicated tags.
Learn how to dump and analyze large amounts of data from a CSV file into Postgres quickly.
Learn about how to tweak the performance of 100.000 Erlang processes and why Elixir isn't really that slow.
Write and test code directly on your Raspberry Pi with Livebook.
Send a text message using the Waveshare GSM/GPS/GNSS Hat on a Raspberry Pi and Nerves.
Arguably, the strongest multi-factor authentication method is U2F. Here is how to integrate it with your Phoenix LiveView application.
Fly.io allows you to quickly deploy a Phoenix application in different regions in the world. Here is how to get started.
What comes to mind if you think about "Your product"? You probably think about features built for your customers. However, your "product" also includes something else. Your software.
How to automate a reoccurring job using GitHub Actions in order to fetch and upload latest data to a GitHub repository.
Route traffic based on the path of a URL using AWS CloudFront and Lambda functions. A complete how-to using Phoenix servers.
How to build what your stakeholder actually wants by extracting and testing good software requirements.
Writing code is fun, but nothing tops seeing your code moving things in the real world. That’s why I tested out the Nerves library.