Web Log
Elixir, JavaScript, SVG, Containers, Git, Linux
Questions, comments, feedback? Contact the author.
Posts
Resize A QEMU Disk Image
— Our hosting provider allows us to upload a custom image when provisioning a new server. We will have to resize the image if it does not match the size of the server's disk space. Read post →Set Up A GitWeb Server
— Set up a VPS with a simple, web-based code repository visualizer using Lighttpd and GitWeb. Read post →Build A Neovim Qt AppImage from Source
— Building an AppImage package from source allows us to run the latest version of Neovim-QT on our machine running the Debian Linux distribution. Read post →Build A Static-Website Generator With Elixir, Part 1
— We take the first steps in designing and implementing the "world's simplest static-website generator". Building on tools and knowledge we acquired previously, and utilizing an incremental and iterative development process, we go through the entire software life-cycle from creating the initial project files to deploying to production. We spare nothing, from spelling out every command, to ensuring application integrity with tests, and even updating the README file. Grab a drink and some snacks, and dive right in! Read post →Temporary Directories For Testing Mix Tasks That Modify Files
— Writing a test for a simple Mix task gets surprisingly complex. Application environment variables, temporary test directories, and IO capture are all involved. Read post →Deploy Elixir-Generated HTML With Docker On DigitalOcean
— This is a simple proof of concept where we create a boilerplate HTML file with Elixir, containerize our build process with Docker, and deploy our markup live with DigitalOcean's hosting service. Read post →Fix Distortion Introduced When Transforming Multiview Projections To Isometric
— One thing we learned from a week of trying to make isometric vector drawings. Read post →Start Erlang's Dialyzer With GUI From A Docker Container
— Everything in OTP is command-line driven, so using containers during development has been without issue. But, Dialyzer, Erlang's static analysis tool, actually has a Graphical User Interface. How can we still use Dialyzer and its GUI even though Elixir is running inside a container? Read post →Open An IEx Shell From An Elixir Script
— We can run an Elixir script with either theelixir
or the iex
command. Both will execute the code, but the second command opens an interactive IEx shell afterward. What if, we won't know until runtime whether we want a shell or not? How can we start an IEx session even when we use elixir
, instead of iex
, to run our script?
Read post →