Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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