React India 2019 was organized at Goa this time and it was a blast. Undoubtedly beach conferences are the best. What can go wrong when you have a private beach to hang out after all those fantastic talks?
So ask me what was the React conference about. Obviously React? Nah! It was more about GraphQL this time. Sure there were a few react talks too 😆. I will try to link a playlist for all of those talks along with this blog post as soon as they are available on youtube. This article is majorly about a few lovely talks that I really enjoyed and what were my major learning outcomes. …
Why not to use “any” anywhere.
While that being said, many of us still end up misusing typescript by very frequently using the “any” keyword everywhere. If you do not turn on noImplicitAny, then any variable declarations will implicitly be of type any and this can be really bad. If you plan to use type “any” for any of your variables then, make sure it is well justified! Strongly typed languages usually do not offer such flexibility. How often do we come across a variable code declaration section such as this one, where we end up explicitly using any for…
According to Octoverse 2017, Microsoft’s Visual Studio Code tops the list of Projects with the most contributors. Which implies that there are a lot many developers who absofreakinlutely love VS Code.
Here I have a list of extensions which might not make you a better developer, but for sure would make you feel like one!
A nifty little command would get me the list of VS code extensions I already have installed
$ code --list-extensionsalefragnani.project-manager
A wise man once said : GIFs and JPEGs speak louder than words
It’s really exciting that ubuntu finally gets rid of Unity and switches to Gnome as its primary desktop environment. But some of the unity features are reproduced within Ubuntu 17.10.
What if you are the one who prefers the snappy gnome hot-corners over the fancy unity dock? Here is a one-liner to get the hot-corners back and to finally get rid of the dock
> sudo apt-get remove gnome-shell-extension-ubuntu-dock && gsettings set org.gnome.shell enable-hot-corners true
I bet dotenv is the easiest way out. You create a .env file and include this single line of code within your project :
And BAM !! You are done and good to go. But wait how secure is it ?
Recently many fake Malicious NPM packages were found which work the same way as the real ones, but they fetch your process environment files and send them to a third-party server when you install them.
This could be extremely dangerous as the your process environments could contain secret keys, tokens, DB strings and what not.
The only problem here is that you write a few more lines of code. …