小编Bha*_*ika的帖子

如何使用JavaScript将渲染的网页保存为图像?

在我的应用程序中,我必须提供"另存为图像"按钮.我想将我在网页上呈现的HTML保存为JavaScript中的图像.它是一个webapp,将用于桌面/平板电脑/手机的浏览器.如何将渲染的HTML保存为图像?

html javascript html5

16
推荐指数
1
解决办法
4万
查看次数

从ubuntu的终端发射'vagrant up'时,无法找到"hashicorp/precise32"框

我已经安装了Vagrant,一旦我从终端进入我的项目文件夹,我就会激活以下命令:

  1. vagrant box add hashicorp/precise32 http://files.vagrantup.com/precise32.box

输出:

[vagrant] Downloading with Vagrant::Downloaders::HTTP... 
[vagrant] Downloading box: files.vagrantup.com/precise32.box 
[vagrant] Downloading box: hashicorp-files.vagrantup.com/precise32.box 
[vagrant] Extracting box... 
[vagrant] Verifying box... 
[vagrant] Cleaning up downloaded box...
Run Code Online (Sandbox Code Playgroud)
  1. vagrant init hashicorp/precise32

输出: A Vagrantfile has been placed in this directory

  1. vagrant up

我收到一条错误消息:

The box 'hashicorp/precise32' could not be found
Run Code Online (Sandbox Code Playgroud)

vagrant vagrantfile

9
推荐指数
1
解决办法
6201
查看次数

标签 统计

html ×1

html5 ×1

javascript ×1

vagrant ×1

vagrantfile ×1