我想忽略Android Studio中特定文件的拼写检查警告.我试过这个,但这似乎相当于SuppressLint而不是SuppressWarning. http://developer.android.com/tools/debugging/improving-w-lint.html
这是一个像我想做的事情的例子
<?xml version="1.0" encoding="utf-8"?>
<lint>
<issue id="SpellCheckingInspection" severity="typo">
<ignore path="app/src/main/res/values/local_values.xml" />
<ignore path="app/src/main/res/values/strings.xml" />
<ignore path="app/src/main/AndroidManifest.xml" />
</issue>
</lint>
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?
关于受保护变量的文档非常晦涩。当我将变量设置为受保护时,我必须考虑如何访问它。无论我做什么,总是空虚。我尝试过对它进行 base64 编码,然后在管道中再次对它进行 base64 编码,这样我就可以看到它是什么,并且得到一个空字符串:Cg==。有人可以解释一下如何使用受保护的变量吗?
所以我使用 traefik 2.2,我运行一个带有单节点主节点的裸机 kubernetes 集群。我没有物理或虚拟负载平衡器,因此 traefik pod 接收端口 80 和 443 上的所有请求。我有一个安装了 helm 的示例 wordpress。正如您在此处看到的,所有其他请求都是 500 错误。http://wp-example.cryptexlabs.com/feed/。我可以确认 500 错误的请求永远不会到达 wordpress 容器,所以我知道这与 traefik 有关。在 traefik 日志中,它只显示存在 500 错误。所以我在 traefik 命名空间中有 1 个 pod,在默认服务中有一个服务,在默认命名空间中有一个外部名称服务,它指向示例 wordpress 站点,它是一个 wp-example 命名空间。
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: traefik
chart: traefik-0.2.0
heritage: Tiller
release: traefik
name: traefik
namespace: traefik
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: traefik
release: traefik
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: …Run Code Online (Sandbox Code Playgroud) 对于安装了 ElasticSearch、FluentD 和 Kibana 的 kubernetes 集群,在 S3 中配置日志长期保留的最佳方法是什么?