I hereby claim:
- I am lngramos on github.
- I am luisramos (https://keybase.io/luisramos) on keybase.
- I have a public key ASChyzVYBGOWJsJCVQVjdCPpQg-kYqseyg8DjY9THWq02Qo
To claim this, I am signing this object:
| aws ec2 describe-images --filter Name="owner-alias",Values="amazon" --filter Name="name",Values="amzn-ami-vpc-nat*" |
| kubectl get -o yaml ds kube2iam > kube2iam.yml | |
| kubectl delete --cascade=false ds kube2iam | |
| kubectl apply -f kube2iam.yml |
| (function () { | |
| const app = window.app; | |
| console.log('The sum is: ',app.sum(2, 5)); | |
| console.log("The word is: " + app.word); | |
| })(); |
| #!/bin/bash | |
| set -e | |
| AWS_REGION=$(curl -s -f http://169.254.169.254/latest/dynamic/instance-identity/document | jq .region -r) | |
| echo "Detected AWS Region: $AWS_REGION" | |
| INSTANCE_ID=$(curl -s -f http://169.254.169.254/latest/meta-data/instance-id) | |
| echo "Retrieved instance ID: $INSTANCE_ID" |
I hereby claim:
To claim this, I am signing this object:
A unified approach is required as to how Runscope determines the health of services running inside the ‘ops’ VPC to ensure that all platforms are consistent.
This document describes a proposal for implementing an ELB-based service discovery for components within the ‘ops’ VPC, but also highlights other approaches and explains why an ELB-based solution might be the most practical and simplest solution.
Our services aren’t accessible over the Internet, making it impossible for Runscope to be able to monitor them.
Note: this is no longer a problem, as we have setup a Runscope Agent within our ops infrastructure to allow Runscope access to our private service APIs.
This is a bash script that will automatically turn your wifi off if you connect your computer to an ethernet connection and turn wifi back on when you unplug your ethernet cable/adapter. If you decide to turn wifi on for whatever reason, it will remember that choice. This was improvised from this mac hint to work with Yosemite, and without hard-coding the adapter names. It's supposed to support growl, but I didn't check that part. I did, however, add OSX notification center support. Feel free to fork and fix any issues you encounter.
Most the credit for these changes go to Dave Holland.
| <div class="background background--animate"></div> |
| <div> | |
| <ul> | |
| <li>a</li> | |
| <li>b</li> | |
| <li>c</li> | |
| <li>d</li> | |
| <li>e</li> | |
| <li>f</li> | |
| <li>g</li> | |
| <li>h</li> |
| with open('assets.txt') as f: | |
| for line in f: | |
| lineVals = line.split() | |
| assetName = lineVals[0] | |
| assetData = lineVals[1] | |
| fh = open(assetName + '.png', "wb") | |
| fh.write(assetData.decode('base64')) | |
| fh.close() |