Skip to content

Instantly share code, notes, and snippets.

Avatar
wheeee!

Kittywhiskers Van Gogh kittywhiskers

wheeee!
View GitHub Profile
@slykar
slykar / docker-compose-hackintosh.md
Last active Apr 17, 2021
Docker and Docker Compose on AMD OSX Hackintosh via Docker Machine
View docker-compose-hackintosh.md

Introduction

Docker.app will complain about incompatible processor, so we will use Docker Machine.

Instalation

Download Docker for Mac (Docker.app). It contains some binaries that are necessary.

brew install virtualbox docker-machine
@nuomi1
nuomi1 / PrintBootCampESDInfo.swift
Last active Mar 17, 2021
macOS and BootCamp Latest
View PrintBootCampESDInfo.swift
#!/usr/bin/env swift
//
// REPL.swift
//
// Created by nuomi1 on 8/5/18.
// Copyright © 2018年 nuomi1. All rights reserved.
//
import Foundation
@nhatminhle
nhatminhle / stdatomic.h
Last active Oct 31, 2020
A portable version of stdatomic.h extracted from the FreeBSD libc, for Clang 3.1+ and GCC 4.7+.
View stdatomic.h
/*
* An implementation of C11 stdatomic.h directly borrowed from FreeBSD
* (original copyright follows), with minor modifications for
* portability to other systems. Works for recent Clang (that
* implement the feature c_atomic) and GCC 4.7+; includes
* compatibility for GCC below 4.7 but I wouldn't recommend it.
*
* Caveats and limitations:
* - Only the ``_Atomic parentheses'' notation is implemented, while
* the ``_Atomic space'' one is not.