- 博客(96)
- 收藏
- 关注

原创 Git命令收集
1,回滚一个错误的commit[code="java"]git reset --soft HEAD~1[/code]2,从当前代码创建一个新的分支hellobranch[code="java"]git checkout -b hellobranch[/code]3,列出当前repository关联的所有远程repository[code="java"]git remote -v...
2017-11-09 11:58:30
386
原创 Setup SAMBA on CentOS7
sudo mount -t cifs -o username=jenkins //192.168.22.33/sharefolder /home/jenkins/sharefoldersudo umount /home/jenkins/sharefolder
2023-04-05 00:12:14
125
原创 AWS Certification - Performance
Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for Amazon DynamoDB that delivers up to a 10 times performance improvement—from milliseconds to microseconds—even at millions of requests per second.DAX does all the he
2022-10-15 16:46:28
155
原创 AWS Certification - Cost Control
What is AWS Cost Management? - AWS Cost ManagementUse case: Report, Forecast, InspectAWS Cost Explorer is a feature that you can use to visualize your cost data for further analysis. Using it, you can filter graphs by several different values. This include
2022-10-10 00:16:29
146
原创 AWS Certification - Compute
Fully MySQL and PostgreSQL Compatible Managed Database Service | Amazon Aurora | AWS
2022-10-08 19:18:00
166
原创 AWS Certification - Rarely Used Components
Intelligence at the IoT Edge — AWS IoT Greengrass — Amazon Web ServicesSensitive Data Discovery and Protection – Amazon Macie – Amazon Web ServicesAmazon Macie is a data security and data privacy service that uses machine learning (ML) and pattern matching
2022-10-08 15:37:38
168
原创 VI实用快捷键
Open a filevi hello.txtOpen a file with cursor on line nvi +n hello.txtOpen a file with cursor on botoomvi + hello.txtOpen a file with cursor on the first occurence of patternvi +/pattern hello.txtDelete current lineddDelete charac
2021-02-09 11:33:18
112
原创 Git内部原理
重要的文件:HEAD index objects refsobjects目录存储所有数据内容 refs目录存储指向数据(分支)的提交对象的指针 HEAD文件指向目前被检出的分支 index文件保存stage信息Git的核心部分是一个简单的键值对数据库(key-value data store). 你可以向该数据库插入任意类型的内容,它会返回一个键值,通过该键值可以在任意时刻再次检索(retriev...
2018-05-07 22:16:41
148
原创 Pro Git摘要
[size=x-large][b]1.基础配置[/b][/size][code="js"]git config --listgit help branch[/code][size=x-large][b]2.基本操作[/b][/size]跳过暂存直接提交[code="js"]git commit -a -m 'Detailed comment'[/code][size...
2018-04-25 21:06:10
109
原创 HEAD^ vs HEAD~
[code="java"]G H I J \ / \ / D E F \ | / \ \ | / | \|/ | B C \ / \ / AA = = A^0B = A^ = A^1 = A~1C =...
2018-01-18 09:58:27
196
原创 Git创建Commit Message模板
ge就会比较痛苦了。解决办法是创建一个模板,每次提交的时候,填写模板就可以了首先修改工程的.git\config文件,添加:[code="xml"][commit]template = ./.git/gitmessage[/code]然后添加一个gitmessage文件:[code="java"]JIRA: XXX-Description: [/code]
2018-01-17 15:52:18
1491
原创 Maven FAQ
jar -DpomFile=./spock-core-1.1-groovy-2.4.pom -Dsources=./spock-core-1.1-groovy-2.4-sources.jar[/code]修改settingx.xml文件,添加用户名和密码[code="xml"] xxx-nexus username password [/code]
2018-01-12 13:11:37
108
原创 Intellij Idea实用快捷键
7,快速生成get,set等代码。8, 为当前类创建新的Test。4, 集大成者查看java类。3, 查看java类的结构。1, 快速打开一个文件。2, 打开工程结构列表。10, 查看实现类方法。
2017-12-19 09:27:56
206
原创 用REST service上传和下载附件
Quick walkthrough:1) Create a new Project2) Create a TestSuite in the Project3) Create a TestCase in the TestSuite4) Add an HTTP TestRequest Step to the TestCase-> Set the endpoint to the ...
2017-08-16 23:08:58
366
原创 Tomcat URL乱码
我们在开发REST服务的时候,尤其是做中文项目的时候,会遇到传入参数乱码的问题,这个就比较麻烦了,因为原因真的很复杂,根本不止我所列的两个地方,还得具体问题具体分析了。[img]http://dl.iteye.com/upload/picture/pic/137413/7080a8ce-a1b3-36da-892d-05391cebfe8b.png[/img]如果你用的是Spring ...
2017-08-16 10:24:29
158
原创 MySQL SQL语句收集
1,创建数据库并且UTF8编码[code="sql"]CREATE DATABASE {tablename} DEFAULT CHARACTER SET UTF8 COLLATE utf8_general_ci;[/code]2,显示特定表的建表语句[code="sql"]show create table {tablename};[/code]3,查看系统字符集设置[...
2017-07-18 15:31:24
115
原创 Spring 大量异步请求
[code="java"]AsyncRestTemplate asyncRestTemplate = new AsyncRestTemplate(new ConcurrentTaskExecutor(Executors.newFixedThreadPool(100))); asyncRestTemplate.exchange("http://www.example.com/myurl...
2017-07-18 09:34:35
179
原创 Intellij快捷键列表
Mac快捷键部分[img]http://dl.iteye.com/upload/picture/pic/137331/37ff0370-3742-3ba2-a781-08475b398d89.png[/img]
2017-06-22 14:54:32
94
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人