上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
2017年8月9日
摘要: 对MySQL数据表里的一个字符型字段排序,其内容格式为一位字母+顺序数字。数字没有前导零,长度不固定。这种含字母的数字序列,排序出来的结果和我们想要的结果是不一样的,因为它不是纯数字,只能按字符规则排。结果是A1,A10,A11,A12。。。。A19,A2,A20,A21。。。。而不是我们通常感觉中 阅读全文
posted @ 2017-08-09 23:08 whlives 阅读(7024) 评论(0) 推荐(0) 编辑
2017年7月7日
摘要: 1、在composer.json的require下添加一行:"barryvdh/laravel-ide-helper":"dev-master" 2、项目目录下执行 composer update 3、到config\app.PHP的providers数组项中添加一行:Barryvdh\Larave 阅读全文
posted @ 2017-07-07 10:28 whlives 阅读(295) 评论(0) 推荐(0) 编辑
2017年6月17日
摘要: 清理列表, 可以在终端中输入下面提供的一行命令: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain loc 阅读全文
posted @ 2017-06-17 21:36 whlives 阅读(649) 评论(0) 推荐(0) 编辑
2017年6月11日
摘要: 1.在VirtualBox中设置好共享目录,设置自动挂载/固定分配 2.安装增强工具,为了避免安装出错需要安装依赖文件 #更新内核。 yum update kernel#需要安装相应的kernel-devel和gcc程序包,gcc也是必须的 yum install kernel-devel gcc 阅读全文
posted @ 2017-06-11 23:14 whlives 阅读(3917) 评论(0) 推荐(0) 编辑
2017年5月27日
摘要: 价格 /^(0|[1-9][0-9]{0,9})(\.[0-9]{1,2})?$/ 手机 /^13[0-9]{9}$|14[0-9]{9}|15[0-9]{9}$|18[0-9]{9}$/ 邮箱 /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/ 阅读全文
posted @ 2017-05-27 18:37 whlives 阅读(184) 评论(0) 推荐(0) 编辑
2017年5月26日
摘要: 1. 检查SSH keys是否存在 ls -al ~/.ssh2. 生成新的ssh key 输入 ssh-keygen -t rsa -C your_email@example.com 阅读全文
posted @ 2017-05-26 13:48 whlives 阅读(10916) 评论(0) 推荐(0) 编辑
2017年5月24日
摘要: 查看系统cpu、内存使用情况 top, 按 m查看内存,P查看cpu使用排序,M查看内存使用排序 实时查看日志 tail -f test.log 清空日志 cat /dev/null > test.log 查看网络端口监听 netstat -tulnp 打包命令 tar zcvf saas.tar. 阅读全文
posted @ 2017-05-24 21:18 whlives 阅读(457) 评论(0) 推荐(0) 编辑
2017年5月23日
摘要: 1.打开应用程序-实用工具-终端; 2.复制以下代码(红色处注意是两个-)到终端中,回车(输入电脑密码): sudo spctl --master-disable 3.打开应用程序-系统偏好设置-安全性和隐私-通用,消失的任何来源终于出现了(默认应该勾选了); 4.尽情的安装第三方软件吧! 当然,如 阅读全文
posted @ 2017-05-23 21:46 whlives 阅读(1037) 评论(0) 推荐(0) 编辑
2017年5月22日
摘要: 安装git服务器先安装依赖软件:yum -y install gcc zlib-devel openssl-devel perl cpio expat-devel gettext-devel openssl zlib curl autoconf tk1、下载最新的git文件:https://www. 阅读全文
posted @ 2017-05-22 21:04 whlives 阅读(3444) 评论(0) 推荐(0) 编辑
2017年5月18日
摘要: 修改的用户都以root为列。一、拥有原来的myql的root的密码;方法一:在mysql系统外,使用mysqladmin# mysqladmin -u root -p password "test123"Enter password: 【输入原来的密码】方法二:通过登录mysql系统,# mysql 阅读全文
posted @ 2017-05-18 14:33 whlives 阅读(269) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页