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
{ | |
"info": { | |
"_postman_id": "f2f80199-0b76-4e18-85de-680172cd17d6", | |
"name": "Mistral AI API", | |
"description": "To get started, you need to set the Postman collection variable `mistralAPIKey` with a valid Mistral AI API key.", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"_exporter_id": "20537536" | |
}, | |
"item": [ | |
{ |
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
{ | |
"info": { | |
"_postman_id": "d7e89525-371a-4d96-8683-ea3d9a40c0ca", | |
"name": "Upload", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "https://hookb.in/OeZner0EOYTyVylW6bWj", | |
"event": [ |
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
while true; do for f in *.svg; do echo "Processing $f file.."; rsvg-convert -h 1080 $f > $f.png; rm $f; done; sleep 5; done |
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
for f in *.svg; \ | |
do echo "Processing $f file.."; \ | |
rsvg-convert -h 1080 $f > $f.png; \ | |
rm $f; \ | |
done |
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
const commonTests = () => { | |
pm.test("Status code is 200", function () { | |
pm.response.to.have.status(200); | |
}); | |
} | |
pm.globals.set('commonTests', commonTests.toString()); | |
eval(pm.globals.get('commonTests'))(); |
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
newman run "https://www.getpostman.com/collections/f36406f34fcc7d4e0502" --suppress-exit-code --reporters teamcity,cli,html --reporter-html-export newman/report.html |
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
newman run "https://www.getpostman.com/collections/f36406f34fcc7d4e0502" --reporters teamcity,cli |
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
newman run "https://www.getpostman.com/collections/f36406f34fcc7d4e0502" |
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
const newman = require('newman'); | |
newman.run({ | |
collection: require(‘./postman_collection.json’), | |
reporters: 'cli' | |
}, function (err) { | |
if (err) { throw err; } | |
console.log('Collection run complete!'); | |
}); |
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
const fs = require('fs'); | |
fs.writeFile(`foo.txt`, 'bar', function (error) { | |
if (error) { | |
console.error(error); | |
} | |
}); |
NewerOlder