摘要: 安装 graphvizbrew install graphviz // for macosapt install graphviz // for ubuntuyum install graphviz // for centos 设置svg文件默认打开程序右键svg文件 ->显示简介->默认程序 // 阅读全文
posted @ 2019-12-06 17:48 boybai 阅读(1577) 评论(0) 推荐(0) 编辑
摘要: a. brew install gdbb. 创建证书 1.打开菜单:钥匙串访问-》证书助理-》创建证书… 2.输入证书名称,如:gdb-cert; 3.选择身份类型:自签名根证书 (Identity Type to Self Signed Root) 4.选择证书类型:代码签名 (Certifica 阅读全文
posted @ 2019-12-05 15:26 boybai 阅读(761) 评论(0) 推荐(0) 编辑
摘要: wget https://www.php.net/distributions/php-7.4.0.tar.gztar xvf php-7.4.0.tar.gzcd php-7.4.0安装依赖sudo apt-get install build-essentialsudo apt-get instal 阅读全文
posted @ 2019-11-29 11:37 boybai 阅读(3148) 评论(0) 推荐(0) 编辑
摘要: 命令行图片查看工具 lsix 安装mac 安装 1. 安装iterm2 https://iterm2.com/2. brew install bash //升级bash3. brew install imagemagick4. git clone https://github.com/hackerb 阅读全文
posted @ 2019-11-20 18:46 boybai 阅读(659) 评论(0) 推荐(0) 编辑
摘要: brew install phpmemcachedbrew install memcachedbrew install libmemcachedbrew install pkg-configbrew install zlibpecl install memcachedxdebug//pecl uni 阅读全文
posted @ 2019-09-12 01:48 boybai 阅读(927) 评论(1) 推荐(0) 编辑
摘要: Latency Comparison Numbers L1 cache reference 0.5 ns Branch mispredict 5 ns L2 cache reference 7 ns 14x L1 cache Mutex lock/unlock 25 ns Main memory r 阅读全文
posted @ 2019-07-20 11:49 boybai 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 安装perfsudo apt-get install linux-tools-common linux-tools-generic linux-tools-`uname -r` 记录数据sudo perf record -F 99 -p 13204 -g -- sleep 30sudo perf s 阅读全文
posted @ 2019-05-24 15:22 boybai 阅读(649) 评论(0) 推荐(0) 编辑
摘要: ssr terminal mac /usr/local/bin/ssr.sh if [ "$http_proxy" != "http://127.0.0.1:1087" ]thenecho 'export http_proxy=http://127.0.0.1:1087export https_pr 阅读全文
posted @ 2019-05-20 18:54 boybai 阅读(843) 评论(0) 推荐(0) 编辑
摘要: strace常用的选项备用 -c 统计每一系统调用的所执行的时间,次数和出错的次数等.-d 输出strace关于标准错误的调试信息.-f 跟踪由fork调用所产生的子进程.-ff 如果提供-o filename,则所有进程的跟踪结果输出到相应的filename.pid中,pid是各进程的进程号.-F 阅读全文
posted @ 2019-05-16 14:48 boybai 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 连接redis redis-cli -h 127.0.0.1 -p 6379 备份数据 该命令将在redis安装目录中创建dump.rdb文件save 查看redis安装目录config get dir 恢复数据,拷贝备份文件 dump.rdb到安装目录 重启redis启动redis服务端,/etc 阅读全文
posted @ 2019-04-18 12:12 boybai 阅读(213) 评论(0) 推荐(0) 编辑