Just want to share with you a trick to start nvim with minimal or no configuration, so you can use it as a last resort when the plugins you use or your config is giving annoying errors.
#nvim
hugosum.com/blog/how-to-...
Just want to share with you a trick to start nvim with minimal or no configuration, so you can use it as a last resort when the plugins you use or your config is giving annoying errors.
#nvim
hugosum.com/blog/how-to-...
Once again I have started customizing Neovim, and I want to share with you how do I bring types to my Lua configuration.
#neovim
hugosum.com/blog/adding-...
So I wasted 6 hours trying to fix "Request Header or Cookie Too Large" in `ingress-nginx`, and only found out that the internal error page is actually served by a container that is running `nginx`, and I have been putting my fix in the wrong place. Fun time.
#devops #webdev
Just want to share how to conditionally add values to a list or map in a functional language like Nix, as I found it very useful when writing configurations or derivations.
hugosum.com/blog/conditi...
#nix
Is using a package manager like Nix not an option? You can use it on Mint as well and I guess it will be easier than compiling yourself?
I thought it is right to write like that, because <script module> would only run once, so it is perfect for importing?
svelte.dev/docs/svelte/...
Not 100% sure if I understand your intention there, are you doing this because those extra properties are exposed to page components through layout's load functions?
Me too!
Simple win for the day, starting from SvelteKit 2.16.0, you can simplify type annotation for props of page and layout component with `PageProps` and `LayoutProps`.
More on that: hugosum.com/blog/end-to-...
#svelte #sveltekit
Well I have it here, but it is lacking some docs at the moment.
github.com/winston0410/...
Pick a Linux distro you like and use it as a daily driver? I would recommend NixOS, and I can share my configuration to help you getting started.
Today I spent some time analyzing and optimized the bundle of my SvelteKit project, and documented how I remove duplicate packages from my project.
hugosum.com/blog/analyze...
#vite #rollup #webdev
Just improved the code block on my website with `shiki` and `unplugin-icons`, what do you think?
#svelte #shiki #unplugin-icons #webdev
I have created sitemap for a few different SvelteKit projects in the past. I came across `super-sitemap` last week, and I am really impressed by its design. I have a really good time using it.
hugosum.com/blog/creatin...
#svelte #sveltekit