git merge是用来合并两个分支的。 git merge b git merge b # 将b分支合并到当前分支 同样 git rebase b,也是把 b分支合并到当前分支 他们的 原理 如下: 假设你现在基于远程分支"origin",创建一个叫"mywork"的分支。 $ git check ...
分类:
其他好文 时间:
2017-06-27 16:25:11
阅读次数:
192
系统环境:CentOS7 切记:安装GitLab 时会自动安装GitLab自带的Nginx,为了避免冲突,部署环境时先不要安装Nginx。 官网安装及汉化安装 官网安装最新版GitLab:https://about.gitlab.com/installation/ 选择对应的系统版本 按照官网的教程 ...
分类:
其他好文 时间:
2017-06-27 16:23:49
阅读次数:
164
#include #include using namespace std; int a,b; long long qp(int a,int b) { int t=1;int y=a; while (b) { if (b&1) t=t*y;//whether obb or not y=y*y; b=... ...
分类:
其他好文 时间:
2017-06-27 16:22:31
阅读次数:
189
一简介 使用itcha实现微信登录及消息发送接收,使用图灵AI实现智能回复。 参考API: http://www.tuling123.com/ https://itchat.readthedocs.io/zh/latest/ 二代码 三效果 ...
分类:
微信 时间:
2017-06-27 16:20:08
阅读次数:
383
1,将某个文件生成带DM5的文件,使用srec_cat工具; read A #原始文件 srec_cat $A -o 要生成的文件名称 -Line_Length 46 -Address_Length 3 -HEAder "The title" 2。从生成的文件里读取DM5数据 dm5sum 生成的文 ...
分类:
其他好文 时间:
2017-06-27 16:19:26
阅读次数:
138
问题截图: 如果在安装过程中未mySQL数据库设置里密码,那么第二次从localhost界面访问phpMyAdmin或出现错误:#1045 - Accès refusé pour l’utilisateur: ‘root’@’@localhost’ (mot de passe: NON)如下图: 解 ...
分类:
Web程序 时间:
2017-06-27 16:16:46
阅读次数:
180
缺点:固定的形式,不常见,适用于python 1.基本的读取配置文件 -read(filename) 直接读取ini文件内容 -sections() 得到所有的section,并以列表的形式返回 -options(section) 得到该section的所有option -items(section ...
分类:
其他好文 时间:
2017-06-27 15:37:35
阅读次数:
184
多个页面需要绑定多个事件,执行window.onload时,一定要注意正确的写法: 1.创建匿名函数: window.onload=function(){ func1(); func2(); } 2.事件监听: function addLoadEvent(func){ var oldonload=w ...
带元组(或者非关键字可变长参数)的函数普遍的语法如下:def function_name([formal_args,] *vargs_tuple):"function_documentation_string"function_body_suite 使用变量参数字典来应对额外关键字参数的函数定义的语 ...
分类:
编程语言 时间:
2017-06-27 14:59:09
阅读次数:
180