I hereby claim:
- I am mmajis on github.
- I am mmajis (https://keybase.io/mmajis) on keybase.
- I have a public key whose fingerprint is CFC0 B0A2 A16D ACE4 7677 E159 89E8 96D8 303E DE35
To claim this, I am signing this object:
#!/bin/bash | |
if [[ $# -lt 2 ]] ; then | |
echo "Usage: ./get_logs.sh <search term> <log group filter> [-s <start time ref>, default '24h ago'] [-e <end time ref>, default ''] [-c]" | |
echo "Use -c to wrap the search term in a correlationId filter pattern: {$.correlationId = "search term"}" | |
echo "Example: ./get_logs.sh ERROR appName -s '10m ago' -e '5m ago' -c" | |
exit 1 | |
fi | |
POSITIONAL=() |
docker run -d --name dotbuild -v /path/to/graphviz-src:/dot amazonlinux:2017.03 tail -f /dev/null | |
docker exec -it dotbuild bash | |
yum install expat-devel | |
cd /dot | |
./configure --enable-static=yes --with-expat=yes |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
adb root | |
adb remount | |
adb shell "echo service.adb.tcp.port=5555 >> /data/local.prop" | |
adb shell "chmod 0644 /data/local.prop" |
#!/bin/bash | |
#run as root | |
EC2_REGION="eu-west-1" | |
sed -i.bak -e "s/${EC2_REGION}.ec2.archive.ubuntu.com/${EC2_REGION}.clouds.archive.ubuntu.com/g" /etc/apt/sources.list | |
apt-get update |
knife ec2 server create -I ami-51e91b26 -x ubuntu --identity-file ~/.ssh/identity.pem -g sg-cce70ba9 -s subnet-8cac99f8 -r "role[wordpress-test]" |
knife bootstrap 192.168.200.40 -N nodename -i ~/.ssh/identity.pem -x ubuntu -r "role[wordpress-test]" --sudo |
sudo rabbitmqctl add_vhost /chef | |
sudo rabbitmqctl add_user chef <password here (amqp_pass from /etc/chef/server.rb)> | |
sudo rabbitmqctl set_permissions -p /chef chef “.*” “.*” “.*” |