Programmatically navigate with React Router

When building an app with React Router, eventually you’ll run into the question of navigating programmatically. Because of the churn that React Router has gone through in the last few years, there are a lot of outdated, and frankly incorrect tutorials out there. The goal of this post is to break…

The easiest way to scrape data in a web page with Python

Let’s say you are searching the web for some raw data you need for a project and you stumble across a webpage like this: You found exactly what you need — an up-to-date page with exactly the data you need! But the bad news is that the data lives inside a web page and there’s no API that you can use…

MySQL Create Database with UTF8 Character Set Syntax

I always forget the MySQL create database with UTF8 character set syntax, so here it is: Alternatively, you can use ‘CREATE SCHEMA’ instead of ‘CREATE DATABASE’: I hope this helps someone else too!

Handling 404 pages (catch all routes) with React Router v4

A common use case for when you’re building an app with React Router is to have a “catch all” route that will be rendered if none of your other routes match. A good example of this is if you wanted your client-side router to render a 404 page. To see how this works, let’s first render a navbar with…

Who is your best mentor?

I’ve heard some wise men said: The best mentor is someone who’s 1–2 years in front of you. Someone who has just been through what you’re about to go through. Any longer and the advice gets fuzzy. You want it when it’s fresh. It can’t be truer. I started with BJJ (Brazilian Jiu-Jitsu) about a year…

Page 8 Of 12