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
ISTIO_VERSION=${ISTIO_VERSION:-1.16.1} | |
git clone https://github.com/istio/proxy.git --depth 1 | |
pushd proxy | |
git fetch --tags | |
git checkout "${ISTIO_VERSION}" | |
# Compile envoy with FIPS: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/security/ssl#fips-140-2 | |
echo "build --define boringssl=fips" >> .bazelrc | |
BUILD_WITH_CONTAINER=1 make build_wasm build build_envoy exportcache |
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
/* This code snippet is a part of the blog at | |
https://github.com/animeshtrivedi/blog/blob/master/post/2017-12-26-arrow.md | |
*/ | |
import com.google.common.collect.ImmutableList; | |
import org.apache.arrow.memory.RootAllocator; | |
import org.apache.arrow.vector.*; | |
import org.apache.arrow.vector.dictionary.DictionaryProvider; | |
import org.apache.arrow.vector.types.FloatingPointPrecision; | |
import org.apache.arrow.vector.types.pojo.ArrowType; |
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
detach { //this creates a new actor | |
completeWith { //we use a completeWith directive which respones with whatever we output at the end of the code block | |
var person = new Person(); | |
person.address = getAddress(address['latitude'], address['longitude']).then((result) => person.address = result) | |
person.save | |
"saved!" | |
} | |
} |