Skip to content

Instantly share code, notes, and snippets.

View tury3001's full-sized avatar

Alejandro De Luca tury3001

View GitHub Profile
@tury3001
tury3001 / tablapaises.sql
Created February 15, 2024 17:18 — forked from angeldelrio/tablapaises.sql
Tabla MySQL paises el mundo en español
CREATE TABLE `paises` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) DEFAULT NULL,
`nombre` varchar(80) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
INSERT INTO `paises` VALUES(1, 'AF', 'Afganistán');
INSERT INTO `paises` VALUES(2, 'AX', 'Islas Gland');
INSERT INTO `paises` VALUES(3, 'AL', 'Albania');
@tury3001
tury3001 / teams-argentina.json
Created December 16, 2023 19:58
JSON of Argentinian football teams
[
{
"country": "AR",
"name": "Boca Juniors",
"fullName": "Club Atlético Boca Juniors",
"shortName": "Boca",
"crest": "boca-juniors.svg",
"foundation": "03/04/1905",
"city": "Buenos Aires",
"nickname": "Xeneize"
@tury3001
tury3001 / .env
Created June 28, 2023 12:09
Basic Mongo container for Docker
MONGO_PORT=27017
MONGO_ROOT_USERNAME=someuser
MONGO_ROOT_PASSWORD=somepassword
function isLeapYear(year) {
return (year % 4 === 0) && !( year % 100 === 0 && year % 400 !== 0 )
}
@tury3001
tury3001 / world-countries.js
Last active December 17, 2023 00:25
World countries seed
const data = () => {
return [
{
"name": "Afghanistan",
"code": "AF"
},
{
"name": "Albania",
"code": "AL"
},