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 deploy Heroku CLI | |
heroku login | |
heroku create <name-app-api> | |
heroku git:remote -a <name-app-api> | |
git push heroku main |
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
{"version":1,"resource":"file:///home/jarvis/Documents/development/my_projects/microservice-worker/hr-user/src/main/java/com/johnatanbrayan/hruser/controllers/UserController.java","entries":[{"id":"PMhc.java","timestamp":1653921307347},{"id":"XWy8.java","timestamp":1653935000343},{"id":"3nIe.java","timestamp":1653935341756},{"id":"AXoJ.java","timestamp":1653935571177},{"id":"7uPR.java","timestamp":1653935633073},{"id":"M2JO.java","timestamp":1653935729786},{"id":"v3W8.java","timestamp":1653935875186},{"id":"6AX7.java","timestamp":1653936486574},{"id":"tY9r.java","timestamp":1653948034301},{"id":"2dPJ.java","timestamp":1653997686805},{"id":"m0Nj.java","timestamp":1653997706044},{"id":"m4vB.java","timestamp":1653998470300},{"id":"PgfU.java","timestamp":1654000157420},{"id":"pDWL.java","timestamp":1654000220617},{"id":"vYlH.java","timestamp":1654002060570},{"id":"OtGe.java","timestamp":1654002199311},{"id":"AZVt.java","timestamp":1654003079111},{"id":"zc7Q.java","timestamp":1654004987444},{"id":"Il23.java","time |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/jarvis/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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 import dump on database: | |
cat your_dump.sql | docker exec -i your-db-container psql -U your-db-user -d your-db-name | |
# Ex: | |
cat dbnonecohom01-tcbapi_qa.dmp | docker exec -i 0eea92bb9447 psql -U tcbapi_qa -d db_tcb_main_qa |
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
font-family: 'Barlow', sans-serif; | |
font-family: "Roboto", sans-serif; | |
font-family: 'Montserrat',sans-serif; |
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 service on linux: | |
cd /etc/systemd/system | |
vim application.service | |
################# Template to create a Service on linux ################# | |
[Unit] | |
Description=Desafio Spring Boot application | |
After=syslog.target | |
[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
https://tools.pdf24.org/pt/ocr-pdf#s=1616548534696 | |
https://www.sodapdf.com/pt/ocr-pdf/ | |
https://www.sodapdf.com/pt/juntar-pdf/ | |
https://www.onlineocr.net/pt/ | |
https://www.ilovepdf.com/ | |
https://smallpdf.com/pt/juntar-pdf | |
https://www.ilovepdf.com/pt/dividir_pdf |
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 Oracle XE 18c on docker | |
#Tutorial: https://www.youtube.com/watch?v=CbopSCwATIg&list=PL5euTSrohYaTaQS8gO0ad7J_fyWy1HXud&index=22 | |
## Clone repo | |
git clone git@github.com:fuzziebrain/docker-oracle-xe.git | |
## Set the working directory to the project folder | |
cd docker-oracle-xe | |
## Copy the RPM to docker-odb18c-xe/files |
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
**** Regex Base64: | |
(?:[A-Za-z0-9+\/]{4}\\n?)*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=) // Best | |
^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ | |
^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ | |
^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$ |
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
## Docker commands: | |
# Start docker service | |
sudo service docker start | |
# Stop docker service | |
sudo service docker stop | |
# Status docker service | |
sudo service docker status |
NewerOlder