- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 php 5.6特性 可变参数 参数解包
1.c 语言中 int printf( const char* format, ...);function run ($fun, ...$items) {foreach ($items as $itme) {print_r ($fun ($item));}}$items 会自动解包成 多个$item 类似c语言的可变参数2.func
2018-01-29 12:08:35 634
原创 nginx No such file or directory,rewrite
配置apache rewrite重写 index.php 通过.htaccess移植nginx发现有个问题 nginx error_log报错:No such file or directory解决方案: location / { if (!-f $request_filename) { rewrite ^/buoyage/(.
2018-01-14 22:23:32 2476
原创 mysql group_concat 长度限制设置
SHOW VARIABLES LIKE "group_concat_max_len"; SET GLOBAL group_concat_max_len=1024000;SET @@GROUP_CONCAT_MAX_LEN = 1024000; 使用group_concat会发现会有截断的现象 是因为 默认长度是1024 改长点就行了
2018-01-14 15:58:22 1059
原创 tmux 256 色配置
Try forcing tmux into 256 color mode by starting it with "tmux -2”tmux -2 new -s test加上-2参数启动的时候能用256色启动 匹配你的vim配置关于真彩色显示不正常,配置方面可以参考:https://blog.csdn.net/ghostyusheng/article/detail...
2018-01-12 12:13:37 1914
原创 apache rewrite重写index.php
RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
2018-01-04 23:18:07 1124
phantomjs自动化测试demo
2018-07-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人