Skip to content

Instantly share code, notes, and snippets.

View apalyukha's full-sized avatar
🇺🇦

Andrii Paliukha apalyukha

🇺🇦
View GitHub Profile
@apalyukha
apalyukha / mustache-dependency.xml
Created January 7, 2019 13:44
Spring Boot: mustache dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mustache</artifactId>
</dependency>
@apalyukha
apalyukha / application.properties
Created January 7, 2019 13:45
Spring Boot. SQLite database settings
spring.datasource.url=jdbc:sqlite:data.db
spring.jpa.database-platform=org.hibernate.dialect.SQLiteDialect
@apalyukha
apalyukha / sqlite_dependecies.xml
Created January 7, 2019 13:47
Spring Boot. dependencies for connecting a SQLite database
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
</dependency>
<dependency>
<groupId>com.zsoltfabok</groupId>
<artifactId>sqlite-dialect</artifactId>
<version>1.0</version>
</dependency>
@apalyukha
apalyukha / .bashrc
Created January 23, 2019 19:43
Syntax highlighting in the terminal
alias ccat='pygmentize -g'
@apalyukha
apalyukha / http_status.py
Created August 3, 2019 06:38
http status
STATUS_CODES = {
100: "100 Continue",
101: "101 Switching Protocols",
102: "102 Processing",
200: "200 OK",
201: "201 Created",
202: "202 Accepted",
203: "203 Non-authoritative Information",
204: "204 No Content",