This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Caso esteja executando no portal o proximo comando não se faz necessário | |
az login | |
#Lista as contas ativas | |
$subName = '<<subscriptionId/Name>>' | |
$siteName = 'AppSrvWordPressTest' | |
$RgName = 'RGWordPressTest' | |
$AppSrvName = 'AppSrvWordPressTest' | |
az account list | |
#Seleciona a Subscrição | |
az account set -s $subName |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Export All Views to Markdown | |
* | |
* Based on smileham/Export to Markdown.ajs - https://gist.github.com/smileham/578bbbb88dc0ed5a1403f3b98711ec25 | |
* (c) 2018 Steven Mileham | |
* | |
* | |
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/ | |
* | |
* Markdown - https://www.markdownguide.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%dw 2.0 | |
output application/json | |
import * from dw::core::Strings | |
var cpf = leftPad(payload.cpf, 11, "0") | |
var size = sizeOf(cpf) | |
var chars = splitBy(cpf, "") [0 to 8] | |
var verify = splitBy(cpf, "") [9 to 10] | |
fun sumcpf1(cpf) = |