`
文章列表

ant 构建部分文件

    博客分类:
  • Ant
The ant manual for javac says : If you wish to compile only files explicitly specified and disable javac's default searching mechanism then you can unset the sourcepath attribute: <javac sourcepath="" srcdir="${src}" destdir="${build}" > < ...

ant 构建部分文件

    博客分类:
  • Ant
The ant manual for javac says : If you wish to compile only files explicitly specified and disable javac's default searching mechanism then you can unset the sourcepath attribute: <javac sourcepath="" srcdir="${src}" destdir="${build}" > < ...
假如当前的类名叫xxx,读取的配置文件和该类在相同目录下        Properties prop=new Properties();         InputStream wominin = xxx.class.getResourceAsStream("xxx.properties");         prop.load(wominin);

mysql树形查询示例

如下:detailIndustryId是mysql函数的参数,一旦上级行业的id等于1则递归中断 BEGIN DECLARE sTempId INT; DECLARE sParentIndustryId INT;   SET sTempId=detailIndustryId; SET sParentIndustryId = 0;     SELECT `上级行业` INTO sParentIndustryId FROM `行业` WHERE id = detailIndustryId; WHILE sParentIndustryId <> 1 DO SET s ...

js 颜色转数字

var hexColor = parseInt('#ff0000',16)
rpm -e --nodeps `rpm -qa | grep libobasis7.0`
1. mysql -h***.***.***.*** -u*** -p 2. use mydatabasename; 3. create view myview as select ....... 4. create user 'myusername'@'%' identified by 'mypassword' (注意加引号) 5. grant select on mydatabasename.myview to 'myusername'@'%';
one or more listeners failed. Full details will be found in the appropriate container log file   这句话的意思是:一个或多个筛选器启动失败。完整的详细信息将在相应的容器日志文件中找到 linux上面只有这一句话,没有详细报错详细,这时,我们在WEB-INF/classes目录下添加【logging.properties】 文件内容为: org.apache.catalina.core.ContainerBase.[Catalina].level=INFO  org.apache.cata ...
常用正则表达式   验证数字的正则表达式集  验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位小数的正实数:^[0-9]+(.[0-9]{1,3})?$ 验证非零的正整数:^\+?[1-9][0-9]*$ 验证非零的负整数:^\-[1-9][0-9]*$ 验证非负整数(正整数 + 0)  ^\d+$ 验证非正整数(负整数 + 0)  ^((- ...

mysql死锁查看

show engine innodb status
1. http://api.map.baidu.com/lbsapi/creatmap/ 2. 出现乱码需要修改为<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 3. 图标无法出现需要修改图标引用地址如下:  function createIcon(json){ var icon = new BMap.Icon("http://api.map.baidu.com/lbsapi/creatmap/images/u ...
button[ant-click-animating-without-extra-node]:after {   border: 0 none;   opacity: 0;   animation:none 0 ease 0 1 normal; }   出处: https://segmentfault.com/q/1010000016792755/
采用七牛云提供的代理即可:具体方法是设置环境变量GOPROXY为https://goproxy.cn。 下载go module的时候,还需要先运行SET GO111MODULE=on

字体渐变

    博客分类:
  • css
<div>关于<span style="background: linear-gradient(to top right, #fff 0%, #fff 30%, #999999 100%); -webkit-background-clip: text;color:transparent;">我们</span></div>  

HTTP点滴

    博客分类:
  • html
1.  <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 用处: 自动将http请求升级到https, 用来解决以下问题: Mixed Content... This request has been blocked; the content must be served over HTTPS.
Global site tag (gtag.js) - Google Analytics