- http://futureboy.us/frinkdocs
1.5 MB/km/hour
✔
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
xattr -d FILE | |
find . | xargs xattr -d com.apple.quarantine |
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
$ docker build -t mattes/boot2docker-vbga --no-cache . | |
Sending build context to Docker daemon 224.3 kB | |
Sending build context to Docker daemon | |
Step 0 : FROM boot2docker/boot2docker | |
Pulling repository boot2docker/boot2docker | |
d2d1bebeaee3: Pulling dependent layers | |
246bddd326c3: Pulling dependent layers | |
511136ea3c5a: Download complete | |
aa775e7e1cd4: Download complete |
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
# curl https://gist.githubusercontent.com/mattes/a83b887e0e79a461ce95/raw/update.sh | bash | |
boot2docker version | |
docker version | |
# update docker | |
( | |
cd /tmp | |
wget http://get.docker.io/builds/Darwin/x86_64/docker-latest.tgz | |
tar -xvf docker-latest.tgz |
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
go get github.com/libgit2/git2go | |
# github.com/libgit2/git2go | |
Undefined symbols for architecture x86_64: | |
"_git_blob_create_frombuffer", referenced from: | |
__cgo_bc0973baa668_Cfunc_git_blob_create_frombuffer in blob.cgo2.o | |
(maybe you meant: __cgo_bc0973baa668_Cfunc_git_blob_create_frombuffer) | |
"_git_blob_create_fromchunks", referenced from: | |
__go_git_blob_create_fromchunks in wrapper.o | |
(maybe you meant: __cgo_bc0973baa668_Cfunc__go_git_blob_create_fromchunks, __go_git_blob_create_fromchunks ) | |
"_git_blob_rawcontent", referenced from: |
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
cd /Users/mattes/Developer/go/src/github.com/libgit2 | |
git clone https://github.com/libgit2/git2go.git | |
cd git2go | |
git submodule update --init | |
make install | |
./script/build-libgit2-static.sh | |
+ VENDORED_PATH=vendor/libgit2 | |
+ cd vendor/libgit2 | |
+ mkdir -p build |
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
# download and install VirtualBox | |
# see https://www.virtualbox.org/wiki/Downloads | |
# install docker and boot2docker | |
brew install docker | |
brew install boot2docker | |
# use custom boot2docker.iso | |
# see https://medium.com/boot2docker-lightweight-linux-for-docker/boot2docker-together-with-virtualbox-guest-additions-da1e3ab2465c | |
mv ~/.boot2docker/boot2docker.iso ~/.boot2docker/boot2docker.iso.backup |
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
daemon off; | |
error_log stderr; | |
worker_processes 2; | |
pid /var/lib/nginx/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
http { |
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
ERROR 2014-11-28 20:14:27,903 api_server.py:221] Exception while handling service_name: "mail" | |
method: "Send" | |
request: "\n\023xxx@xxx.com\032\026xxx@xxx.com2\004Test:\011Text BodyB\011HTML Body" | |
request_id: "EUYraGYkNt" | |
Traceback (most recent call last): | |
File "/usr/local/Cellar/go-app-engine-64/1.9.15/share/go-app-engine-64/google/appengine/tools/devappserver2/api_server.py", line 196, in _handle_POST | |
api_response = _execute_request(request).Encode() | |
File "/usr/local/Cellar/go-app-engine-64/1.9.15/share/go-app-engine-64/google/appengine/tools/devappserver2/api_server.py", line 154, in _execute_request | |
make_request() |
Use https://github.com/mattes/fugu instead
(cd /usr/local/bin && curl -O https://gist.githubusercontent.com/mattes/9b2ba13545309cbc2efe/raw/docker-images && chmod +x docker-images)