摘要: 在mysql中使用int相关的数据类型时, 如果不太了解其存储方式, 会产生一些误用的情况. 如: 只保存0-9之间的数字, 可能会直接用int(1). 习惯性的以为int(1)就相当于varchar(1)一样, 其实不然. 阅读全文
posted @ 2016-07-21 09:56 leo.li.3046 阅读(1079) 评论(0) 推荐(0) 编辑
摘要: grep参数说明及常用用法 grep目录遍历 阅读全文
posted @ 2016-07-21 09:50 leo.li.3046 阅读(23970) 评论(1) 推荐(1) 编辑
摘要: ubuntu中使用nginx把本地80端口转到其他端口 因为只是在开发的过程中遇到要使用域名的方式访问, 而linux默认把1024以下的端口全部禁用. 在网上找了N多方式开启80端口无果后, 方才想到使用代理的方式转到其他端口. 自然而然就想到了 用Nginx, 但在配置过程中也是出现了各种奇葩问题, 先做个笔记省得之后忘了. 阅读全文
posted @ 2016-07-21 09:47 leo.li.3046 阅读(6199) 评论(0) 推荐(0) 编辑
摘要: IDEA下安装/配置Jrebel6 阅读全文
posted @ 2016-07-21 09:45 leo.li.3046 阅读(686) 评论(0) 推荐(0) 编辑
摘要: Eclipse下安装/配置Jrebel6.X 阅读全文
posted @ 2016-07-21 09:43 leo.li.3046 阅读(988) 评论(0) 推荐(0) 编辑
摘要: dpkg: error processing archive /var/cache/apt/archives/libfreetype6-dev_2.5.2-4ubuntu2_amd64.deb (--unpack): trying to overwrite shared '/usr/share/man/man1/freetype-config.1.gz', which is different from other instances of package libfreetype6-dev:amd64 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Processing triggers for doc-base (0.10.6) ... Processing triggers for man-db (2.7.4-1) ... Errors were encountered while processing: /var/cache/a 阅读全文
posted @ 2016-07-21 09:41 leo.li.3046 阅读(469) 评论(0) 推荐(0) 编辑