Skip to content

Instantly share code, notes, and snippets.

View erickvictor's full-sized avatar

Erick Victor de Melo Bernardo erickvictor

View GitHub Profile
@h3nr1ke
h3nr1ke / cards.spec.js
Last active April 15, 2019 18:29
Arquivo exemplo de teste automático, projeto no github https://github.com/h3nr1ke/teste_api
/**
* 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
@diegopacheco
diegopacheco / ws-soa-google-cloud-functions.md
Last active July 12, 2021 21:13
How to Call WS Soap from Google Cloud Functions
/**
 * 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);  
 
@eddmann
eddmann / arch.sh
Last active June 1, 2025 11:50
Arch Setup (with Awesome)
wifi-menu
ping www.google.com
# setup disk partitions
cfdisk.
# format disk partitions
lsblk /dev/sda
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2
@virtualandy
virtualandy / index.html
Last active October 25, 2022 20:17
Simple demo using Here maps and Leaflet.
<!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>