-
Eslint: A bug pointer. It is a static code analysis tool to identify problematic patterns found in the javascript code.
-
Prettier: Responsible for formatting. Imposes a consistent code style across the base code, responsible for making our code beautiful.
-
EditorConfig: Facilitates code style adoption and standardization for multiple editors and IDEs.
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
@Override | |
public boolean equals(Object o) { | |
if (this == o) { | |
return true; | |
} | |
if (o == null || getClass() != o.getClass()) { | |
return false; | |
} | |
Entity entity = (Entity) o; | |
if (entity.getId() == null || getId() == null) { |
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
## Best Database Diagram Design Tools: | |
https://dbdiagram.io/home?utm_source=holistics&utm_medium=top_5_tools_blog | |
https://www.quickdatabasediagrams.com/ | |
https://dbmstools.com/tools/sqldbm.com | |
https://sqldbm.com/Home/ |
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
java $JAVA_OPTS -Xmx256m -jar target/*.jar --spring.profiles.active=prod,heroku,api-docs |
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
# Commands of project: | |
./mvnw clean install | |
./mvnw spring-boot:run | |
# The project need: | |
- JDK 11 | |
- Node v14.16.0 | |
- NPM 6.14.11 |
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
Link to tutorial: https://www.journaldev.com/39819/install-tomcat-on-linux | |
## Commands: | |
sudo systemctl daemon-reload | |
sudo systemctl start tomcat | |
sudo systemctl status tomcat | |
# To see logs of service |
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "java", | |
"name": "Spring Boot-ProjectNameApp<projectName>", | |
"request": "launch", |
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
# See Parameters: | |
swapon --show | |
ls -l /swapfile | |
free -h | |
# Unmont memory swap | |
swapoff /swapfile | |
# Set new size memory on swap; 8G is the new size of memory | |
fallocate -l 8G /swapfile |
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 project react | |
npx create-react-app name-project // or npx create-react-app name-project --template typescript | |
# Install component threejs on react | |
yarn add three react-three-fiber drei sass react-spring |
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
# How to install | |
npm install -g generator-jhipster | |
# Create a aplication | |
jhipster | |
# Create entity by termial | |
jhipster entity <entityName> | |
# Create entity by archive .jh |