Michał Załęcki·Nov 24, 2020TypeScript: Template Literal TypesLiteral types in TypeScript allow for narrowing down the type to the exact value. You can communicate in the type system that the value…
Michał Załęcki·Nov 24, 2020Review: Writing for Software Developers by Philip KielyIn September, I took two weeks off to enjoy some time in nature before the rainy autumn hits. Apart from the time for relaxation, the…
Michał Załęcki·Oct 7, 2020Fighting Legacy JavaScript CodeWhen legacy code is giving you a hard time, it’s a good time to learn yourself a few new tricks. You might not think there’s a method to…
InThe StartupbyMichał Załęcki·Jan 5, 2020Do Not Relay on NODE_ENV. Hygiene of Environment VariablesLearn how to set up a server to allow for a secure SFTP file transfer without giving users access to the shellA response icon1A response icon1
Michał Załęcki·Jan 5, 2020How to Set up a Secure SFTP ServerLearn how to set up a server to allow for a secure SFTP file transfer without giving users access to the shell
InLevel Up CodingbyMichał Załęcki·Jan 5, 2020Generate Unique Id in the Browser Without a LibraryRandom, unique value to use on the client-side. Spare your users some additional bytes
Michał Załęcki·Jan 5, 2020Just Enough Kubernetes for JavaScript DevelopersStraightforward setup of a Kubernetes cluster for multiple apps, databases, with HTTPS and other k8s goodies
Michał Załęcki·Jan 5, 2020Upload source maps to RollbarAutomate uploading source maps pre-deploy to Rollbar with a shell script
InTooplooxbyMichał Załęcki·Apr 26, 2019Bridging Static and Runtime Types with io-tsHow to build up confidence in your TypeScript application by enforcing data types from external sources like REST API
InWarsawJSbyMichał Załęcki·Dec 8, 2018An elegant solution for handling errors in ExpressUse Boom and Joi with Express for lean controllers and ability to return pretty formatted HTTP errorsA response icon3A response icon3