上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页

2018年1月25日

GoLand tool tips

摘要: goland format code (on save ) preference -> tool -> file watcher then ,select go fmt 2, highlight selected text BrowseWordAtCaret 3,replace ⌘ +shift + 阅读全文

posted @ 2018-01-25 11:11 iokde.com 阅读(480) 评论(0) 推荐(0) 编辑

2018年1月15日

mac使用技巧

摘要: mac 返回上一级目录 方法1:在标题栏上点右键,弹出的列表随便进任意的上级文件夹 方法2: 按command+上箭头 mac 剪切文件 关于MAC下剪切的快捷键! 首先选中文件,按Command+C复制文件; 然后按Command+Option+V;就可以把你的文件剪走了! 在这里补充一下,我这里 阅读全文

posted @ 2018-01-15 17:40 iokde.com 阅读(411) 评论(0) 推荐(0) 编辑

人生三大陷阱

摘要: 人生三大水坑:「看热闹、随大流、替别人操心。」 阅读全文

posted @ 2018-01-15 11:05 iokde.com 阅读(165) 评论(0) 推荐(0) 编辑

2018年1月10日

golang pprof 内存分析

摘要: use pprof to get application memory useage add code in your main funciton build and compile you application. let application run and send request then 阅读全文

posted @ 2018-01-10 18:45 iokde.com 阅读(4548) 评论(0) 推荐(0) 编辑

2018年1月9日

hive 分隔符替换

摘要: Hive建表的时候虽然可以指定字段分隔符,不过用insert overwrite local directory这种方式导出文件时,字段的分割符会被默认置为\001,一般都需要将字段分隔符转换为其它字符, 可以使用下面的命令:sed -e 's/\x01/|/g' file 可以将|替换成自己需要的 阅读全文

posted @ 2018-01-09 16:22 iokde.com 阅读(1526) 评论(0) 推荐(0) 编辑

2017年12月30日

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 阅读(612) 评论(0) 推荐(0) 编辑

2017年12月27日

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 阅读(317) 评论(0) 推荐(0) 编辑

2017年12月24日

域名续费损失续费年限

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

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

2017年12月12日

常用统计命令

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

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

2017年12月6日

golang for 循环变量取内存地址

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

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

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页

导航