优美短文

上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: redis 下载 https://redis.io/download 解压缩 进入解压后的文件目录 redis安装相对简单 直接编译即可 创建存储redis文件目录 复制redis-server redis-cli到新建立的文件夹 复制redis的配置文件 编辑配置文件 改为yes 后台运行 添加开 阅读全文
posted @ 2017-01-03 18:26 一根PHP 阅读(27194) 评论(5) 推荐(1) 编辑
摘要: var arr = [22, 33, 44, 55, 66, 77, 88, 99]; //every 全部结果为true 则返回true var e = arr.every(function (m) { return m > 30; }); console.log('arr.every:', e) //every 只有有一个方法返回true 则返回true var s = arr.... 阅读全文
posted @ 2017-01-03 15:20 一根PHP 阅读(258) 评论(0) 推荐(0) 编辑
摘要: linux 的系统时间有时跟硬件时间是不同步的 Linux时钟分为系统时钟(System Clock)和硬件(Real Time Clock,简称RTC)时钟。系统时钟是指当前Linux Kernel中的时钟,而硬件时钟则是主板上由电池供电的时钟,这个硬件时钟可以在BIOS中进行设置。当Linux启 阅读全文
posted @ 2016-12-27 10:43 一根PHP 阅读(5720) 评论(0) 推荐(0) 编辑
摘要: server { listen 80; server_name www.baidu.com.cn; root /data/cehuiren/public; #charset koi8-r; #access_log /var/log/nginx/log/host.access.log main; #设置加载 css... 阅读全文
posted @ 2016-12-02 14:25 一根PHP 阅读(11559) 评论(0) 推荐(0) 编辑
摘要: #CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 #firewall: systemctl start firewalld.service#启动firewall systemctl stop firewalld.service#停止firewall systemctl disable firewalld.service#禁止firewall开机启动 ... 阅读全文
posted @ 2016-11-30 22:29 一根PHP 阅读(327) 评论(0) 推荐(0) 编辑
摘要: yum install openssl openssl-devel ln -s /usr/lib64/libssl.so /usr/lib/ 阅读全文
posted @ 2016-11-30 21:45 一根PHP 阅读(6348) 评论(0) 推荐(0) 编辑
摘要: https://packagist.org/packages/caouecs/laravel-lang 例如安装中文语言包 则下载 zh-CN 拷贝文件到 resouces/lang 下 然后修改config/app配置文件 'locale' => 'zh-CN'即可。 阅读全文
posted @ 2016-11-30 15:03 一根PHP 阅读(1103) 评论(0) 推荐(0) 编辑
摘要: 编码环境windows10 编码IDE:phpstorm 2016.2 PHP框架:laravel5.3 + 代码运行环境:centos7 + nginx 在开发过程中,上传blade模板文件到linux中,访问以后生成缓存,使得后面的blade模板更改不生效。 问题原因是:phpstorm上传文件 阅读全文
posted @ 2016-11-30 14:01 一根PHP 阅读(3524) 评论(0) 推荐(0) 编辑
摘要: git config --global core.autocrlf false git config --global core.autocrlf false 阅读全文
posted @ 2016-11-30 11:34 一根PHP 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Git是现在最流行的版本控制系统之一了,今天也试试了,成功了上传了远程仓库,接下来看看我是怎么做的。 (ps:七牛抓取不到图片,请移步:http://blog.csdn.net/u011043843/article/details/33336625) 1、首先,要有git的账号,点击查看怎么注册? 阅读全文
posted @ 2016-11-30 10:42 一根PHP 阅读(12559) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页