1.删除文件:先删除本地缓存,重新加到缓存区,重新提交 git rm -r --cached . git add . git commit -m ‘update .gitignore’ 2.初始化提交项目 Git 全局设置 git config --global user.name "" git c ...
分类:
其他好文 时间:
2020-09-17 18:06:14
阅读次数:
29
//*.cmd;*.gitignore;*.hprof;*.iml;*.mvn;*.pyc;*.pyo;*.rbc;*.yarb;*~;.DS_Store;.git;.hg;.idea;.svn;CVS;__pycache__;_svn;mvnw;target;vssver.scc;vssver2. ...
分类:
其他好文 时间:
2020-09-17 18:00:14
阅读次数:
34
1 清空缓存 cnpm cache clean --force 2 你成功了 3 删除node_modules 4 cnpm i 重新安装依赖 5 vans ...
分类:
Web程序 时间:
2020-09-17 17:58:44
阅读次数:
61
中间件: Pipline,管道任务实现。每个任务都有一个 handle 操作逻辑。 Handle 接收俩参数,一个是请求信息,另一个是一个闭包Con 或者说是一个匿名函数。提交请求的内容将会被逐个任务顺序处理。 门面:Cache,Redis,中间件,validate。方便调用。 是基于laravel ...
分类:
其他好文 时间:
2020-09-17 17:34:31
阅读次数:
24
const factorial = (n) => (n > 1 ? n * factorial(n - 1) : 1); const memoize = (fn) => { const cache = {}; return (...args) => { const key = JSON.string ...
分类:
编程语言 时间:
2020-09-17 16:31:51
阅读次数:
32
机器配置:2 CPU,8GB 内存 需要预先安装 sysstat 等工具,如 yum install sysstat 终端中运行 free 命令,查看 Swap 的使用情况。 $ free total used free shared buff/cache available Mem: 816934 ...
分类:
系统相关 时间:
2020-09-17 16:05:19
阅读次数:
44
module.exports = { presets: [ ['@vue/cli-plugin-babel/preset', { modules: false }] ], plugins: [ [ 'component', { libraryName: 'element-ui', styleLibr ...
分类:
Web程序 时间:
2020-09-17 15:34:00
阅读次数:
76
一,修改配置文件 Library/ThinkPHP/Conf/convention.php SESSION_TYPE => "redis" 二,添加session redis驱动 Library/ThinkPHP/Think/Session/Driver/Redis.class.php <?phpn ...
分类:
其他好文 时间:
2020-09-17 14:14:49
阅读次数:
47
本篇参考: https://trailhead.salesforce.com/content/learn/superbadges/superbadge_lwc_specialist https://developer.salesforce.com/docs/component-library/doc ...
分类:
其他好文 时间:
2020-09-17 14:00:48
阅读次数:
29
JMM 硬件层数据一致性 intel 用MESI https://www.cnblogs.com/z00377750/p/9180644.html 现代CPU的数据一致性实现 = 缓存锁 + 总线锁【早期的唯一实现】 读取缓存以cache line为基本单位,目前64bytes 位于同一缓存行的两个 ...
分类:
其他好文 时间:
2020-09-15 20:52:01
阅读次数:
30