12 2017 档案

UTF-8 Invalid Byte Sequences
摘要:Chances are, some of you have run into the issue with the invalid byte sequence in UTF-8 error when dealing with user-submitted data. A Google search  阅读全文

posted @ 2017-12-30 15:46 iokde.com 阅读(617) 评论(0) 推荐(0)

golang -json-
摘要:golang struct to json html without escape default state when struct value is html code output to json will covert to unicode result will be : after ch 阅读全文

posted @ 2017-12-27 18:54 iokde.com 阅读(318) 评论(0) 推荐(0)

域名续费损失续费年限
摘要:在什么情况下转入会损失续费年限? 域名在 45 天的“自动续费期”内转移注册商,会损失在原注册商的续费年限,俗称“掉年”。 任何域名的转移过程,都涉及到三方,即: 域名持有人(注册人) 转入(新)注册商 转出(原)注册商 通常,为了到新注册商续费,一个域名会在到期日前的某个时间转移到新注册商,域名的 阅读全文

posted @ 2017-12-24 16:45 iokde.com 阅读(502) 评论(0) 推荐(0)

常用统计命令
摘要:统计某个adx的reqtype 尺寸reqtype 排序 grep all request from file and id from ids 阅读全文

posted @ 2017-12-12 11:41 iokde.com 阅读(337) 评论(0) 推荐(0)

golang for 循环变量取内存地址
摘要:前几天提交的代码进行测试的时候发现变量无法赋值,原始代码如下: 经过分析,定位到问题: 循环中使用到了内存地址,将asset.Required 的地址赋值给新的变量,不仔细看感觉没有问题。 实际使用过程中由于asset 是一个变量,定义后for 循环的整个过程都不会变化,后面的asset.Requi 阅读全文

posted @ 2017-12-06 17:44 iokde.com 阅读(1195) 评论(0) 推荐(0)

需求统计
摘要:nohup ruby tmp.rb >> 1205_adx-desc-adtype_country1.txt grep javasc 1205_adx-desc-adtype_country1.txt |grep 320x480 |cut -f1,6,7,8 |grep -v video|grep 阅读全文

posted @ 2017-12-05 18:13 iokde.com 阅读(123) 评论(0) 推荐(0)

从 Godaddy 转移域名到 Namesilo
摘要:域名本来是在 Godaddy 上注册的,首付很便宜,但是续费时发现是个坑,续费一年是 102 元,再加上隐私保护 60元/年,总共一年需要 160 元,续费贵而且一点优惠也没。 对比下其他商家一年只要 $10 左右,而且送 whois 保护,域名安全保护措施更好,差距还是比较大的。果断转出。 Nam 阅读全文

posted @ 2017-12-05 13:48 iokde.com 阅读(1205) 评论(0) 推荐(0)

iterm2使用技巧
摘要:iterm2使用技巧 https://yq.aliyun.com/articles/200683 阅读全文

posted @ 2017-12-05 10:45 iokde.com 阅读(322) 评论(0) 推荐(0)

adx-desc-adtype统计
摘要:数据分析脚本: 阅读全文

posted @ 2017-12-04 10:50 iokde.com 阅读(194) 评论(0) 推荐(0)

日志分析-mime统计
摘要:提取日志中未落入标准字段的mime,分adx,adtype 统计mime的数量和包含js的数量占比 ruby hash sort by value 阅读全文

posted @ 2017-12-01 11:05 iokde.com 阅读(180) 评论(0) 推荐(0)

导航