package nsqdtype inFlightPqueue []*Messagefunc newInFlightPqueue(capacity int) inFlightPqueue { return make(inFlightPqueue, 0, capacity)}func (pq inFl... ...
分类:
其他好文 时间:
2017-08-31 12:57:03
阅读次数:
201
package nsqdtype dummyBackendQueue struct { readChan chan []byte}func newDummyBackendQueue() BackendQueue { return &dummyBackendQueue{readChan: make(c... ...
分类:
其他好文 时间:
2017-08-31 12:42:48
阅读次数:
115
前言: 对于大多数的APP都有第三方登录这个功能,自己也做过几次,最近又有一个新项目用到了第三方登录,所以特意总结了一下关于第三方登录的实现,并拿出来与大家一同分享; 各大开放平台注册账户获取AppKey和AppSecret Mob开放平台地址:http://www.mob.com/#/index ...
分类:
微信 时间:
2017-08-31 12:39:43
阅读次数:
493
2017年8月11日 星期五 --出埃及记 Exodus 28:33Make pomegranates of blue, purple and scarlet yarn around the hem of the robe, with gold bells between them.袍子周围底边上要 ...
分类:
其他好文 时间:
2017-08-31 11:03:59
阅读次数:
193
php artisan :所有的命令列表 php artisan make:controller 文件夹名称/控制器名称 :创建控制器的命令以及控制器放置的文件夹 php artisan make:model 文件夹名称/模版名称 php arisan migrate:refresh更新数据库表 p ...
分类:
Web程序 时间:
2017-08-31 11:01:59
阅读次数:
179
Ansible离线编译安装
(1)python2.7安装
准备编译环境
yuminstallzlib-develbzip2-developenssl-develgccpython-devel
https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz
tarxvzfPython-2.7.8.tgz
cdPython-2.7.8
./configure--prefix=/usr/local/python2.7/
make&..
分类:
其他好文 时间:
2017-08-30 20:05:25
阅读次数:
377
创建目录:mkdir (make directory) 删除目录:rmdir (remove directory) 语法:mkdir(选项)(参数) 在创建目录时,应保证新建的目录与它所在目录下的文件没有重名 '-p':可以级联创建多个目录 ‘-v’ :可视化执行创建目录的过程 同时创建多个目录时, ...
分类:
其他好文 时间:
2017-08-30 19:48:35
阅读次数:
203
i wanna make web project using the Maven to import automatically all libraries that i need, so i chose "maven-archetype-webpp" after that i got this e ...
分类:
Web程序 时间:
2017-08-30 18:26:25
阅读次数:
668
https://stackoverflow.com/questions/16931770/makefile4-missing-separator-stop makefile has a very stupid relation with tabs , all actions of every rul ...
分类:
其他好文 时间:
2017-08-30 16:41:40
阅读次数:
255
按照如下操作即可(可以自定义目录) mkdir /redis cd /redis wget http://download.redis.io/releases/redis-4.0.1.tar.gz tar xzf redis-4.0.1.tar.gz cd redis-4.0.1 make cd r ...
分类:
其他好文 时间:
2017-08-30 15:51:16
阅读次数:
155