before commit, do: git rm --cached <filename> ATTENTION: do not use 'git rm <filename>', this will delete the file from disk if commited, first use: " ...
分类:
其他好文 时间:
2021-07-01 17:07:16
阅读次数:
0
//-n 预览需要删除版本控制的文件列表 git rm -r -n --cached "vendor" //执行删除命令 git rm -r --cached "vendor" //添加文件到.gitignore //提交git commit -m "remove vendor" //提交到远程服务 ...
分类:
其他好文 时间:
2021-07-01 17:03:23
阅读次数:
0
osmdroid's MapView is basically a replacement for Google's MapView class. First of all, create your Android project, and follow HowToMaven if you're u ...
分类:
移动开发 时间:
2021-07-01 16:54:55
阅读次数:
0
一、DNS的定义 DNS是“域名系统"的英文缩写。它作为将域名和IP地址相互映射的一个分布式数据库,能够使人更方便地访问互联网。DNS服务使用TCP和UDP的53端口,TCP的53端口用于连接DNS服务器,UDP的53端口用于解析DNS。每一级域名长度的限制是63个字符,域名总长度则不能超过253个 ...
分类:
其他好文 时间:
2021-07-01 16:47:12
阅读次数:
0
current status: We have a remote repository and a local project repository with no git configured. We want to push to remote and create new branch. Pr ...
分类:
其他好文 时间:
2021-07-01 16:24:13
阅读次数:
0
CosId 通用、灵活、高性能的分布式 ID 生成器 介绍 CosId 旨在提供通用、灵活、高性能的分布式系统 ID 生成器。 目前提供了俩大类 ID 生成器:SnowflakeId (单机 TPS 性能:409W/s JMH 基准测试)、RedisIdGenerator (单机 TPS 性能(步长 ...
分类:
其他好文 时间:
2021-06-30 18:23:40
阅读次数:
0
Description:Here will use pictures and text to report the statistics of the number of subscribers. Total number of subscribers:4243 1.toutiao(今日头条)Dot ...
分类:
其他好文 时间:
2021-06-30 18:09:06
阅读次数:
0
清理git提交记录并不能给“瘦身” 上周发现gitlab同步到线上的主服务器cpu和内存报警。 一查发现是隐藏目录 .git 过大导致的,导致每分钟同步卡死, 我其实有点怀疑是同步脚本中git命令导致的,要不就是下面的同步命令(每1分钟跑一次);要不就是每5分钟去git目录跑一次的git statu ...
分类:
其他好文 时间:
2021-06-30 18:05:44
阅读次数:
0
1. 登录github并创建一个仓库 2. 安装git客户端 2.1 下载git 官网:git-scm.com/download/ 镜像:https://npm.taobao.org/mirrors/git-for-windows/?utm_source=qq&utm_medium=social&u ...
分类:
Web程序 时间:
2021-06-30 18:00:40
阅读次数:
0
文章目录一、kafka是什么?二、使用步骤1. 安装1.引入库2.消费端:读取数据3.发送端:发送数据总结一、kafka是什么?kafka 是一个分布式流式计算平台。而在大部分企业开发人员中,都是把 kafka 当成消息系统使用,即它是一个分布式消息队列,很少会使用 kafka 的流式计算。它有四个 ...
分类:
编程语言 时间:
2021-06-30 17:50:03
阅读次数:
0