(solved) The pkg-config package 'libpcre' is required but it could not be found.


pkg-confg 确认是否存在。 $ pkg-config --libs libpcrePackage libpcre was not found in the pkg-config search path.Perhaps you should add the directory containing `libpcre.pc'to the PKG_CONFIG_PATH environment variableNo package 'libpcre' found 编辑profile $ vim ~/.bash_profile .bash_profile添加以下。 export PKG_CONFIG_PATH=/usr/lib/pkgconfig 保存 .…
Read more ⟶

58到家MySQL升级规范[转]


一、基础规范 表存储引擎必须使用InnoDB 表字符集默认使用utf8,必要时候使用utf8mb4 解读: (1)通用,无乱码风险,汉字3字节,英文…
Read more ⟶

[solved] src/lib9/fmt/fltfmt.c: In function ‘__efgfmt’


笔者在编译go1.4.3时报错。

Read more ⟶

/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d


Mesa 18.1.1 error: kelvin’s blog install mesa error!

Read more ⟶

[解决]mysql max_allowed_packet 设置过小导致记录写入失败


以下方法的第一种方法在有些机子上更改是没有作用的,建议大家使用第二种方法。 mysql根据配置文件会限制server接受的数据包大小。 有时候大…
Read more ⟶

My xfce shortcuts to take screenshots


Command Shortcut xfce4-screenshooter --fullscreen --clipboard Ctrl + PrtScrn xfce4-screenshooter --fullscreen --save /home/kelvin/Pictures PrtScrn xfce4-screenshooter --region --clipboard Ctrl + Shift + PrtScrn xfce4-screenshooter --region --save /home/kelvin/Pictures Shift + PrtScrn xfce4-screenshooter --window --clipboard Ctrl + Super + PrtScrn xfce4-screenshooter --window --save /home/kelvin/Pictures Super + PrtScrn Screenshot_2018-01-06_19-52-50.png…
Read more ⟶

web服务器压力测试一例


近期部门新上线一个服务,我们使用ab和locust分别测试 目前项目属于demo阶段,对访问量的支持不要求太高,我们暂且设定在500请求,20…
Read more ⟶

.htaccess使用详解


Apache Web 服务器可以通过 .htaccess 文件来操作各种信息,这是一个目录级配置文件的默认名称,允许去中央化的 Web 服务器配置管理。可用来重写服务器的全局配置。该文件…
Read more ⟶

[移动端]专用的meta


<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"> width和height指令分别指定视区的逻辑宽度和高度。他们的值要么是以像素为单位的数字,要么是一个特殊的标记符号。widt…
Read more ⟶

《TypeScript 中文入门教程》 9、泛型


文章来源: https://github.com/zhongsp/TypeScript/edit/master/doc/handbook/Generics.md # 介绍 软件工程中,我们不仅要创建一致的定义良好的API,同时也要考虑可重用性。 组件不仅能够支持当前的数据类型,同时也能支持未来的…
Read more ⟶