So, on Deno going 1.0, I decided to give it a try today. The getting-started doc explains clearly that we can use deno completions <shell> to generate completions definition for deno. But being new to zsh (the default shell on Mac Catalina), I didn’t know where best to install this completions definition to. So I […]Read More adding deno completions on Mac Catalina
I might classify this article under “rage post”, as it’s 4:30am and tomorrow’s early work prevents me from explaining things properly. Considering you have an nginx app proxying to /your/app.socket ; then the combination of the user and group and chmod value on the app.socket file itself & the directory containing it (in this example, […]Read More nginx proxying to unix sockets: lessons learned
Say, you have just registered your own domain name: “myawesomedomain.com”, and a geek friend of yours says “hey pal, you’ll need to pay someone, or set up your own server, to send emails out from that awesome domain. Lemme do it for you!”Read More Explain SPF like I’m 12
This post discusses an approach to use a normal Post as the entire homepage of a Ghost blogRead More ghost 2.x – how to use a specific pOST as THE home (landing) page
In this post, I’d love to discuss a setup that’s minimal enough for me to start a TypeScript-based project.Read More minimal TypeScript project setup
Alright, this is gonna be a big no brainer, but we’ve all spent 1 full hour looking for our glasses, wearing them the whole time, haven’t we? If you keep getting permission errors whenever you npm install (even if you’ve fully followed the official guide on how not to get npm permission error), then obviously […]Read More npm install keeps showing permission errors?
Context: if you use a node module having dtrace-provider as one of its dependencies, even primary or optional, once in a while you may notice a peculiar error spit out from your node processes: Error: Cannot find module ‘./build/Debug/DTraceProviderBindings’ This usually happens when I upgrade my Node.js version then go back to maintaining a few week […]Read More npm dtrace-provider occasional issue
Howdies, npm@5 & Node.js@8 have been one of the hotter news recently within the NodeJS community. First of all, sincere kudos to the team behind for having going out of their ways in developing and maintaining such cool products that provide us developers with so much comfort to carry on in our daily work 🙂 […]Read More Finding your build scripts break after upgrading to npm@5 / node@8?
Hello guys, just a small update. Recently I took over a project developed months ago by another team. It was a NodeJS codebase with a lot of dependencies, one of which was the npm request module. As a feature required us to stop the request midway (if some condition has been met), we realised we knew nothing about stopping […]Read More How to stop / end / abort / cancel a request made by npm request module