RSSAmplifier

Blog

Hugo Sum

hugosum.comRSS feed ↗20 posts

Latest posts

How do I search and replace text in Neovim

In this post I want to share how do I search and replace text efficiently in Neovim.

How to start Neovim with minimal configuration

In this post I will show you how to start Neovim with minimal configuration, so you can fix your Neovim's configuration with it when it is generating some annoying errors for you.

Adding types to your Neovim configuration

In this post I will show you how to add types and its related LSP diagnostics to your Neovim configuration, so you can have a better experience customizing it.

Conditionally add values into list or map in Nix

In this post I want to show you how to conditionally add values into list or map in Nix.

Optimize SvelteKit performance with brotli compression

In this post I will show you how to optimize the performance of a SvelteKit project by using brotli compression and serve those assets.

Using glob on CLI that does not support variadic arguments

In this post I will show you how to use glob on CLI that does not support variadic arugments.

End-to-end type safety with Svelte 5 and SvelteKit 2

I will show you how to migrate from Svelte 4 and SvelteKit 1 and achieve end-to-end type safety with Svelte 5 and SvelteKit 2.

Recreating development environment with Nix Flake

In this post, I will show you how to define and recreate development environment of your projects anywhere using Nix Flake

Analyze and optimize your Vite bundle

In this post I will show you how to analyze and optimize your Vite bundle by removing duplicate code and packages.

Reduce input latency for gaming with Gnome in NixOS

In this post I want to share how to reduce input latency when gaming with Gnome in NixOS.

Creating Content Security Policy in SvelteKit

In this post I want to explain what is Content Security Policy (CSP) and how to implement it in SvelteKit, and how to deal with policy violations.

How to get 100 performance score in Lighthouse with SvelteKit

In this post, I will show you a few techniques on optimizing your SvelteKit project for getting 100 performance score on Lighthouse.

Synchronizing inputs across Nix flakes

In this post, I will show you how to synchronize version of inputs across Nix flake with `nix registry` and proxy flakes, and talk about their limitations.

Convert git repository into a tarball for sharing

In this post, I will share how can you convert git repository into a tarball that respects `.gitignore` for easy sharing.

Creating sitemap for your SvelteKit project with minimal effort

In this post I want to share my experience on building sitemap in SvelteKit and introduce library that provides the best developer experience in my opinion to you.

Simplify your C# code with `using` statement

In this post I will share what is the `using` statement in C#, when can you use it and its limitation.

Customizing Gnome with Nix and Home Manager

In this post, I will share my experience and some snippets on customizing Gnome using Nix and Home Manager.

Customizing Firefox with Nix and Home Manager

In this post I will share my experience on customizing Firefox using Nix and Home Manager, so you can manage your Firefox's settings, extensions and policies with a reproducible and declarative configuration.

Dockerize SvelteKit with adapter-static and Nginx

Learn essential tips and potential pitfalls for building a Docker image with best practise to deploy your SvelteKit project with @sveltejs/adapter-static and nginx.

How to remove old NixOS generations in your system and bootloader

In this Nix tips, I am going to show you a few tricks to remove and avoid keeping old NixOS generations in your system and bootloader menu.