Since this entire Work from home started, I have been on a search for the best apps that can increase my productivity and improve my workflow.
Here are my top 5 picks.
An essential part of working from home is video conferencing whether it’s on Zoom or Google Hangouts. If you are presenting your screen it’s sometimes hard to get the viewer's attention to a certain part of the screen.
Most of us just start wiggling the cursor around with half of the viewers wondering what is going on with your computer.
DemoPro solves this by making the whole screen into a canvas which lets you draw or highlight any part of the screen. …
Here is a list of quotes that might inspire you, make you feel good, or make you a better programmer.
“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.”
― John Woods
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”
― Martin Fowler
“Programs must be written for people to read, and only incidentally for machines to execute.”
― Harold Abelson
“I’m not a great programmer. I’m just a good programmer with great habits.”
― Kent Beck
“Truth can only be found in one place: the code.”
― Robert C. …
Code reviews are an integral part of any dev team. They are a great source of knowledge for developers at any level to learn from their teammates. They also ensure that only good quality refined code enters the master code base.
But what is an effective way to give good code reviews?
Here’s are the questions you should be asking while giving your next code review-
Question- How many event listeners do you need to add in order to listen for a button click?
Answer- Keep reading if you thought you had to add event listeners to all buttons. You don’t know event delegation yet.
Event delegation is a technique of adding an event listener to the parent node rather than on the child node. The listener will be called when the event is triggered on the child node due to ‘event bubbling’ up the DOM tree.
Let’s look at an example. Here you have 5 buttons wrapped inside a
button- wrapper div.
Here’s a list of some essential VSCode keyboard shortcuts that will save you at least a few minutes every day.
option + up/down
shift + command + \
option + command + f
shift + option + Up/Down
command + option + [
command + option + ]
command + d
command + u
command + b
command + option + up/down
option + mouse click
shift + command + kor
Hey everyone, Today we will be solving one of the most asked questions in coding interviews which is to design a data structure for LRU cache.
It should support get and put functionality.
Get — give you the value of the key if it exists in the cache otherwise return -1.
Put — Add the value of the key if it’s not already present.
- When the cache reaches its capacity it should invalidate the least recently used item before adding the new one.
- If you put a key that already exists — replace the value of the key with the new value. …
npm install -g create-react-app
Open the newly created file in your favorite IDE. Open the **manifest.json** file inside the public folder. Your file is going to look like this:
“short_name”: “React App”,
“name”: “Create React App Sample”,
“sizes”: “64x64 32x32 24x24 16x16”,
Change it to:
“short_name”: “React App”,
“name”: “First React Extension”,
“default_title”: “React Ext”
“version”: “1.0” …
Laptops have stayed pretty much the same since the time they were launched. They have a screen, keyboard and a trackpad mouse attached. But have we ever wondered that apart from when we are typing, the keyboard is just lying there consuming about 40–50% of real estate that could be used for other things.
We faced the same dilemma when the iPhone was launched. The market was ruled by Blackberry, Nokia and Motorola and all of them had most of the front-facing side covered by a keyboard. This thinking was entirely changed with the iPhone. …