RSSAmplifier

Blog

muratov.space

Recent content on muratov.space

muratov.spaceRSS feed ↗3 posts

Latest posts

How to create a recursive type in TypeScript

TL;DR type RecursiveTypeNode< T > = Record< string , T | null >; interface RecursieveType extends RecursiveTypeNode< RecursieveType > {} I needed to create a type for a recursive structure like this: const template = { 'Page 1' : { 'Page 1 1' : { 'Page 1 1 1' : { 'Page 1 1 1 1' : null , 'Page 1 1 1 2' : null , }, 'Page 1 1 2' : null , }, 'Page 1 2' : null , 'Page 1 3' : null , }, 'Page 2' : {…

How I Use Ledger to Manage Personal Finance

Ledger is a double-entry plaintext accounting system. Plaintext means that you do your finance editing a simple text file and process it with a command line utility :) In this post, I share my approach to using Ledger. If you want to know more about plaintext accounting, visit https://plaintextaccounting.org/ . I only use Ledger for two months, so this is probably not final. This is not an…

I tried being productive with smartphones but I love computers more

I love computers. I love sitting in front of the large display. I love typing on the full-featured keyboard. I love having multiple windows on the screen and switching between them. I love dealing directly with files. Create them, delete them, and know where they are on my file system. I love to install whatever software I want and use it to process my files. On the other hand, there are…