Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
This is about documenting getting Linux running on the late 2016 and mid 2017 MPB's; the focus is mostly on the MacBookPro13,3 and MacBookPro14,3 (15inch models), but I try to make it relevant and provide information for MacBookPro13,1, MacBookPro13,2, MacBookPro14,1, and MacBookPro14,2 (13inch models) too. I'm currently using Fedora 27, but most the things should be valid for other recent distros even if the details differ. The kernel version is 4.14.x (after latest update).
The state of linux on the MBP (with particular focus on MacBookPro13,2) is also being tracked on https://github.com/Dunedan/mbp-2016-linux . And for Ubuntu users there are a couple tutorials (here and here) focused on that distro and the MacBook.
Note: For those who have followed these instructions ealier, and in particular for those who have had problems with the custom DSDT, modifying the DSDT is not necessary anymore - se
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
| import path from 'path'; | |
| import fs from 'fs'; | |
| import initStoryshots from '@storybook/addon-storyshots'; | |
| import { imageSnapshot } from './storyshots-puppeteer'; | |
| import devices from 'puppeteer/DeviceDescriptors'; | |
| // Store the screenshots outside the source folder to prevent jest from 'watching' them. | |
| // Since they're outside the src directory we nav to them relatively | |
| const ROOTDIR = path.join(__dirname, '../../../'); |
| module.exports = { | |
| // Make sure you match CSF files! | |
| testMatch: ['**/__tests__/**/*.js', '**/?(*.)test.js', '**/?(*.)stories.js'], | |
| // You'll probably want to add some code to mock out things for stories | |
| setupFilesAfterEnv: ['<rootDir>/.storybook/setupFilesAfterEnv'], | |
| transform: { | |
| // This is the key bit! |
| import * as React from 'react'; | |
| export default { | |
| title: 'Components/Grid', | |
| }; | |
| type FilterString<S extends string, T extends string> = S extends T ? never : S; | |
| type Split<S extends string, D extends string> = string extends S | |
| ? string[] |