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
#! /usr/bin/env bash | |
sudo apt install -y mc git vim chromium-browser htop | |
curl -s "https://get.sdkman.io" | bash | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash |
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
<!DOCTYPE html> | |
<html> | |
<head><title>Simple html page</title></head> | |
<body> | |
<pre>html>(head>title{simple html page})+body>h1{This is the Emmet, baby}+.block$*4>h3{subhead$}+lorem20</pre> | |
<h1>This is the Emmet, baby</h1> | |
<div class="block1"> | |
<h3>subhead 1</h3> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. A ab amet consequuntur, deserunt doloribus eveniet, harum | |
illo natus nulla, obcaecati officiis quibusdam ratione similique sunt veniam veritatis vero voluptatibus voluptatum. |
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
compile "com.sparkjava:spark-debug-tools:0.5" |
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
{ | |
"name": "sarafan", | |
"version": "1.0.0", | |
"description": "", | |
"main": "webpack.config.js", | |
"dependencies": { | |
"vue": "^2.5.17", | |
"vue-resource": "^1.5.1" | |
}, | |
"devDependencies": { |
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
const path = require('path'); | |
const VueLoaderPlugin = require('vue-loader/lib/plugin'); | |
module.exports = { | |
mode: 'development', | |
devtool: 'source-map', | |
entry: path.join(__dirname, 'src', 'main', 'resources', 'static', 'js', 'main.js'), | |
devServer: { | |
contentBase: './dist', | |
compress: true, |
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
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-test</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.security</groupId> | |
<artifactId>spring-security-test</artifactId> | |
<version>RELEASE</version> | |
<scope>test</scope> |
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
CREATE TABLE spring_session ( | |
primary_id CHAR(36) NOT NULL | |
CONSTRAINT spring_session_pk | |
PRIMARY KEY, | |
session_id CHAR(36) NOT NULL, | |
creation_time BIGINT NOT NULL, | |
last_access_time BIGINT NOT NULL, | |
max_inactive_interval INTEGER NOT NULL, | |
expiry_time BIGINT NOT NULL, | |
principal_name VARCHAR(300) -- <= here was 100 |
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
spring.session.jdbc.initialize-schema=always | |
spring.session.jdbc.table-name=SPRING_SESSION | |
spring.session.jdbc.schema=classpath:session_tables.sql |
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
compile('org.springframework.session:spring-session-jdbc') | |
compile("org.springframework.boot:spring-boot-starter-thymeleaf") |
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
compile('org.springframework.boot:spring-boot-starter-security') | |
compile('org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.0.0.RELEASE') |
NewerOlder