会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
warrenwt
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
29
30
31
32
33
34
35
36
下一页
2018年2月8日
linux编译安装php(整理过)
摘要: nginx已经在这个安装过了 yum install -y git composer readline-devel freetype gmp-devel net-tools pcre pcre-devel mariadb mariadb-server epel-release autoconf au
阅读全文
posted @ 2018-02-08 10:13 蜗牛使劲冲
阅读(21)
评论(0)
推荐(0)
2018年2月2日
redis的乐观锁操作
摘要: #乐观锁的实现,必须基于WATCH,然后利用redis的事务。 #WATCH生命周期,只是和事务关联的,一个事务执行完毕,相应的watch的生命周期即结束。 127.0.0.1:6379> watch hello OK 127.0.0.1:6379> get hello "4" 127.0.0.1:
阅读全文
posted @ 2018-02-02 17:07 蜗牛使劲冲
阅读(25)
评论(0)
推荐(0)
redis的基本操作小记录
摘要: // 存储字符串(后者覆盖前者) runoobkey zhi set runoobkey zhi2 get runoobkey // 存储多个哈希值 HMSET 'user:1' zhi1 zhi2 zhi3 zhi4 HGETALL 'user:1' // 列表list LPUSH 'queue:
阅读全文
posted @ 2018-02-02 17:04 蜗牛使劲冲
阅读(21)
评论(0)
推荐(0)
2018年1月18日
捣鼓了一个星期各种踩坑,终于linux的centos的lamp安装完成
摘要: 记的东西太多了,下载源码安装太坑了,直接yum安装,上代码 安装 . php yum install epel-release yum install httpd -y(检测rpm -qa httpd) yum install gcc gcc++ libxml2-devel rpm -Uvh htt
阅读全文
posted @ 2018-01-18 10:25 蜗牛使劲冲
阅读(20)
评论(0)
推荐(0)
关于contos安装apache报错Job for httpd.service failed.
摘要: 我 restart apache报了 ***Redirecting to/bin/systemctl start httpd.service //转到bin文件夹启动服务 Job for httpd.service failed.See ‘systemctl status httpd.service
阅读全文
posted @ 2018-01-18 10:00 蜗牛使劲冲
阅读(26)
评论(0)
推荐(0)
2018年1月17日
关于linux安装apache报错Size of is less than size of "long"
摘要: apache的包也下好了,也tar过了,然后嘛老样子 开始configure,我执行命令 ./configure –prefix=/usr/local/httpd –with-apr=/usr/local/apr –with-apr-util=/usr/local/apr-util –with-pc
阅读全文
posted @ 2018-01-17 17:55 蜗牛使劲冲
阅读(36)
评论(0)
推荐(0)
2018年1月4日
ajax操作
摘要: let item = { name: $(this).children('#sizing-addon1').text(), money: $(this).children('input').val() }; data_arr.push(item)// push到一个对象里面 // 下面就是ajax操
阅读全文
posted @ 2018-01-04 16:37 蜗牛使劲冲
阅读(23)
评论(0)
推荐(0)
2017年12月6日
tp3.2的ajax(保留下)
摘要: <script> $(".askCheng").click(function(){ var user_id = $("input[name='user_id']").val(), course_id = $("input[name='course_id']").val(), section_id =
阅读全文
posted @ 2017-12-06 10:16 蜗牛使劲冲
阅读(32)
评论(0)
推荐(0)
2017年11月17日
git手记
摘要: 再做git教程 git init–初始化 git add readme.txt – 把文件添加到仓库 git commit -m “wrote a readme.txt” – 提交到仓库 git status – 查看仓库状态 git diff readme.txt – 查看不同 git diff
阅读全文
posted @ 2017-11-17 14:32 蜗牛使劲冲
阅读(26)
评论(0)
推荐(0)
2017年11月13日
输出text文件给用户
摘要: $date=date("Ymd"); $filename = $date."-".$this->user_id.".txt"; $fp = fopen('./plugins/bijidown/'.$filename, 'w') or die("Unable to open file!"); fwri
阅读全文
posted @ 2017-11-13 09:21 蜗牛使劲冲
阅读(20)
评论(0)
推荐(0)
上一页
1
···
29
30
31
32
33
34
35
36
下一页
公告