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
#!/bin/sh | |
netstat -tanp | grep LISTEN |
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
MAPPING> DBG_21099 [2016-06-06 17:00:20.722] Default values: Output Row[0] going to transform [Task] | |
MAPPING> DBG_21056 [2016-06-06 17:00:20.722] column=[Id_OUT], defaultvalue=[ERROR('transformation')] | |
MAPPING> TE_7007 [2016-06-06 17:00:20.722] Transformation Evaluation Error [<<Expression Error>> [ERROR]: transformation | |
... nl:ERROR(u:'transformation')] | |
MAPPING> DBG_21367 [2016-06-06 17:00:20.722] Note: Output column [Id_OUT] has no default value. Row will be skipped if transformation errors are encountered | |
MAPPING> DBG_21056 [2016-06-06 17:00:20.722] column=[WhoId_OUT], defaultvalue=[ERROR('transformation')] | |
MAPPING> TE_7007 [2016-06-06 17:00:20.722] Transformation Evaluation Error [<<Expression Error>> [ERROR]: transformation | |
... nl:ERROR(u:'transformation')] | |
MAPPING> DBG_21367 [2016-06-06 17:00:20.722] Note: Output column [WhoId_OUT] has no default value. Row will be skipped if transformation errors are encountered | |
MAPPING> DBG_21056 [2016-06-06 17:00:20.722] column=[WhatId_OUT], defaultvalue=[E |
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
redirect-gateway def1 |
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
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U |
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
#!/bin/sh | |
for i in `lsdev | egrep hdisk[0-9*] | awk '{print $1}'`; do echo -====== $i ======-; lsattr -El $i; done >> ~/gbc_result.txt | |
for i in `lsdev | egrep fcs[0-9*] | awk '{print $1}'`; do echo -====== $i ======-; lsattr -El $i; done >> ~/gbc_result.txt | |
for i in `lsdev | egrep vscsi[0-9*] | awk '{print $1}'`; do echo -====== $i ======-; lsattr -El $i; done >> ~/gbc_result.txt | |
echo -======= tunables ======- >> ~/gbc_result.txt | |
cat /etc/tunables/lastboot >> ~/gbc_result.txt |
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
#!/bin/sh | |
# get parallels driver | |
curl -L https://github.com/Parallels/docker-machine-parallels/releases/download/v1.0.0/docker-machine-driver-parallels > /usr/local/bin/docker-machine-driver-parallels | |
# set exec bit | |
chmod +x /usr/local/bin/docker-machine-driver-parallels | |
# create parallels docker machine | |
docker-machine create --driver=parallels prl-dev |
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
#!/bin/sh | |
find /var/log/ -type f -mtime +3 -name "*log*" -delete | |
find /var/log/ -type f -mtime +3 -name "*log" -delete |
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
cd $(brew --repository) | |
git reset --hard FETCH_HEAD |
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
ps -eo nlwp | tail -n +2 | awk '{ num_threads += $1 } END { print num_threads }' |
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
curl -XDELETE 'localhost:9200/logstash-2015.09.09' |