Skip to content

Instantly share code, notes, and snippets.

@shumbo
shumbo / blog.js
Created July 1, 2018 14:00
Hugo image helper
const v = require('vorpal')();
const sharp = require('sharp');
const child_process = require('child_process');
const fs = require('fs');
const path = require('path');
const max_page_width = 967; // possible maximum page width
const max_width = { // list of sizes
@shumbo
shumbo / story.tsx
Last active September 13, 2024 05:15
A storybook decorator to use React Hooks Form inside stories
export default {
title: "MyComponent",
component: MyComponent,
decorators: [withRHF(false)], // or true to show submit button on story
} as Meta;

Project 5: Container

GOAL: This project will sum up all the knowledge you have learned about operating systems and create a small container runtime that can run a containerized process on Linux.

Introduction to Container

What is a Container?

Throughout the course, we have been using Docker and Dev Container to run our code. But what exactly is a container?