@SpringBootApplication
public class MyApplication {
public static void main(String[] args) {
ApplicationContext ctx = SpringApplication.run(MyApplication.class, args);
System.out.println("Beans provided or found by Spring Boot:");
String[] beanNames = ctx.getBeanDefinitionNames();
Arrays.sort(beanNames);
for (String beanName : beanNames) {
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
<?xml version="1.0" encoding="UTF-8"?> | |
<projectDescription> | |
<name>blogz-spring</name> | |
<comment></comment> | |
<projects> | |
</projects> | |
<buildSpec> | |
<buildCommand> | |
<name>org.eclipse.jdt.core.javabuilder</name> | |
<arguments> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.launchcode</groupId> | |
<artifactId>hello-spring</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> |
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
# enable hot swapping | |
spring.thymeleaf.cache = false | |
# Database connection settings | |
spring.datasource.url=jdbc:mysql://localhost:3306/hello | |
spring.datasource.username=hello | |
spring.datasource.password=launchcode | |
# Specify the DBMS | |
spring.jpa.database = MYSQL |
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
# Disable Thymeleaf caching for hot-swapping of templates | |
spring.thymeleaf.cache = false | |
# Database connection settings | |
spring.datasource.url=jdbc:mysql://localhost:3306/blogz | |
spring.datasource.username=blogz | |
spring.datasource.password=launchcode | |
# Specify the DBMS | |
spring.jpa.database = MYSQL |
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
# generate random emoji for prompt | |
EMOJIS=(๐ฑ ๐ฒ ๐ณ ๐ด ๐ต ๐ฟ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฝ ๐ถ ๐ ๐ง ๐ฎ ๐ฏ ๐ฉ ๐ช ๐ฐ ๐ซ ๐ฌ ๐ญ ๐ฎ ๐ท ๐ธ ๐น ๐บ) | |
IDX=$(jot -r 1 0 ${#EMOJIS[@]}) | |
EMOJI=${EMOJIS[IDX]} | |
export PS1="$EMOJI \[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\W\[\033[m\]\$ " |
NewerOlder