Skip to content

Instantly share code, notes, and snippets.

View MantasMikal's full-sized avatar
🧙‍♂️
Centering the <View>

Mantas Mikalauskas MantasMikal

🧙‍♂️
Centering the <View>
View GitHub Profile
@MantasMikal
MantasMikal / App.js
Created July 8, 2021 08:47 — forked from jefflau/App.js
Multiple layouts with React Router V4
/* Inspired by: https://gist.github.com/avinmathew/e82fe7e757b20cb337d5219e0ab8dc2c */
import React, { Fragment } from 'react'
import {
BrowserRouter as Router,
Route as DefaultRoute,
Switch
} from 'react-router-dom'
import TestRegistrar from './routes/TestRegistrar'
import Home from './routes/Home'
import SingleName from './routes/SingleName'
# Know the id of the username in the original distro that was exported
wsl -d Ubuntu-20.04 -u kartz -e id -u
# Outputs 1000
# Knowing the id of the username in the distro that was created by importing the tar image
wsl -d Ubuntu-20 -u kartz -e id -u
# Outputs 1000
# I would want to use this distroname and id, to set this user as the default login profile of WSL.
# I set this up in Windows Registry with the line snippet below: