Skip to content

Instantly share code, notes, and snippets.

@yveshwang
yveshwang / protobuf-250-on-mac.txt
Created October 13, 2022 12:36 — forked from peterroth/protobuf-250-on-mac.txt
How to install protobuf 2.5.0 on Mac (10.15.7, Catalina). brew required!
brew install automake libtool wget
wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2
tar -xvjf protobuf-2.5.0.tar.bz2
cd protobuf-2.5.0
./autogen.sh
./configure
make; make check
sudo make install
Validate the successful installation:

Keybase proof

I hereby claim:

  • I am yveshwang on github.
  • I am yveshwang (https://keybase.io/yveshwang) on keybase.
  • I have a public key ASD9uHFoRz7McqvR1MOaFjpaxEgjJxjXx_4XpPD7PH5PUQo

To claim this, I am signing this object:

eval "$(rbenv init -)"
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
if which jenv > /dev/null; then eval "$(jenv init -)"; fi
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
export DOCKER_CERT_PATH=/Users/yveshwang/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1
export DOCKER_HOST=tcp://192.168.59.103:2376
@yveshwang
yveshwang / graph_query_response
Last active December 27, 2015 11:19
proposed new format for graph query response
{
"avghitratio": [
{
"time": 1383550914,
"cache_hit": 1113,
"cache_miss": 232
}
]
}