问题列表 - 第246540页

Azure 门户 - 未找到仪表板(新门户)

昨天共享我的 Azure 门户仪表板后,我想我不小心删除了我的默认仪表板,因为它与共享仪表板同名。现在,当我登录门户时,我收到以下消息:

找不到仪表板我们无法加载名为“private/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”的仪表板。刷新门户以重试。

我创建了一个新的仪表板,可以从下拉列表中选择它,但我想知道是否有人知道如何将新仪表板设置为默认仪表板,并防止出现此消息。

azure azureportal

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

360全景图像与离子/科尔多瓦

我想从设备相机捕捉360视图图像.Ionic/Cordova中是否有可用的相机插件或设置,可以方便我使用360全景模式的相应设置/选项启动设备相机?

ionic-framework cordova-plugins ngcordova

5
推荐指数
0
解决办法
484
查看次数

何时选择系统测试而不是集成测试Rails 5.1?

随着Rails 5.1的发布,它们包括了系统测试.这意味着我们也可以在Rails中测试我们的JavaScript.我看到Rails指南解释了以两种方式创建文章的示例测试:通过系统测试和集成测试.

现在问题是:在Rails 5.1之前,我在集成测试中编写了复杂的测试用例.但现在我有两个选项来编写测试用例.我可以写测试用例

test: should create article
Run Code Online (Sandbox Code Playgroud)

在集成测试中,我也可以在系统测试中编写相同的测试用例.

那么我何时应该选择系统测试来编写测试用例以及何时选择集成测试?

testing integration-testing ruby-on-rails acceptance-testing capybara

17
推荐指数
2
解决办法
2537
查看次数

仅缩放背景图像

我只想缩放背景图像

.prod_img:hover {
  webkit-transform: scale(1.04);
  -moz-transform: scale(1.04);
  -o-transform: scale(1.04);
  -ms-transform: scale(1.04);
  transform: scale(1.04);
  -webkit-transition: all 2s ease-in-out;
  -moz-transition: all 2s ease-in-out;
  -o-transition: all 2s ease-in-out;
  -ms-transition: all 2s ease-in-out;
  transition: all 2s ease-in-out;
}

.prod_img {
  content: ' ';
  -webkit-transition: all 2s ease-in-out;
  -moz-transition: all 2s ease-in-out;
  -o-transition: all 2s ease-in-out;
  -ms-transition: all 2s ease-in-out;
  transition: all 2s ease-in-out;
  height: 580px;
  width: 300px;
}

.protransparentbg {
  position: absolute;
  background: rgba(51, 51, 51, .8);
}
Run Code Online (Sandbox Code Playgroud)
<<div id="prod_main">
  <div id="product_content">

    <li class="prod_img …
Run Code Online (Sandbox Code Playgroud)

html css

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

如何隐藏EA属性对话框?

我正在使用EA Api的"EA_OnPostNewElement"来修改工具箱中的删除元素.一旦我将元素从工具箱中删除到图表,就会弹出EA属性diaglog.即使使用后

Repository.SuppressEADialogs = true;
Run Code Online (Sandbox Code Playgroud)

如果从工具箱中删除任何元素,如何抑制EA diaglog?

enterprise-architect

5
推荐指数
1
解决办法
89
查看次数

如何解决在加载图像时发生的MySQL错误

当我在MySQL中打开本地连接时,加载图片search_sidebar.png时发生错误。如何在MySQL中解决此问题?我已附上错误显示的屏幕截图 我正在使用MySQL Server 5.7和MySQL Workbench 6.3版本6.3.8

mysql

1
推荐指数
3
解决办法
3052
查看次数

无法使用Selenium和IEWebDriverServer 3.4.0在Windows Server 2016上针对IE11运行自动化测试

  • 操作系统:Windows Server 2016 Datacenter(64位)
  • 浏览器:Internet Explorer 11.0.14393.0
  • 量角器:5.1.2
  • Selenium服务器独立版:3.4.0
  • IEWebDriverServer.exe:3.4.0
  • Java:1.8.0_131

我们正尝试在Windows Server 2016 VM上针对Internet Explorer 11运行自动化测试.可以通过Selenium服务器对VM上的Chrome执行测试,但在IE中失败.

当针对IE运行时,量角器能够启动在IE中打开的Selenium服务器.然后在地址栏中使用'about:blank'启动另一个窗口.这会快速关闭,并在控制台窗口中显示以下错误:

[13:57:18] I/launcher - Running 1 instances of WebDriver  
[13:57:18] I/local - Starting selenium standalone server...  
[13:57:19] I/local - Selenium standalone server started at   http://10.X.X.X:61263/wd/hub   
Started    
A Jasmine spec timed out. Resetting the WebDriver Control Flow.    

Failures:  
1) angularjs homepage todo list should add a todo  
  Message:  
    Failed: JavaScript error (WARNING: The server did not provide any stacktrace information)  
    Command duration or timeout: …
Run Code Online (Sandbox Code Playgroud)

selenium protractor windows-server-2016

5
推荐指数
1
解决办法
1359
查看次数

在 Jersey 中使用 HK2 将依赖项注入 ServletContextListener

为了在启动时初始化应用程序,我扩展了ServletContextListener

@WebListener
public class MyServletContextListener implements javax.servlet.ServletContextListener {

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        ... initialization code here
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {}
}
Run Code Online (Sandbox Code Playgroud)

现在我想将初始化逻辑提取到一个独立的StartupManager类中,并从MyServletContextListener以下委托给这个类:

public class StartupManager {

    public void performStartup() {
        ... initialization code here
    }
}
Run Code Online (Sandbox Code Playgroud)

我试图注入StartupManagerServletContextListener通过简单地添加@Inject注释:

@WebListener
public class MyServletContextListener implements javax.servlet.ServletContextListener {

    @Inject StartupManager mStartupManager;

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        mStartupManager.performStartup();
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {}
}
Run Code Online (Sandbox Code Playgroud)

这不起作用 …

dependency-injection servletcontextlistener jersey-2.0 hk2

5
推荐指数
1
解决办法
839
查看次数

我已经在我的linux机器上安装了jdk9但jre文件丢失,我是否下载了错误的tar文件?

我在我的linux机器上安装了jdk9但jre文件丢失了,我是否下载了错误的tar文件?

这是我下载的tar文件 jdk-9-ea+174_linux-x64_bin.tar.gz

java java-9

2
推荐指数
1
解决办法
474
查看次数

寻找一个在作业仍在运行时不会启动的 Node.js 调度程序

我正在寻找一个用于nodejs的schedular/cron。但我需要一个重要的功能 - 如果作业没有完成(当它再次开始的时间到来时),我希望它不开始/延迟时间表。例如,我需要每 5 分钟运行一次作业。该工作于8:00开始,但仅在8:06完成。所以我希望8:05的作业要么等到8:06,要么根本不开始,等待8:10的下一个周期。有一个包可以做到这一点吗?如果没有,实现此目的的最佳方法是什么?

scheduling scheduler scheduled-tasks job-scheduling node.js

2
推荐指数
1
解决办法
4455
查看次数