Skip to content

Instantly share code, notes, and snippets.

func Launch(vbox *VBoxSpec, statusch chan<- *VmStatus, quitch <-chan bool) {
go func() {
vboxPath := main.Config["VboxPath"]
vboxHeadlessBin := fmt.Sprintf("%s/VBoxHeadless", vboxPath)
statusch <- VmStatus{vbox, VMSTATUS_LAUNCHING}
var stdoutFilePtr *File
package main
import ("log")
type Test struct {
v int
}
func (t *Test) SetTo(i int) *Test {
t.v = i
package main
import ("log")
type Test struct {
a []byte
}
/*func (t *Test) Push(v byte) *Test {
n := len(t.a)
// A
i.header.Write(&[...]byte{ 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00 });
// B
i.header.WriteString("\xf0\x00\x00\x00\x00\x00")
// C
i.header.WriteByte(0xf0);
i.header.WriteByte(0x00);
i.header.WriteByte(0x00);
192c192,195
< 'left': menu.position().left + $e.position().left
---
> 'left': menu.position().left + $e.position().left +
> document.defaultView ?
> (document.defaultView.getComputedStyle(menu, null)['margin-left'] || 0)
> : 0;
a l=l==sort l
b l=all even(dropWhile odd l)
c=partition
d l=all(==(length l))(map length l)
e []=[]
e l=l!!0!!0:e(map tail(tail l))
git checkout -q -b current archive
find . -iname '_archived' -exec git rm -r {}/.. \; >/dev/null 2>/dev/null
git commit --allow-empty -m 'Archived delta' >/dev/null