2019 年 1 月,阿里巴巴中间件团队发起了开源项目 Fescar(Fast & EaSy Commit And Rollback),和社区一起共建开源分布式事务解决方案。Fescar 的愿景是让分布式事务的使用像本地事务的使用一样,简单和高效,并逐步解决开发者们遇到的分布式事务方面的所有难题。 ...
分类:
其他好文 时间:
2020-08-28 15:05:34
阅读次数:
105
// 初始化 快指针和慢指针 ListNode slow = head; ListNode fast = head; /** * Change this condition to fit specific problem. * 在这里避免空指针错误 **/ while (slow != null & ...
分类:
其他好文 时间:
2020-08-20 18:57:19
阅读次数:
66
using UnityEngine; public class SwitchMaterial : MonoBehaviour { public Material M1, M2; // 贴图 void Update() { if (Input.GetKey(KeyCode.A)) { this.tra ...
分类:
其他好文 时间:
2020-08-19 19:48:48
阅读次数:
67
点击choose report data 然后全部选中即可 主要代码如下: Report report = new Report(); var assembly = System.Reflection.Assembly.GetExecutingAssembly(); string path = Pa ...
分类:
其他好文 时间:
2020-08-17 16:52:03
阅读次数:
81
原文:https://arxiv.org/pdf/1711.10398.pdf 官网:https://captain-whu.github.io/DOTA/ dataset:https://captain-whu.github.io/DOTA/dataset.html Image Source an ...
分类:
其他好文 时间:
2020-08-10 19:51:07
阅读次数:
143
问题阐述 renren-fast-vue 无法正常启动登录页面,显示<% if(process. enV. NODE_ENV ' production){%><%} else{%><%}%> 如上图 问题分析 根据显示的代码来看应该是和node相关,可能是项目在初始划的时候出现异常,导致启动失败 问 ...
分类:
其他好文 时间:
2020-08-01 15:48:52
阅读次数:
245
docker技术快速实现前后端项目的集群化⑩搭建renren-fast java后端基于nginx的负载均衡集群 创建容器卷java01 [root@server01 ~]# docker volume create java01 获取centos基础镜像(如果使用java这个镜像,使用的是ubun ...
分类:
编程语言 时间:
2020-07-31 19:17:49
阅读次数:
99
location /php/ { alias /usr/share/nginx/php/; index index.html index.htm index.php; if (!-e $request_filename) { rewrite ^/php/(.*)$ /php/index.php?s= ...
分类:
其他好文 时间:
2020-07-30 22:05:36
阅读次数:
75
前言 之前使用 Nginx 容器配置了反向代理,但是初始的 Nginx 容器没有预先安装 php 相关组件。在尝试了各种各样的方法之后,也没有在 Nginx 容器中实现 php 编译。 本文简记 Nginx 容器链接 php:rc-fpm 容器实现 php 编译。 拉取镜像 Nginx sudo d ...
分类:
Web程序 时间:
2020-07-29 21:36:33
阅读次数:
91
ES建立索引完成全文检索的前提是将待检索的信息导入Elaticsearch。
分类:
其他好文 时间:
2020-07-27 17:58:51
阅读次数:
122