Skip to content

Instantly share code, notes, and snippets.

@kiyoaki
Last active June 29, 2017 06:02
Show Gist options
  • Save kiyoaki/43300a6c7b2411805d587d1d1678941d to your computer and use it in GitHub Desktop.
Save kiyoaki/43300a6c7b2411805d587d1d1678941d to your computer and use it in GitHub Desktop.
cloud instance prices monthly JPY
# AWS
http://qiita.com/yuroyoro/items/08cded7662cf494d53f2
# GCP
$("td.ng-isolate-scope").each(function(i,e){var s=$($(e)[0]).text(); if(s.includes("$")){var v=s.replace(/[^0-9^\.]/g,"")*24*30*112;$(e).text(s+" | 月額 "+v.toFixed(0)+"円");}});
# Azure
$("span.price-data ").each(function(i,e){var s=$($(e)[0]).text(); var v=s.replace(/[^0-9^\.]/g,"")*24*30;$(e).text(s+" | 月額 "+v.toFixed(0)+"円");});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment