I hereby claim:
- I am bruceliator on github.
- I am bruceliator (https://keybase.io/bruceliator) on keybase.
- I have a public key ASDIGnjpHplcAwWycOQOVrvdfCXxlg1W0jgPQulmyBx7DQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
round the world in seven whiskeys, if youve drank these seven you'll have an idea of what whiskeys can do. i've deliberately picked "extreme flavored" scotches rather than necessarily "good" ones, to ensure the maximum flavor range possible. there are better islays, speysides, ryes, etc, but my intention is to show the wide flavor of high end whiskies.
#... | |
__git_color_ps1 () | |
{ | |
if [ -n "$(__git_ps1)" ]; then | |
local IS_CLEAN=`git status | grep -c "working directory clean"`; | |
if [ $IS_CLEAN -eq 0 ]; then | |
echo -e "\e[1;31m" | |
else | |
echo -e "\e[1;37m" | |
fi |
NODE="Glob" //Its the name of your node http://localhost:9200/_nodes | |
IFS=$'\n' | |
for line in $(curl -s 'localhost:9200/_cat/shards' | fgrep UNASSIGNED); do | |
INDEX=$(echo $line | (awk '{print $1}')) | |
SHARD=$(echo $line | (awk '{print $2}')) | |
curl -XPOST 'localhost:9200/_cluster/reroute' -d '{ | |
"commands": [ | |
{ | |
"allocate": { |