Cross Platform development with VS Code

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):

Tasks.json example
Tasks.json example

Clipy a replacement for Clipmenu

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.


You Are the Product

John Lanchester:

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.

Recreate React from the ground up

Matt Greer:

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.

Design Your Personal Growth

Melissa Mandelbaum:

In recent conversation, I discovered many of my friends are trying to grow, but struggling to make progress. I dug deeper and realized, growth frameworks are not widely known or practiced.

While these may sound like a chore to do I believe most people need some help with guidance of their career.

High Performance React: 3 New Tools to Speed Up Your Apps

Ben Edelstein:

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 Got Hacked and All I Got Was This New SIM Card

Justin Williams :

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.