Remove empty lines in Visual Studio
This will remove empty lines and lines with blank characters (space, tab, …) only
This will remove empty lines and lines with blank characters (space, tab, …) only
From Zoltan Kochan, author of pnpm Double exclamation Prefixing anything with !! converts it to a boolean. var foo = 0 console.log(!!foo) //> false Essentially it is a shorter way to write Boolean(foo). Converting arguments to array The arguments object can be used to…
Everytime you compile a go binary in goland and start it, MacOS will ask you to allow the binary to listen for incoming connection, which can quickly become a nuisance. To always allow the binary, do two things Listen only…
The reason [Source] It has been a bit hard to reach facebook lately. For some ISP like Viettel and FPT, a DNS change is all it takes to resolve facebook’s IP and restore access to the site. For some other,…
I was working on a C# project that required interaction between unmanaged and managed code. It’s nothing complex, just calling various functions in a DLL through a wrapper class, then I hit this exception: Strange thing is, this “stack unbalanced”…
Everyone knows that the best way to manipulate or extract data from a hypertext page is to use JavaScript. The langue is built entirely to serve that purpose so it’s natural to think about it every time someone tell you…
The above installs a node package from github into your node_modules folder and automatically adds the dependency to your package.json!