# 查看远程仓库推拉地址,分支信息,分支跟踪情况等 git remote show origin # 拉取远程仓库的变更内容到本地 git fetch origin # 拉取并合并仓库的变更内容到本地 git pull # 添加远程仓库跟踪地址 git remote add # 推送本地的提交到远程 ...
分类:
其他好文 时间:
2020-06-18 19:37:11
阅读次数:
41
应用实例: 你是否玩过二十个问题的游戏,游戏的规则很简单:参与游戏的一方在脑海里想某个事物,其他参与者向他提问题,只允许提20个问题,问题的答案也只能用对或错回答。问问题的人通过推断分解,逐步缩小待猜测事物的范围。决策树的工作原理与20个问题类似,用户输人一系列数据,然后给出游戏的答案。如下表 假如 ...
分类:
编程语言 时间:
2020-06-17 20:03:36
阅读次数:
41
function showLog($content,$filename="filenamelog") { $logfile = 'logs/'.$filename.date('Ymd').'.txt'; if(!file_exists(dirname($logfile))) { mkdir(dirn ...
分类:
Web程序 时间:
2020-06-17 13:13:42
阅读次数:
117
先了解一下哨兵都 做了什么工作:Redis 的 Sentinel 系统用于管理多个 Redis 服务器(instance), 该系统执行以下三个任务: 监控(Monitoring): Sentinel 会不断地检查你的主服务器和从服务器是否运作正常。 提醒(Notification): 当被监控的某 ...
分类:
其他好文 时间:
2020-06-17 10:46:25
阅读次数:
53
1 richtext,mask,widget,创建时间久 需要减少使用2 instantiate太多 把界面放到PREFAB_CREATORS中导出创建函数,卡牌和背包icon用之前实现的getBagGridItem,createCardIcon替换现有的cc.instance,同时创建过多分帧加载 ...
分类:
其他好文 时间:
2020-06-17 09:19:38
阅读次数:
76
消费方项目为SpringMVC 服务提供方为Spring+MyBatis 使用版本号: dubbo 2.6.6 zookeeper 3.6.1 出现异常: 类型:com.alibaba.dubbo.rpc.RpcException 主要信息: Invoke remote method timeout ...
分类:
其他好文 时间:
2020-06-17 09:13:44
阅读次数:
267
参考:https://blog.csdn.net/caiqiiqi/article/details/79698143 一、实验步骤 1、创建拓扑 参数说明: --controller 自己指定一个控制器,一般用remote指定远程控制器。还可以用--ip 与 --port 指定地址和端口号 --ma ...
分类:
其他好文 时间:
2020-06-17 01:57:29
阅读次数:
188
1-使用 git remote -v 查看对应的克隆地址: git remote -v origin https://github.com/username/repository.git (fetch) origin https://github.com/username/repository.gi ...
分类:
其他好文 时间:
2020-06-16 23:47:54
阅读次数:
60
今天看到一个问题,我们怎么确定printf中的可变参数。 这样,我们先从汇编的角度去理解一个东西,栈 char *p = (char*)malloc(256 << 20) + (256 << 20); __asm__ volatile("movl %0, %%rsp\n", "r"(p)); 这段代 ...
分类:
编程语言 时间:
2020-06-16 23:15:06
阅读次数:
89
//封装axiosimport axios from 'axios'export function request(config) { //1.创建axios实例 const instance = axios.create({ // baseURL:"http://localhost:8091", ...
分类:
移动开发 时间:
2020-06-16 23:13:51
阅读次数:
83