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
// versao sem curry | |
function fatiar(prato1, prato2, prato3, prato4, pizza) { // nossa pizza aqui é de pedaçoes grandes | |
return [ | |
{ | |
[prato1]: pizza/4 | |
}, | |
{ | |
[prato2]: pizza/4, | |
}, |
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
if (pluginHelper.startsWith(givenPath, '$/')) { | |
path.node.source.value = pluginHelper.transformReflectiveToRootPath( | |
givenPath, | |
state.file.opts.filename, | |
rootPathSuffix, | |
testFolder, | |
); | |
} |
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
curl -v https://api.sandbox.paypal.com/v1/payments/payment \ | |
-H 'Content-Type: application/json' \ | |
-H 'Authorization: Bearer A21AAG_sHaCrvQURWObVETp38N6Hres90O6oo8lbrMQBe9YhlODYYni_gx1H8LCF_m97NcmoUmOJ2DB0c2E7HATqyDkDNMagQ' \ | |
-d '{ | |
"intent":"sale", | |
"payer":{ | |
"payment_method":"paypal" | |
}, | |
"transactions":[ | |
{ |
NewerOlder