1.安装 lfs: git lfs install 2.跟踪大文件:git lfs track "file.suffix" 3.添加配置文件:git add .gitattributes 之后正常提交,不过可能会遇到这个问题: Remote "origin" does not support the ...
分类:
Web程序 时间:
2019-02-25 13:32:17
阅读次数:
475
44. Wildcard Matching Given an input string (s) and a pattern (p), implement wildcard pattern matching with support for '?' and '*'. The matching shou ...
分类:
Web程序 时间:
2019-02-24 00:52:11
阅读次数:
234
概述 为了确保分布式锁可用,我们至少要确保锁的实现同时满足以下四个条件: 互斥性:在任意时刻,只有一个客户端能持有锁。 不会发生死锁:即使有一个客户端在持有锁的期间崩溃而没有主动解锁,也能保证后续其他客户端能加锁。 容错性:只要大部分的Redis节点正常运行,客户端就可以加锁和解锁。 一致性:加锁和... ...
分类:
其他好文 时间:
2019-02-22 00:58:59
阅读次数:
200
原文地址:https://segmentfault.com/a/1190000015107942 HTML code: CSS code: ...
分类:
Web程序 时间:
2019-02-21 00:21:45
阅读次数:
192
Difficulty: Easy Problem You are given an array of strings. Two strings and are special equivalent if after any number of moves , S == T. A move consi ...
分类:
其他好文 时间:
2019-02-19 23:36:11
阅读次数:
283
一、场景描述 在实际开发过程中经常会遇到一些有时效性数据的业务场景,比如订单支付处理超时提醒。当用户在商城上进行下单支付,我们假设如果8小时没有进行支付,那么就后台自动对该笔交易的状态修改为订单关闭取消,同时给用户发送一份邮件提醒。那么我们应用程序如何实现这样的需求场景呢?可能大家都会想到的是最简单 ...
题目: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter ...
分类:
其他好文 时间:
2019-02-16 19:25:38
阅读次数:
173
One small letter, surrounded by EXACTLY three big bodyguards on each of its sides. ...
分类:
编程语言 时间:
2019-02-15 23:52:47
阅读次数:
295
"传送门" 题意 已知字符串$s_n$=$s_{n 2}$+$s_{n 1}$,给你$s_1$和$s_2$的长度$n$,$m$,求能使$s_k$中恰好含有$x$个"$AC$"的$s_1$,$s_2$,如果无法实现输出"Happy new year!" 思路 在 $s_k$中能构成$AC$的方法有四种 ...
分类:
其他好文 时间:
2019-02-15 15:24:33
阅读次数:
170
数据源:融360 用户贷款风险预测 参考资料: "https://www.jianshu.com/p/aba5685c580a" 流程如下: 项目目标 数据解读 数据预处理 特征工程 1.基于业务理解筛选 2.基于机器学习筛选 模型建立 一、项目目标 通过举办方提供的用户基本信息,消费行为,还款情况 ...
分类:
编程语言 时间:
2019-02-13 20:52:20
阅读次数:
246