2017年4月17日

2017.2.17

摘要: <fieldset> <legend>test</legend> <input type="text" /></fieldset>fieldset 元素可将表单内的相关元素分组。文件,映射,闭包 package mainimport ( "bufio" "fmt" "io" "io/ioutil" 阅读全文

posted @ 2017-04-17 10:16 月下华光 阅读(90) 评论(0) 推荐(0) 编辑

2017-4-6

摘要: array_filter过滤元素usermod -a -G groupA user linux添加用户组 阅读全文

posted @ 2017-04-17 10:16 月下华光 阅读(63) 评论(0) 推荐(0) 编辑

4-5笔记

摘要: this is incompatible with sql_mode=only_full_group_by问题解决5.7以上将不允许查询字段包括非聚集列,GROUD BY无法使用,设置WHERE和MAX(id) id mysql distinct 去重 阅读全文

posted @ 2017-04-17 10:16 月下华光 阅读(86) 评论(0) 推荐(0) 编辑

2017.2.23

摘要: <script>var _hmt = _hmt || [];(function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?yourid"; var s = document. 阅读全文

posted @ 2017-04-17 10:16 月下华光 阅读(184) 评论(0) 推荐(0) 编辑

2017.2.22

摘要: <a href="mailto:dreamdu@dreamdu.com">给我写邮件</a>html邮件 阅读全文

posted @ 2017-04-17 10:16 月下华光 阅读(48) 评论(0) 推荐(0) 编辑

2017-4-11

摘要: mysql distinct去除重复 mb_substr_count — 统计字符串出现的次数 阅读全文

posted @ 2017-04-17 10:15 月下华光 阅读(85) 评论(0) 推荐(0) 编辑

2017年2月21日

2017.2.21

摘要: 左侧和头部的导航滑动栏 $(function () { if (navigator.platform.indexOf('Win32') != -1) { var btop = parseInt($('#myTab').offset().top); var statich = parseInt($(' 阅读全文

posted @ 2017-02-21 18:03 月下华光 阅读(135) 评论(0) 推荐(0) 编辑

2017年2月16日

2017.2.16

摘要: number_format() 函数通过千位分组来格式化数字 语法 必需。要格式化的数字。 如果未设置其他参数,则数字会被格式化为不带小数点且以逗号(,)作为千位分隔符。 可选。规定用作千位分隔符的字符串。仅使用该参数的第一个字符。比如 "xxx" 仅输出 "x"。 注释:如果设置了该参数,那么所有 阅读全文

posted @ 2017-02-16 17:40 月下华光 阅读(98) 评论(0) 推荐(0) 编辑

go学习笔记

摘要: go的安装,IDE使用的jetBrains的Gogland,全部安装完后在IDE中的File中设置setting配置好goroot和gopath; 使用的书籍是《Go语言程序设计》,在windows的cmd中运行; 第一个例子 第二个例子 阅读全文

posted @ 2017-02-16 09:44 月下华光 阅读(380) 评论(0) 推荐(0) 编辑

2016年12月15日

恶意镜像原理和解决方案

摘要: 恶意镜像,也叫恶意克隆,恶意解析,是指有人通过域名A记录直接解析别人IP地址,从而得到一个在访问者眼中完全相同网站的过程。百度百科的解释。 域名A记录就是服务器的IP指向,通过A记录,可以设置自己的不同域名转到不同的IP。 解决办法: 通过js解决 阅读全文

posted @ 2016-12-15 11:33 月下华光 阅读(949) 评论(0) 推荐(0) 编辑

导航