Skip to content

Instantly share code, notes, and snippets.

View josuesasilva's full-sized avatar

Josué Santos josuesasilva

View GitHub Profile
@josuesasilva
josuesasilva / 0 - setup
Created November 9, 2020 19:02 — forked from aserhat/0 - setup
QEMU and HVF
# Summary
A few notes I took to see if I could use MacOS as Hypevirsor in a similar fashion to Linux
I wanted to see how few addons were needed instead of using Parallels, Virtual Box, VM Fsion etc.
The idea is to use QEMU, Hypervisor Framework (https://developer.apple.com/documentation/hypervisor) and some custom host networking.
# Installations
brew install qemu (For controlling Hypervisor Framework)
brew install cdrtools (For making cloud init iso's)
http://tuntaposx.sourceforge.net/download.xhtml (For customer tap based networking)
@josuesasilva
josuesasilva / fig.png
Created July 11, 2019 15:14 — forked from morishin/left-align-stack-view.png
Align to Left the contents of UIStackView
fig.png
@josuesasilva
josuesasilva / api.js
Created November 10, 2013 17:37 — forked from fwielstra/api.js
/* The API controller
Exports 3 methods:
* post - Creates a new thread
* list - Returns a list of threads
* show - Displays a thread and its posts
*/
var Thread = require('../models/thread.js');
var Post = require('../models/post.js');

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname