Skip to content

Instantly share code, notes, and snippets.

View rito's full-sized avatar

Jean Martins Rito rito

View GitHub Profile
@rito
rito / nodejs-tcp-example.js
Created October 15, 2015 13:34 — forked from tedmiston/nodejs-tcp-example.js
Node.js tcp client and server example
/*
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp
server, but for some reason omit a client connecting to it. I added an
example at the bottom.
Save the following server in example.js:
*/
var net = require('net');
@rito
rito / paises-gentilicos-google-maps.json
Created April 3, 2018 16:18 — forked from jonasruth/paises-gentilicos-google-maps.json
JSON com lista de Países em pt-BR e seus respectivos Gentílicos, Siglas e Nome Internacional - Possui todos os países do Google Maps
[ { "gentilico" : "afegãne",
"nome_pais" : "Afeganistão",
"nome_pais_int" : "Afghanistan",
"sigla" : "AF"
},
{ "gentilico" : "sul-africana",
"nome_pais" : "África do Sul",
"nome_pais_int" : "South Africa",
"sigla" : "ZA"
},