方法一(不推荐): 在jenkins 的Configure Global Security下 , 取消“防止跨站点请求伪造(Prevent Cross Site Request Forgery exploits)”的勾选 方法二: 1、获取用户API token http://Jenkins_IP: ...
用途:访问代码中的变量等 后台定义一个变量 前端访问 示例代码 https://github.com/zLulus/NotePractice/tree/dev3/WPF/WpfDemo/GetStaticFromBackgroundCode ...
分类:
其他好文 时间:
2017-12-30 20:03:26
阅读次数:
172
1. 页面顶部阴影 2. 给 body 添加行高 你不需要分别添加 line-height 到每个p,h标记等。只要添加到 body 即可: line-height:1; 的意思是 根据该元素本身的字体大小 设置行高 比如该元素字体是15px line-height:1; 的行高就是15px; 3. ...
分类:
Web程序 时间:
2017-12-30 19:10:23
阅读次数:
167
name = "my \tname is {name} and i am {year} old" print(name.capitalize()) #将首字母都大写 print(name.count("a")) #统计a的数量 print(name.center(100, "-"))... ...
分类:
编程语言 时间:
2017-12-30 18:08:32
阅读次数:
121
Ctrl+Shift+P => install package => 输入“C Improved”: ...
分类:
其他好文 时间:
2017-12-30 15:53:36
阅读次数:
262
使用root用户登录,运行以下命令: wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh (执行过程中,在最后一步不要重启机器) ...
分类:
其他好文 时间:
2017-12-30 14:45:22
阅读次数:
168
flex移动端布局(抄一下阮一峰的文章来复习) 1flex布局之后,里面不能使用float,clear,vertucal-align. 2.webkit上需要加前缀-webkit-flex flex布局总共有12个属性: 1,flex-direction: row | row-reverse | c ...
分类:
其他好文 时间:
2017-12-30 12:20:07
阅读次数:
217
# Author : Hellcat# Time : 2017/12/30import tensorflow as tfexample,label = features['i'],features['j']# 每个batch的中样例的个数batch_size = 3# 队列中样例的个数capacit ...
分类:
其他好文 时间:
2017-12-30 00:59:46
阅读次数:
219
A. Nearest Minimums You are given an array of n integer numbers a0,?a1,?...,?an?-?1. Find the distance between two closest (nearest) minimums in it. I ...
分类:
其他好文 时间:
2017-12-30 00:25:37
阅读次数:
216