/**
* Responds to any HTTP request that can provide a "cep" field in the body.
*
* @param {!Object} req Cloud Function request context.
* @param {!Object} res Cloud Function response context.
*/
exports.helloWorld = function helloWorld(req, res) {
console.log("Using parameter: " + req.body.cep);
This file contains hidden or 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
| /** | |
| * Arquivo exemplo para teste de api | |
| * A API utilizada neste projeto eh | |
| * @see https://magicthegathering.io/ | |
| * | |
| * Este exemplo faz parte de um post no medium | |
| * @see https://medium.com/@hdeodato/teste-autom%C3%A1tico-de-api-rest-usando-com-node-js-mocha-chai-6aec4613d100 | |
| * | |
| * @author Henrique Deodato | |
| * @see twitter.com/hdeodato |
This file contains hidden or 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
| wifi-menu | |
| ping www.google.com | |
| # setup disk partitions | |
| cfdisk. | |
| # format disk partitions | |
| lsblk /dev/sda | |
| mkfs.ext4 /dev/sda1 | |
| mkfs.ext4 /dev/sda2 |
This file contains hidden or 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
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Just a simple demo.</title> | |
| <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.css" /> | |
| <script src="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.js"></script> | |
| <link rel="stylesheet" href="./map.css" /> | |
| </head> | |
| <body> | |
| <p><strong>Here</strong> we go!</p> |