Blog posts

Talking about code, testing stuffs, and more...

Chrome browser policy on linux

To restrict specific features in Google Chrome on Linux, such as Guest mode, Incognito mode, and the ability to add new users, you can set up policies. Follow these steps:

Create a directory for Chrome policies, as root:

su - root mkdir -p...

Pierre FILSTROFF

Senior Software Engineer - IC - Ruby on Rails/Hotwire - Android/iOS - DevOPS

Running ipinfo.tw on dokku

To obtain my external IP, I chose to use ipinfo.tw. Initially, I fetched my IP via https://ipinfo.tw, but I decided to host it on my own server.

I prefer using Dokku to run applications, manage subdomains, and handle encryption. Below are the steps...

Pierre FILSTROFF

Senior Software Engineer - IC - Ruby on Rails/Hotwire - Android/iOS - DevOPS

Run rails tests with github actions matrix strategy

You can easily speedup tests runs by using matrix strategy with github actions.

Create a script called for example ci_tests which generates for example the following JSON output:

{ "include": [ { "name": "System tests", "files":...

Pierre FILSTROFF

Senior Software Engineer - IC - Ruby on Rails/Hotwire - Android/iOS - DevOPS

AdGuardHome on Asuswrt-Merlin

Home should always be a safe place for navigating the internet, especially for children. As they often use it for listening to music or conducting school research, it's crucial to ensure that they have access to the internet while safeguarding...

Pierre FILSTROFF

Senior Software Engineer - IC - Ruby on Rails/Hotwire - Android/iOS - DevOPS

Shrink your LXC disk on proxmox

You may want to reduce the size of your LXC disk on proxmox, but the web interface only allow you to increase the size, not decrease.

To reduce the size, follow these steps:

List your containers

pct list 

Stop the container you want to resize

pct stop...

Pierre FILSTROFF

Senior Software Engineer - IC - Ruby on Rails/Hotwire - Android/iOS - DevOPS

html2haml - Convert HTML to HAML snippets

A few months ago, I embarked on the development of a live HTML to HAML conversion tool utilizing the latest Ruby on Rails technologies.

This straightforward project aims to dynamically convert HTML templates into HAML using Turbo and Stimulus,...

Pierre FILSTROFF

Senior Software Engineer - IC - Ruby on Rails/Hotwire - Android/iOS - DevOPS

Neovim - VS-what?

It's been a long time since I wanted to write a brief article about Neovim.

I've been using Vim since around 2010, but I noticed that Vim tends to be sluggish with syntax highlighting during web development. While searching for configurations to...

Pierre FILSTROFF

Senior Software Engineer - IC - Ruby on Rails/Hotwire - Android/iOS - DevOPS