Relocate the Nix Store to An External Drive

I have an M1 base model Mac with 8GB RAM and 256GB storage, which means my disk space is very limited. My tech stack includes Flutter, Ruby on Rails, and both Mobile and Web development. When working on multiple projects simultaneously, the nix store can occupy 20–30GB, which is significant for my system.

Read More

Nix Learning Roadmap

Nix can be used to make reproducible development environemnts, which means you can use any program packaged wit hnix while don’t have to install them permanently.

Read More

Ruby Gotchas

In this post I note down some of the Ruby’s tricks and magics which confuses me easily.

Read More

Active Record Encryption

Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below).

Read More

Action Controller Strong Parameters

Why

It’s forbidden to use raw parameters of ActionController for mass-assignment to Active Model. Developers have to consciously choose which fields are allowed. This is a better security practice to help prevent accidentally allowing users to update sensitive model attributes.

Read More

You're up and running!

Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below).

Read More