我希望仪表板针对具有以下要求的灵活网格进行布局:
这是我制作的一些照片:
用户定义网格的示例

合并单元格的相同示例

相同的例子缩放

我正在寻找一个插件/代码来实现这一点,因为我几乎可以肯定它不能在CSS中完成(据我所知,在大多数浏览器中还没有实现网格布局).我得到的最接近的是生成一张桌子,但是调整细胞的大小最终变成了一个完整的混乱(为什么这张桌子不整洁?).
我尝试使用 cURL 通过其 API 启动 Jenkins 构建:
#!/usr/bin/env bash
curl \
-i \
--fail \
--show-error \
-s \
-X POST \
-H 'Content-Type:application/json' \
-H 'Accept:application/json' \
--form json='{"parameter": [{"name":"COMPOSE_FULL_NAME", "value": "/redacted/docker-compose-prod.yml"}, {"name":"BRANCH", "value": "prod"}, {"name":"AD_USER", "value": "redacted"}, {"name":"AD_PASSWORD", "value": "redacted"}}]}' \
-u redactedUser:redactedToken \
-k \
https://jenkins-dck.redacted/job/elr-156344/job/stack_deploy/build \
Run Code Online (Sandbox Code Playgroud)
这就是我得到的:
curl: (22) The requested URL returned error: 400 Nothing is submitted
Run Code Online (Sandbox Code Playgroud)
我尝试了几种传递 POST 数据的方法,比如使用-dor--data-urlencode 'json={但到目前为止没有成功。
知道发生了什么吗?该消息并没有说太多,我无法访问 jenkins 后端的日志。
Maven 允许定义多个代理:
<!-- proxies
| This is a list of proxies which can be used on this machine to connect to the network.
| Unless otherwise specified (by system property or command-line switch), the first proxy
| specification in this list marked as active will be used.
|-->
<proxies>
<proxy>
<id>proxy_gcp</id>
<active>true</active>
<protocol>http</protocol>
<host>app-proxy.gcp.acme.fr</host>
<port>80</port>
</proxy>
<proxy>
<id>proxy_aws</id>
<active>false</active>
<protocol>http</protocol>
<host>app-proxy.aws.acme.fr</host>
<port>80</port>
</proxy>
</proxies>
Run Code Online (Sandbox Code Playgroud)
按照默认 settings.xml 中的规定,Unless otherwise specified (by system property or command-line switch), the first proxy specification …
我已阅读以下有关通过 Google Docs 将 UTF-8 编码(希伯来语)XLS 转换为 CSV 的建议,并且它奏效了。当我用 UTF8 编码在 Sublime2 中打开 CSV 时,希伯来语显示正确。但是,当我尝试使用 SQLyog 将数据导入我的数据库时,在确保我的目标表和导入定义都设置为 UTF8 后,我得到了胡言乱语,例如:×ž×“×¨×©×•× ª 我哪里做错了?
为什么此查询返回一个空集:
select p.iuser_id,p.produit_id from portefeuille p
WHERE produit_id=48
AND p.iuser_id NOT IN (NULL);
Run Code Online (Sandbox Code Playgroud)
而这一个:
select p.iuser_id,p.produit_id from portefeuille p
WHERE produit_id=48
LIMIT 5
Run Code Online (Sandbox Code Playgroud)
返回结果如
72968, 48
106967, 48
7381, 48
81678, 48
194250, 48
Run Code Online (Sandbox Code Playgroud)
并且这些值都不是NULL或应该等于NULL.(我为consiseness添加了限制5,我正在使用MySql 5.1)
编辑:这里我把问题缩小到NOT IN(NULL).原始查询有一个子查询,其中一些行包含NULL,如下所示:
WHERE user_id NOT IN( select user_id from mailsubscriptions )
Run Code Online (Sandbox Code Playgroud)
并且一些user_id为NULL,但集合中只有一个NULL会污染整个查询.
我有一个调用远程服务的 Spring Boot 应用程序。
这个远程 Web 服务为我提供了一个 p12 文件,该文件应该验证我的应用程序。
如何配置我的 feign 客户端以使用 p12 证书?
我尝试过设置这些属性:
-Djavax.net.ssl.keyStore=path_to_cert.p12 -Djavax.net.ssl.keyStorePassword=xxx -Djavax.net.ssl.keyStoreType=PKCS12
Run Code Online (Sandbox Code Playgroud)
但这并没有改变任何东西,我仍然收到此错误:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Run Code Online (Sandbox Code Playgroud) 如果两者都是绝对定位的,并且内部的一个具有填充,我怎样才能使块填充其容器的整个宽度.
我做了一个JSFiddle:http: //jsfiddle.net/dmdBB/
这里有一个样本:
<style>
.containerOut {
position: absolute;
width: 400px;
height: 400px;
border: thin solid black;
}
.containerIn {
position: absolute;
outline: 1px solid red;
width: auto;
padding: 4px;
}
</style>
<div class="containerOut">
<div class="containerIn">
im not large enough
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
在此示例中,.containerIn元素太薄.如果我将其宽度设置为100%,它会因为填充而溢出.
PS:我想要一个CSS解决方案,我知道放置一个100%宽度和0margin/padding/border的中间HTML容器可以解决问题.
我是Git的新手,我在提交前使用此命令:
git add .
Run Code Online (Sandbox Code Playgroud)
它添加了一些我不想被跟踪的文件:临时文件
.tmp_basictest-barchart.html.84279~
.tmp_basictest-demo.html.84399~
Run Code Online (Sandbox Code Playgroud)
和隐藏文件:
.project
Run Code Online (Sandbox Code Playgroud)
如何避免添加这些文件?
css ×2
sql ×2
converters ×1
dotfiles ×1
git ×1
git-add ×1
hidden-files ×1
html ×1
javascript ×1
jenkins ×1
jquery ×1
maven ×1
mysql ×1
spring-boot ×1
xls ×1