01 2018 档案

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

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

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

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

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

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

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

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

导航