This code computes the current hourly and monthly cost of a project on Google Compute Engine. It uses this pricing page as the reference.
Read all the files produced by gcutil. Then turn each file content into json.
| #!/bin/bash | |
| # | |
| #################################### | |
| # iTunes Command Line Control v1.0 | |
| # originally written by David Schlosnagle | |
| # created 2001.11.08 | |
| # edit 2010.06.01 rahul kumar | |
| # edit 2011.12.11 Riccardo Carlesso | |
| #################################### |
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <Module> | |
| <ModulePrefs title="Developer Forum v1.2" | |
| title_url="http://groups.google.com/group/Google-Gadgets-API" | |
| height="200" | |
| category="from_googlers" | |
| author="Riccardo Carlesso" | |
| author_email="ricc@google.com" | |
| > | |
| <Require feature="setprefs" /> |
This code computes the current hourly and monthly cost of a project on Google Compute Engine. It uses this pricing page as the reference.
Read all the files produced by gcutil. Then turn each file content into json.
| #!/bin/bash | |
| # This script tries to find the difference in latency between Us/EU HTTP/HTTPS AppEngine apps. | |
| # Also testing a simple '/' path from a '/slow' (which does a sleep(1) and simulates some traffic on page). | |
| # Appids: | |
| # - http://eu-ricc-test.appspot.com/ | |
| # - http://us-ricc-test.appspot.com/ | |
| VER=1.1c |
Article on Medium: https://medium.com/@palladiusbonton/how-to-migrate-projects-across-organizations-c7e254ab90af
This gist: https://gist.github.com/palladius/a99993feb7e6d78b7a2abea0a10c3242
You could add this to a .envrc and use direnv for instance: