Skip to content

Instantly share code, notes, and snippets.

@lmillucci
lmillucci / docker-compose.yml
Last active February 24, 2018 11:41
docker-compose
version: '3'
services:
web:
build:
context: ./.docker
dockerfile: web.docker
container_name: nginx
ports:
- "8080:80"
<?php
class test {}
$a = new test();
$b = clone $a;
echo (int) ($a == $b); // TRUE
echo (int) ($a === $b); // FALSE
?>
#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
npm install -g @angular/cli
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash