Skip to content

Instantly share code, notes, and snippets.

View JuninhoFreitas's full-sized avatar
🤠
Buenas!

João de Freitas B Junior (Juninho) JuninhoFreitas

🤠
Buenas!
View GitHub Profile
{
"language": "pt",
"tab": "agenda",
"title": "Unidos Jovem",
"url": "https://calendar.google.com/calendar/ical/c5c9e35e43d68f781eacad316f82149d23f6b563e1240aeecc2482e26fdf9723%40group.calendar.google.com/public/basic.ics"
}
@JuninhoFreitas
JuninhoFreitas / countries.json
Created November 20, 2023 00:16
Countries with Flag JSON
[
{
"name": "Afghanistan",
"topLevelDomain": [".af"],
"alpha2Code": "AF",
"alpha3Code": "AFG",
"callingCodes": ["93"],
"capital": "Kabul",
"altSpellings": ["AF", "Afġānistān"],
"subregion": "Southern Asia",
@JuninhoFreitas
JuninhoFreitas / node-api-mock.js
Created May 9, 2023 13:39
An endpoint just to return what u have sent, using only native features.
const http = require('http');
const port = 3349
const routes = {
'/': handlePostReq
}
const server = http.createServer((req, res) => {
routes[req.url](req, res);