
第三方
An_s
这个人很懒什么都没有留下....
展开
-
redis的哈希使用
127.0.0.1:6379> HMSET runoobkey name "redis tutorial" description "redis basic commands for caching" likes 20 visitors 23000 ------------->插入 OK 127.0.0.1:6379> HGETALL runoobkey ------原创 2017-08-09 09:11:50 · 500 阅读 · 0 评论 -
redis使用列表(list)
127.0.0.1:6379> lpush runbookey redis -----添加 (integer) 1 127.0.0.1:6379> lpush runbookey mysql ------添加 (integer) 2 127.0.0.1:6379> lpush runbookey mongdb原创 2017-08-09 10:15:26 · 480 阅读 · 0 评论 -
php安装redis
1、先使用phpinfo查看 我的是VC11的x86位的 来到这个网站下载php_redis (都是2.2.5版本的) http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/ 这个是 http://windows.php.net/downloads/pecl/releases/igbinary/1.2.1/ 是1.2.原创 2017-08-09 14:27:15 · 345 阅读 · 0 评论 -
php使用redis
开启的你redis php安装好了reids的扩展 // phpinfo(); $redis = new Redis(); $redis->connect('127.0.0.1',6379); $redis->set('test','hello redis'); echo $redis->get('test'); ?> 浏览器访问原创 2017-08-09 14:34:08 · 464 阅读 · 0 评论 -
第一次使用git提交本地文件到github
要先下载git和github这个两个东西(github要注册好帐号) 你在github自己建一个仓库 然后在本地建一个目录test_doem_2 点击 git bash here 你就会进入到命令行 复制 github 里面的 ctrl+c 到 git (paste) 粘贴 测试一下(ls)有没有成功(显示这样就) 或者去原创 2017-06-09 22:56:22 · 768 阅读 · 0 评论 -
码云git使用
点击怎样生成公钥 然后输入 ssh -T git@git.oschina.net 出现 Welcome to Git@OSC, yourname! yourname就是你码云的用户名就成功了 然后配置git的全局姓名和昵称(记得配置啊) git config --global user.name "用户名" git config --globa原创 2017-09-11 09:40:53 · 857 阅读 · 2 评论