View docker
docker build . --tag <name>: create image of Dockerfile in current directory with a name
docker ps : List all running containers
docker run -it <container> /bin/bash : Run interactive terminal (e.g. bash) on container
docker logs <container> : Logs of specified container
docker rm <container> : removes one or more containers
docker rm $(docker ps -aq) : removes all stopped containers
View getWeather.js
function getWeather(latitude, longitude) {
type: 'GET',
url: ''
+ latitude + '&lon=' + longitude,
async: false,
contentType: "application/x-www-form-urlencoded",
cache: false,
dataType: 'json',
success: function(data)