摘要:
1. sass转 csshttps://www.sassmeister.com/2. android button 在线设定 shape背景http://angrytools.com/android/button/3. android svg 转 vectorDrawablehttp://inloo 阅读全文
摘要:
docker stop 容器ID 报错,无法kill,连接被拒绝 经过网上查找以及实际情况,发现原因为: 服务器重启时,正在运行的docker内的容器正在进行处理, 因为docker没有提前关闭,导致docker没有正常关闭(以前也这样处理过,没有出问题,单这次出了问题), 服务器启动后,此异常容器 阅读全文
摘要:
<div id="name" @click="scrollToViewById('name')"> ...... </div> scrollToViewById(id) { if (id == '') { return } this.$nextTick(() => { document.getEle 阅读全文
摘要:
1. 移动端访问https域名及接口,显示 java.net.UnknownHostException: Unable to resolve host "xxx" : No address associated with hostname 2. 使用okhttp访问的接口,于是设定忽略证书,报错 j 阅读全文
摘要:
之前没有注意过这个问题,是因为之前运行pipeline时,默认勾选了“使用 Groovy 沙盒” 这次不小心取消了勾选导致,重新加上勾选即可 阅读全文
摘要:
IP的情况下,访问接口都正常,使用域名访问,报错400 badrequest 经确认,ssl配置无问题,证书文件本身无问题 最后查出来原因,是域名格式的问题,原域名中包含_,需要修改为- 排查过程: 1. 检查配置ssl: server: port: 9443 ssl: key-store: cla 阅读全文
摘要:
起因于数据id过大,所以将对应int , Integer都修改为long, 测试过程中发现 Gson toJson时,字段将int为0的数据忽略,但long 没有, 所以 1. 新增适配器 import com.google.gson.TypeAdapter; import com.google.g 阅读全文
摘要:
查询包含test前缀的词 1. 访问 https://sls.console.aliyun.com/lognext/profile 2. 在Project列表中找到对应的sls日志Project 3. 点击该Project,进入的页面中应该有日志库 4. 在日志库中,找到注册的日志名称 5. 鼠标悬 阅读全文
摘要:
1. 构建镜像 docker build -t 镜像名称:镜像TAG --build-arg URL=http://localhost:8081 --build-arg PORT=2000 --build-arg SSL_PORT=443 -f Dockerfile . 如果不运行https,则要把 阅读全文
摘要:
逻辑: 设定某项X为底部 逻辑: for 循环获取最低位的item Y的信息:i 和 y 如果i != X.i initY = X.y 则调整X.y = initY + Y.h 调整Y.y = initY 方法位置:layout-updated回调时,进行调整位置layoutUpdatedEvent 阅读全文