This file contains 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
[ | |
{ | |
"id": 1, | |
"firstName": "Damián", | |
"middleName": "Emiliano", | |
"lastName": "Martínez", | |
"dateOfBirth": "1992-09-02T00:00:00.000Z", | |
"squadNumber": 23, | |
"position": "Goalkeeper", | |
"abbrPosition": "GK", |
This file contains 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
PRAGMA foreign_keys=OFF; | |
BEGIN TRANSACTION; | |
CREATE TABLE IF NOT EXISTS "players" ( | |
"id" INTEGER, | |
"firstName" TEXT NOT NULL, | |
"middleName" TEXT, | |
"lastName" TEXT NOT NULL, | |
"dateOfBirth" TEXT, | |
"squadNumber" INTEGER NOT NULL, | |
"position" TEXT NOT NULL, |
This file contains 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
Java / JS / C# / Python / Go | |
----------------------------> | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
This file contains 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
[ | |
{ | |
"album": "Highway 61 Revisited", | |
"artist": "Bob Dylan", | |
"rank": 1, | |
"title": "Like a Rolling Stone", | |
"year": 1965 | |
}, | |
{ | |
"album": "Out of Our Heads", |
This file contains 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
BEGIN TRANSACTION; | |
DROP TABLE IF EXISTS "songs"; | |
CREATE TABLE IF NOT EXISTS "songs" ( | |
"rank" INTEGER NOT NULL, | |
"title" TEXT NOT NULL, | |
"artist" TEXT NOT NULL, | |
"album" TEXT, | |
"year" INTEGER NOT NULL, | |
PRIMARY KEY("rank") | |
); |
This file contains 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
[ | |
{ | |
"album": "Whats Going On", | |
"artist": "Marvin Gaye", | |
"label": "Tamla/Motown", | |
"rank": 1, | |
"year": 1971 | |
}, | |
{ | |
"album": "Pet Sounds", |
This file contains 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
BEGIN TRANSACTION; | |
DROP TABLE IF EXISTS "albums"; | |
CREATE TABLE IF NOT EXISTS "albums" ( | |
"rank" INTEGER NOT NULL, | |
"album" TEXT NOT NULL, | |
"artist" TEXT NOT NULL, | |
"label" TEXT NOT NULL, | |
"year" INTEGER NOT NULL, | |
PRIMARY KEY("rank") | |
); |
This file contains 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
import java.time.LocalDate; | |
import javax.persistence.Entity; | |
import javax.persistence.Id; | |
import javax.persistence.Lob; | |
import javax.persistence.Table; | |
import javax.validation.constraints.NotBlank; | |
import javax.validation.constraints.Past; |
This file contains 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
export class Book { | |
constructor( | |
public isbn: string, | |
public title: string, | |
public subtitle: string, | |
public author: string, | |
public publisher: string, | |
public published: string, | |
public pages: number, | |
public description: string, |
This file contains 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
#!/bin/sh | |
# ---------------------------------------------------------------------------- # | |
# Filename: .git/hooks/pre-push # | |
# Description: Git pre-push hook that prevents pushing directly to master # | |
# branch # | |
# Created by: Nano Taboada <[email protected]> # | |
# Version: 0.1.0 # | |
# License: http://opensource.org/licenses/MIT # | |
# Last updated: Jun 30, 2015 # |
NewerOlder