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 UIKit | |
import ChameleonFramework | |
class RootViewController: UIViewController { | |
@IBOutlet var myTitle: UILabel! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
view.backgroundColor = GradientColor(gradientStyle: .radial, frame: view.frame, colors: [FlatBlue(), FlatPlumDark()]) | |
myTitle.textColor = ContrastColorOf(backgroundColor: view.backgroundColor!, returnFlat: false) |
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 UIKit | |
import ChameleonFramework | |
class RootViewController: UIViewController { | |
@IBOutlet var myTitle: UILabel! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
myTitle.textColor = ContrastColorOf(backgroundColor: view.backgroundColor!, returnFlat: false) | |
} |
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-data-jpa</artifactId> | |
</dependency> | |
<!-- Hibernate --> | |
<dependency> | |
<groupId>org.hibernate</groupId> | |
<artifactId>hibernate-entitymanager</artifactId> | |
</dependency> |
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.datasource.url = jdbc:mysql://localhost:3306/{db name} | |
# Use your MySQL username | |
spring.datasource.username = | |
# Use your MySQL password | |
spring.datasource.password = | |
spring.datasource.initialize = false | |
spring.datasource.driver-class-name = com.mysql.jdbc.Driver | |
# Update The Existing Schema (other options include: validate, create, create-drop) |
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
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<java.version>1.8</java.version> | |
</properties> | |
<parent> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-parent</artifactId> | |
<version>1.5.2.RELEASE</version> | |
</parent> |
NewerOlder