Skip to content

Instantly share code, notes, and snippets.

View SimonJoz's full-sized avatar

SimonJoz

View GitHub Profile
@SimonJoz
SimonJoz / spring-boot-db-config.yml
Last active August 17, 2021 18:55
Example MySQL database configuration in Spring Boot.
spring:
datasource:
url: ${MYSQL_DB_URL:jdbc:mysql://localhost:3306/}
password: ${MYSQL_DB_PASS:pass}
username: ${MYSQL_DB_USERNAME:root}
driver-class-name: com.mysql.cj.jdbc.Driver
initialization-mode: always
schema: classpath:sql/schema-dev.sql
data: classpath:sql/dev-initializer.sql
hikari:
@SimonJoz
SimonJoz / all.csv
Last active September 7, 2025 12:21
ISO-3166-Countries-with-Regional-Codes
name alpha-2 alpha-3 country-code iso_3166-2 region sub-region intermediate-region region-code sub-region-code intermediate-region-code
Afghanistan AF AFG 004 ISO 3166-2:AF Asia Southern Asia 142 034
Åland Islands AX ALA 248 ISO 3166-2:AX Europe Northern Europe 150 154
Albania AL ALB 008 ISO 3166-2:AL Europe Southern Europe 150 039
Algeria DZ DZA 012 ISO 3166-2:DZ Africa Northern Africa 002 015
American Samoa AS ASM 016 ISO 3166-2:AS Oceania Polynesia 009 061
Andorra AD AND 020 ISO 3166-2:AD Europe Southern Europe 150 039
Angola AO AGO 024 ISO 3166-2:AO Africa Sub-Saharan Africa Middle Africa 002 202 017
Anguilla AI AIA 660 ISO 3166-2:AI Americas Latin America and the Caribbean Caribbean 019 419 029
Antarctica AQ ATA 010 ISO 3166-2:AQ