   ctx = canvas.getContext('2d')
 
   socket.on 'init', (data) ->
-    canvas.width = data.width
-    canvas.height = data.height
+    #canvas.width = data.width
+    #canvas.height = data.height
     $scope.vmIsRunning = true
     return
 

        return

      $scope.confirm = (os) ->
        $mdDialog.hide()
        $scope.modifyOs os
        return

      return

      binaryString[i] = String.fromCharCode(uInt8Array[i])
    bdata = binaryString.join('')
    base64 = window.btoa(bdata)
    image.src = 'data:image/jpeg;base64,' + base64

    image.onload = ->
