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
# Open the directory /opt | |
cd /opt/ | |
# Decompile the intellij archive | |
sudo tar -xvzf ~/Downloads/ideaIC-2020.2.tar.gz | |
# Change the name for better manipulation | |
sudo mv idea-IC-202.6397.94 idea | |
# Run the executable file |
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 a launcher on directory /usr/share/applications | |
vim /usr/share/applications/app-name.desktop | |
# Create a file app-name.desktop and edit with exemple below: | |
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=IntelliJ IDEA Ultimate Edition | |
Icon=/opt/idea/bin/idea.svg |
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
# Deletes all created files and directories | |
git clean -fd | |
# Undoes all changes by returning to the last recorded appointment | |
git reset --hard | |
# Remote branch list | |
git branch -r | |
# Put all files on stage area to commit |
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
## Method 01 | |
// User JABBA OR SDKMAN to managing versions java | |
https://github.com/shyiko/jabba | |
https://blog.mattclemente.com/2019/05/31/managing-multiple-java-jdk-versions.html | |
// or | |
https://sdkman.io/ | |
## Method 02 | |
# Execute dpkg or gdebi |
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
-appImageLauncher | |
-star-uml | |
-timeshift | |
-atril-document | |
-remmina | |
-virtual box | |
-iriun webcam | |
-docker | |
-ssh | |
-evillimiter |
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 a file .sh on directory /etc/profile.d | |
sudo vim /etc/profile.d/external_monitor_resol.sh | |
# List all monitors activated | |
xrandr --listactivemonitors // or xrandr --query | grep '\bconnected\b' | |
# Insert the script below on file created | |
sudo xrandr --newmode "2560x1080" 185.58 2560 2624 2688 2784 1080 1083 1093 1111 -HSync -Vsync | |
# Create other file on directory $HOME/.xprofile and change the permission |
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
// Install NgxViaCep with npm and follow the installation instructions | |
// Link: https://www.npmjs.com/package/@brunoc/ngx-viacep | |
constructor(private viacep: NgxViacepService) {} | |
/* ------------------------------------- CEP ------------------------------------ */ | |
buscarCep(): void { | |
let cep: string = this.registerForm.get(['cep'])!.value; | |
if (cep) { |
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 create a maven wrapper on a project | |
mvn -N io.takari:maven:wrapper | |
# Build a container friendly executable skipping Tests | |
./mvnw -DskipTests -Pprod package | |
./mvnw -DskipTests -Pdev package | |
./mvnw -Pprod clean verify | |
# Run tests on backend: | |
./mvnw verify -P-webpack |
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
entity Objet1 { | |
atributo1 String | |
atributo2 String | |
status Boolean | |
} | |
entity Objet2 { | |
atributo1 String | |
atributo2 String | |
status Boolean |
OlderNewer