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
version: '3' | |
services: | |
web: | |
build: | |
context: ./.docker | |
dockerfile: web.docker | |
container_name: nginx | |
ports: | |
- "8080:80" |
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
<?php | |
class test {} | |
$a = new test(); | |
$b = clone $a; | |
echo (int) ($a == $b); // TRUE | |
echo (int) ($a === $b); // FALSE | |
?> |
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
#Creazione del progetto con nome PROJECT_NAME | |
ng new PROJECT_NAME | |
#Mi sposto sulla cartella del progetto appena creato | |
cd PROJECT_NAME | |
#Eseguo l'applicazione | |
ng serve |
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
npm install -g @angular/cli |
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
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash |
NewerOlder