This file contains hidden or 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
## update brew's internal list of formulae | |
brew update | |
## upgrade package | |
brew upgrade [nome package] | |
## upgrade cask package | |
brew upgrade --cask [nome package] |
This file contains hidden or 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
~/Library/Mail/V2/MailData/Signatures/ | |
-- modificare il file della firma | |
-- segnare come bloccato il file dopo la modifica per impedire a mail di rimodificarlo (mela-i>bloccato) |
This file contains hidden or 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
/etc/default/tomcat |
This file contains hidden or 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
## versioni di java installate | |
/usr/libexec/java_home -V | |
in home/.zshrc vi è la JAVA_HOME e anche la MVN HOME | |
per fare lo switch di java o mvn basta andare in .zshrc e cambiare il path alle rispettive home |
This file contains hidden or 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 docker image end start container | |
docker run -p 5432:5432 --name postgrespagopa -e POSTGRES_PASSWORD=pagopa -d postgres:10.12 | |
-- dump db | |
pg_dump -F c -f /home/escampoli/pagopa01052020.tar.gz -U pagopa -h localhost -p 5432 pagopa | |
-- copio dump del db | |
docker cp /dumpdb.tar.gz postgrespagopa:/docker-entrypoint-initdb.d/dumpdb.tar.gz | |
--connect to postgres 10.12 |
This file contains hidden or 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
-- lista dei node installati e installabili | |
nvm ls | |
nvm install v[versione del node] | |
-- per passare da una versione all'altra | |
nvm use v[versione del node] | |
This file contains hidden or 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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |