kunal@kunal-PC MINGW64 ~
$ docker-machine --debug create -d virtualbox default
Docker Machine Version: 0.5.0 (04cfa58)
Found binary path at C:\Program Files\Docker Toolbox\docker-machine-driver-virtualbox.exe
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:53250
() Calling RpcServerDriver.GetVersion
Using API Version 1
() Calling RpcServerDriver.SetConfigRaw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
type NodeElement struct { | |
data interface{} | |
next *NodeElement | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"container/list" | |
"strconv" | |
) | |
type LRUObj struct { | |
lruLookup map[string]interface{} | |
lru *list.List |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p $HOME/.vim/ftdetect | |
mkdir -p $HOME/.vim/syntax | |
mkdir -p $HOME/.vim/autoload/go | |
ln -s $GOROOT/misc/vim/ftdetect/gofiletype.vim $HOME/.vim/ftdetect/ | |
ln -s $GOROOT/misc/vim/syntax/go.vim $HOME/.vim/syntax | |
ln -s $GOROOT/misc/vim/autoload/go/complete.vim $HOME/.vim/autoload/go | |
echo "syntax on" >> $HOME/.vimrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"bytes" | |
"crypto/tls" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"io/ioutil" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just left a couple of comments in there. | |
I also think there's still a bit of a misunderstanding as to how we expect this to work, so let me try to clarify this a bit :) | |
The lxc command line tool has a concept of "remotes" which can be: | |
A LXD host | |
An image server using the lxc-images protocol (such as https://images.linuxcontainers.org) | |
An image server using the system-image protocol (such as https://system-image.ubuntu.com) | |
A registry pointing to a set of remotes using one of the aforementioned protocols (such as https://registry.linuxcontainers.org) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"log" | |
"syscall" | |
"github.com/docker/libcontainer" | |
"github.com/docker/libcontainer/configs" | |
_ "github.com/docker/libcontainer/devices" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"strings" | |
"bytes" | |
"os/exec" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# HEADS UP! Make sure to use '*' or a valid hostname for the FDQN prompt | |
echo 01 > ca.srl | |
openssl genrsa -des3 -out ca-key.pem | |
openssl req -new -x509 -days 365 -key ca-key.pem -out ca.pem | |
openssl genrsa -des3 -out server-key.pem | |
openssl req -new -key server-key.pem -out server.csr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <malloc.h> | |
typedef struct _node | |
{ | |
int data; | |
struct _node *left; | |
struct _node *right; | |
}node; |
OlderNewer