Writings | GitHub | LinkedIn
Writings
Caching Elm dependencies on Github Actions — Caching dependencies efficiently can significantly speed up CI runs and improve reliability, as it prevents downloading dependencies every time, reducing exposure to outages and network failures.
Elm Github ActionsDisable NPM fund message — If you find NPM's funding messages distracting, you can disable them by setting a configuration in different ways.
ShellFlatten a directory on Unix systems — When cleaning up a bit on my computer, I wanted to flatten a directory structure. Not wanting to move everything by hand, I searched for a way to automate it.
Shell macOSManually editing chunks in git add --patch — Git allows to stage smaller chunks of code for creating more atomic commits.
GitKeep case when replacing text in Vim using vim-abolish — vim-abolish is a plugin that allows users to easily search for and replace text while also providing the option to keep the original case of the text.
VimHome and End keys equivalent on MacBook keyboards — The MacBooks have a shortened keyboard where some keys are left out. Apple has cleverly hidden these keys behind shortcuts.
macOSWrap visual selection using the vim-surround plugin — One nice thing I've discovered using the vim-surround plugin for vim is that you can wrap a visual selection.
VimUsing :read in Vim — The vim command :read allows you to input anything from a file into the current buffer. Useful if you want to copy things from another file.
VimAccess the last argument of the last command in a shell — Using `$_`, you can access the last argument of the last command executed.
ShellAccess the last command in a shell — Using !!, you can access the last command executed. Useful for rerunning a previous command.
ShellBuilding A Builder Pattern in TypeScript — Forcing types using type assertions leave your code open for wrong assumptions. I went looking for an alternative.
Generics Pattern TypeScriptA More Sustainable Blog — After reading Sustainable Web Design, I started looking for ways to reduce the carbon footprint of this blog.
Design HTML SustainablityPre-render Syntax Highlighting with Prism in Jekyll — To get a considerable performance boost for this blog, I decided to pre-render all the code when building. So no need for a large JavaScript file.
Jekyll Prism Ruby SustainablityJSON Properties as a List when Decoding in Elm — Storing JSON properties as a List when decoding in Elm
Decoding Elm JSONCombine Properties when Decoding JSON in Elm — Combining two properties extracted from a JSON-object when decoding JSON in Elm.
Decoding Elm JSONDetecting Output Listeners in Angular — Detecting listeners on an EventEmitter in an Angular component.
Angular EventEmitter TypeScriptChanging Angular Components for Printing — When the user is printing a page, we wanted our components to behave differently without using CSS.
Angular EventListener TypeScriptBecome a Fire Keramik with Kotlin — At my work we started using Kotlin more and more. I wondered how far you could go in writing fully Functional in the language.
Functional Programming KotlinSolving Challenge with Elixir's Compile-Time Functions — I love solving small programming challenges. One of the many challenges on this website is about transcribing DNA nucleotides to RNA nucleotides. I was able to solve this by using Elixir.
AST Compile Time Elixir MacroMaybe Don't Use Maybe? — At my work I've come across a code that had more branches than were possible in the logic of the domain.
Custom Types Elm Maybe MonadsBulk Association Creation in Rails — During development of an application I stumbled across a situation where it produced N+1 queries and I set out on an adventure improve it.
ActiveRecord Rails Ruby