- What:
- Why:
- Ticket:
- Discussion:
- I manually verified the change in my local environment
| #!/usr/bin/env bash | |
| # | |
| # | |
| SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | |
| set -xe | |
| NGROK_DIR=${SCRIPT_DIR}/ngrok | |
| mkdir -p $NGROK_DIR || true | |
| NGROK_CONFIG=${NGROK_DIR}/ngrok.yml | |
| which ngrok || brew install ngrok |
| import argparse | |
| import bisect | |
| from collections import defaultdict | |
| import sys | |
| class HuffmanNode: | |
| """ | |
| A node class for encoding data. It provides a way to created a weighted tree | |
| and then produced an encoded string from the tree. |
| #!/bin/bash | |
| PGSQL_DIR=/usr/local/pgsql | |
| export PGDATA=${PGSQL_DIR}/data | |
| if [ ! -e ${PGDATA}/PG_VERSION ] | |
| then | |
| initdb -D ${PGDATA} | |
| fi | |
| echo ${PGSQL_DIR} | |
| postgres -D ${PGDATA} > ${PGSQL_DIR}/logfile 2>&1 & | |
| echo $! > ${PGSQL_DIR}/pg.pid |
| ;;Required plugins: | |
| ;Erlang OTP, color-theme, distel, auto-complete-distel | |
| ; | |
| ;; Erlang | |
| (setq load-path (cons "/otp/17.4/lib/tools-2.7.1/emacs" load-path)) | |
| (setq erlang-root-dir "/otp/17.4/") | |
| (setq inhibit-splash-screen t) | |
| (setq exec-path (cons "/otp/R15B/lib/erlang/bin" exec-path)) |
call the following:
api.create_dashboard(
title, description,
graphs, template_vars)where the values are the following:
title="pubsub-bench"| -module(ets_update). | |
| -compile(export_all). | |
| setup() -> | |
| ets:new(test, [public, named_table]), | |
| ets:insert(test, {test, 0}). | |
| lookup(N) -> | |
| ets:lookup(test, N). |
| 2014-09-18 22:57:54+0000 [DispatcherFromUDPLogProtocol (UDP)] { | |
| "category": "hullabaloo_chaos", | |
| "node": "rte_v1_v2_test@ip-10-33-16-217", | |
| "nodes": [ | |
| "rte_v1_v2_test@ip-10-33-16-217", | |
| "rte_v1_v2_test@ip-10-41-64-106" | |
| ], | |
| "result": true, | |
| "timestamp": 1411081075, | |
| "what": "kill_process" |
| -module(same_string). | |
| -export([test/0, | |
| is_re_message_the_same/2, | |
| is_message_the_same/2]). | |
| %% XXX - make sure this works with unicode | |
| non_word() -> | |
| [$\n, $\r, $\t,$!,$",$#,$$,$%,$&,$',$(, | |
| $),$*, $+,$,, $\\, $-, |