This file contains hidden or 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
{ | |
"configs": [ | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v2alpha.BootstrapConfigDump", | |
"bootstrap": { | |
"node": { | |
"id": "sidecar~10.52.4.8~productpage-v1-6c6c87ffff-mvmbd.default~default.svc.cluster.local", | |
"cluster": "productpage.default", | |
"metadata": { | |
"ISTIO_PROXY_SHA": "istio-proxy:5f5d621c9fd0b68e12c8e1b95db849588fbdc475", |
This file contains hidden or 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
{ | |
"configs": [ | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v2alpha.BootstrapConfigDump", | |
"bootstrap": { | |
"node": { | |
"id": "sidecar~10.52.4.8~productpage-v1-6c6c87ffff-mvmbd.default~default.svc.cluster.local", | |
"cluster": "productpage.default", | |
"metadata": { | |
"ISTIO_PROXY_SHA": "istio-proxy:5f5d621c9fd0b68e12c8e1b95db849588fbdc475", |
This file contains hidden or 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
root@accounts-d6969df4b-kflzx:/# curl 0:9901/config_dump | |
{ | |
"configs": [ | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump", | |
"bootstrap": { | |
"node": { | |
"hidden_envoy_deprecated_build_version": "923c4111bb48405ac96ef050c4f59ebbad3d7761/1.14.4/Clean/RELEASE/BoringSSL", | |
"user_agent_name": "envoy", | |
"user_agent_build_version": { |
This file contains hidden or 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
#! /usr/bin/env bash | |
# Install any build dependencies needed for curl | |
sudo apt-get build-dep curl | |
# Get latest (as of Feb 25, 2016) libcurl | |
mkdir ~/curl | |
cd ~/curl | |
wget http://curl.haxx.se/download/curl-7.69.1.tar.bz2 |
This file contains hidden or 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
import datetime | |
past_limit_date = datetime.datetime.now() + datetime.timedelta(-7) | |
prod_ts = 1521028848183 | |
prod_ds = datetime.utcfromtimestamp(prod_ts/1000) |
This file contains hidden or 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
set -e | |
for f in *; do | |
if [[ -d $f ]]; then | |
echo $f; | |
cd $f; | |
git remote get-url origin | grep -q '^https://' && git remote set-url origin "$(git remote get-url origin | sed 's|https://github.com/|[email protected]:|')" && echo 'updated!'; | |
cd ..; | |
fi | |
done |
This file contains hidden or 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
# TYPE listener.downstream_cx_destroy counter | |
listener.downstream_cx_destroy{envoy.listener_address=127.0.0.1_0} 0 | |
# TYPE listener.downstream_cx_total counter | |
listener.downstream_cx_total{envoy.listener_address=127.0.0.1_0} 0 | |
# TYPE listener.downstream_cx_proxy_proto_error counter | |
listener.downstream_cx_proxy_proto_error{envoy.listener_address=127.0.0.1_0} 0 | |
# TYPE redis.redis.command.mset.total counter | |
redis.redis.command.mset.total{} 0 | |
# TYPE redis.redis.command.mget.total counter | |
redis.redis.command.mget.total{} 0 |
This file contains hidden or 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
for subdir in *; do mv $subdir/iPhone\ 6\ –\ 36.png /Users/lita/Android/ghostgear/app/src/main/res/$subdir/splash.png; done; |
This file contains hidden or 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
def abc(): | |
pass | |
s = abc |
This file contains hidden or 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
{ | |
"name": "SmartPricing", | |
"description": "Test to see how users behave when we use Smart Pricing for Courier rides rather than Flat Pricing.", | |
"variants": [ | |
{ | |
"name": "hotzone", | |
"description": "control group", | |
"metadata": { | |
"pricing": "hotzone" | |
} |
NewerOlder