Tech

4 posts

Understanding OCI (The Open Container Initiative)

#oci #container #cloud

What Is OCI?

The Open Container Initiative (OCI) is a Linux Foundation project launched in June 2015 by Docker, CoreOS, and other container industry leaders. Its mission is to create open industry standards around container formats and runtimes.

OCI governs three core specifications:

SpecificationPurposeVersion
Runtime Specification (runtime-spec)How to run a container from a filesystem bundle1.2
Image Specification (image-spec)How to package and ship container images1.1
Distribution Specification (distribution-spec)How to push/pull images to/from a registry1.1

These three specs define the complete lifecycle of a container: build β†’ ship β†’ run.

Read more

Migrating from Hexo to Hugo: A Two-Day Journey with a Custom Theme

#hugo #hexo #static-site

Introduction

After spending two days migrating my blog from Hexo to Hugo, I’m excited to share my journey. The move wasn’t just about switching toolsβ€”it was about creating something tailored to my needs. With AI assistance, I designed a custom Hugo theme called Signal that reflects my style and requirements.

This post covers the migration process, highlights the key differences between Hexo and Hugo, and introduces the Signal theme along with the GitHub Actions deployment workflow.

Read more

vmware_vs_virtualbox

#tech

Comparsion between virtualbox and virmware on macbook pro early 2015My macbook pro is relatively old, the performance of VM app is more important. Here are some issues I encoutered during using windows 7 on Vmware fusion pro and virtual box.

  • Both vm apps need to install drivers to support usb 3.0. VMware needs to enable settings firstly, then install Intel usb 3.0 driver. But for virtual box only needs to install extensionl pack.

Read more

Markdown example

#tech #markdown

General text

#this is header

**hi, this is bold**

*this is italic font*

this is another line

## this is header two

You’re really, really going to want to see this. Shortcut for markdown all in one[preview][toggle preview]

Visit Markdown Guide Alt text for image

Key Command

Ctrl/Cmd + B Toggle bold Ctrl/Cmd + I Toggle italic Alt+S (on Windows) Toggle strikethrough1 Ctrl + Shift + ] Toggle heading (uplevel) Ctrl + Shift + [ Toggle heading (downlevel) Ctrl/Cmd + M Toggle math environment Alt + C Check/Uncheck task list item [toggle preview]: Ctrl/Cmd + Shift + V Toggle preview Ctrl/Cmd + K V Toggle preview to side The latest news from BBCimage link[orange cat]: Inline link[orange cat][orange cat]

blockquotes

The sin of doing nothing is the deadliest of all the seven sins. It has been said that for evil men to accomplish their purpose it is only necessary that good men should do nothing.

this is a odd paragraph

Lists

  • one

  • two

  • one

  • two

  • hello

    • hello again
  • one
  • two
  • three

paragraphs

We pictured the meek mild creatures where They dwelt in their strawy pen, Nor did it occur to one of us there

  • To doubt they were kneeling then.

Code block


#include <iostrem>
int main()
{
    std::cout << "Hello cpp world" << "/n";
    return 0;
}

Tables

Read more