A quick tip for when using Visual Studio Code in a cross platform team. You may have tasks (in the tasks.json) config file. They may be specific for Bash or Powershell (such as in my case).
VS Code allows specific platform properties. So in my case I have the tasks use Bash for my Mac, whereas the other developers use Powershell on Windows. It’s as simple as defining an override for your platform like so (OSX):
Was really happy to find a replacement for the now unsupported clipboard manager Clipmenu today.
It’s called Clipy and acts just the same as Clipmenu but has a new snippet manager. What I found set both Clipmenu and Clipy apart when compared to other clipboard menu managers was the when you activated it via keyboard shortcut it would be right next to the cursor so you don’t have to shift your focus away from what you are doing to select the item you want to paste into your document.
New Zealand was colonised under the premise of beating the class system. Our image of ourselves as a laid-back egalitarian utopia is ingrained in our vernacular: “Kiwi ingenuity,” or “She’ll be right.” But this reputation appears to be misleading.
In the final three months of the US presidential campaign, the top-performing fake election news stories on Facebook generated more engagement than the top stories from major news outlets such as the New York Times, Washington Post, Huffington Post, NBC News and others.’ This doesn’t sound like a problem Facebook will be in any hurry to fix.
In this five part series, we will “recreate” React from the ground up, learning how it works along the way. Once we’ve finished, you should have a good grasp of how React works, and when and why it calls the various lifecycle methods of a component.
What a great way to get an understanding of how React works.
React is usually pretty fast, but it’s easy to make small mistakes that lead to performance issues. Slow component mounts, deep component trees, and unnecessary render cycles can quickly add up to an app that feels slow.
Luckily there are lots of tools, some even built in to React, that help with diagnosing performance issues. In this post I’ll highlight tools and techniques for making React apps fast. Each section also has an interactive, and (hopefully) fun demo!
I like to think I take an above average amount of steps to secure myself online: I use a password manager, unique passwords as complex as the site will allow, and turn on 2-factor authentication when possible. A true security expert will likely find some sort of flaw in my setup, but I’ll argue that I am doing more than 95% of the planet.
So how did I, someone who is reasonably secure, have his cell phone disabled, his PayPal account compromised, and a few hundred dollars withdrawn from his bank account?
Even when you do the right things to increase your security, social engineering can bypass it all.