- 博客(30)
- 收藏
- 关注
原创 在intellij中搜索IP地址
如果想在intelliJ中搜索或者查找IP地址,可以用下面的正则表达式。\b(?:[0-9]{1,3}.){3}[0-9]{1,3}
2021-09-26 17:17:03
1178
原创 Linux命令行常用快捷键
Linux命令行常用快捷键删除整行或者一行命令Ctrl + U回到行首Ctrl+A or Home去到行尾Ctrl+E or End – moves the cursor to the end of the line.
2021-03-25 11:02:35
110
原创 Charles: Install certificate on IOS
Charles: Install certificate on IOSStep1: 在手机里打开浏览器,输入chls.pro/ssl, 下载证书Step2: 进入Settings->General->Profiles&Device ManagementStep3: 选中一个进行verify和installStep4: 进入General->About->Certificate Trust Settings, 选中一个进行trust...
2020-08-27 16:51:17
234
原创 How to resolve Tomcat current thread busy problem
Back groundAfter run one week, thread count will increase to 70.This will cause many waning alerts from monitoring system.DiagnoseStart JConsole and connect to JMX.All threads could be found in T...
2020-03-19 15:05:18
503
1
原创 Docker Command
Docker Command1、停用全部运行中的容器:docker stop $(docker ps -q)2、删除全部容器:docker rm $(docker ps -aq)3、一条命令实现停用并删除容器:docker stop $(docker ps -q) & docker rm $(docker ps -aq)4、进入容器docker exec -it 16d72...
2020-03-18 20:15:09
228
原创 Spring MVC/boot启动参数配置
-Xmx1024M-XX:MaxPermSize=256M-Dspring.profiles.active=local-Dconfig.override=classpath:vitamin/properties/project-local-override.xml-Dasset.timestamp.generator=LOCAL_TIME-Dfile.encoding=UTF-8
2019-11-20 15:45:44
294
原创 Git常用命令收藏
Switched to a new branch#git checkout命令加上-b参数表示创建并切换,相当于以下两条命令git branch devgit checkout dev#Switched to branch ‘dev’git checkout -b local-name origin/remote-nameHow to change commit comment:g...
2019-11-20 15:36:33
135
原创 Mac Intellij tomcat start: unable to open debugger port connection refused
Mac Intellij tomcat start: unable to open debugger port connection refused如果确认不是端口占用,则需要运行以下命令:cd /Users/name/tools/apache-tomcat-9.0.12/binsudo chmod +x *.sh...
2019-11-05 17:40:40
611
转载 Mysql sum的性能优化
对sum的列加索引,的确能够提高性能。经过在千万级数据量上测试,性能从8秒提高到了1秒以内。具体可参考:https://www.cnblogs.com/sunss/archive/2010/10/30/1864949.html...
2019-07-23 17:49:20
14084
原创 nltk中Text的相关函数
函数名 用途 示例 concordance(“hello”) 提供搜索功能。首先对文档建立索引,然后搜索hello,并列出hello所在的行的文本 未完待续….....
2018-09-15 16:52:33
1066
原创 nltk的安装
Step 1:用pip命令安装nltk pip install nltk Step 2:运行python命令 Step 3:输入import nltk Step 4:输入nltk.download() Step 5: 会弹出一个界面,可以选择你想下载语料,预训练的模型等 ...
2018-09-14 17:41:54
9256
原创 如何在linux和mac上安装virtualenv
Step 1: 如果没有安装pip,首先安装pip。python3 -m pip install --user --upgrade pipStep 2: 安装virtualenv。python3 -m pip install --user virtualenvStep 3: 创建一个名为virtualenv_nltk的virtualenvpython3 -m vir...
2018-09-14 17:21:02
134
原创 Widows Git SSH
这是我发现最简单的一个。转载:http://blog.youkuaiyun.com/lsyz0021/article/details/52064829
2017-12-05 11:38:32
124
原创 jmeter性能测试脚本
1. JMeter的安装1.1 下载JMeter : http://jmeter.apache.org/download_jmeter.cgi 选择一个版本比如2.131.2 解压 apache-jmeter-2.13.zip 到一个目录中,比如 /home/jyf/jmeter1.3 将 /home/jyf/jmeter/bin 加入到环境变量中1.4 ...
2016-01-18 14:01:43
755
原创 如何验证SSH是否安装
1.#which ssh/bin/ssh 2. # which ssd/usr/sbin/sshd 3. # which ssh-keygen/bin/ssh-keygen
2015-07-18 17:38:00
3206
原创 MySQL命令收藏
1.查看数据库版本mysql> SELECT @@version; 2.连接远程DBmysql h[IP address] u[User Name] p[password] 3.选择或者切换DBmysql> use [DB Name] 4.备份数据库(backup database)mysqldump -u root -p[password]...
2015-04-08 19:03:52
108
原创 优秀网站收藏
月光博客 http://www.williamlong.info/archives/200.htmlDream in Code http://www.dreamincode.net/ IT consultation:http://www.cnbeta.com/http://www.techweb.com/http://www.do...
2010-11-18 11:23:35
1593
原创 How to find the root cause of performance for stored procedure
1. Add log for the sp and find which step has the high cost.2. If the step is static sql use <<How to find the root cause of performance for SQL>> to found the root cause.3. If the ste...
2010-09-24 10:05:29
119
原创 如何提高SQL性能
1. 如果有or出现, 有可能影响性能,因为or可能让索引无效, 用union all 把or分成两个sql, 这样保证其中一个或者两个都可以用到索引.
2010-09-20 22:04:55
125
原创 QA收藏
Selenium 私房菜系列http://www.cnblogs.com/hyddd/archive/2009/05/30/1492536.html Web应用自动化验收工具——Selenium系列预研 http://www.iteye.com/topic/758273
2010-09-15 11:37:22
110
How to find the root cause of performance for SQL
1.Duplicate运行慢的场景,并重新运行这个场景2.用工具db2mon.exe或者其他方式监控正在运行的sql,找出一直在excuting 的sql 这个或这些sql是导致运行慢的原因,尝试优化sql来解决问题。3.用Execute plan来分析sql在哪一部份的cost最高,然后对这一步进行优化4.For step 3, we first use reorgchk c...
2010-09-15 11:01:06
106
原创 标点符号相关词汇
逗号 comma句号 full stop顿号 pause mark 冒号 colon分号 semicolon问号 question mark省略号 suspension points 叹号 exclamation mark 书名号 book title mark 引号 quote前括号 lef...
2010-07-23 21:45:14
138
原创 UltraEdit的英文版在英文环境下输入中文是乱码,无解?
Today,I installed UltraEdit English edition,but there is messy code when I inputed Chinese in the environment of MS windows xp English editiion.I don't know how to solve the problem after I tried many...
2010-01-07 13:49:22
287
原创 J2EE核心模式的学习
几天前,阅读了《Core J2EE Pattern》这本书,感觉挺好,由于没有使用过EJB,有些章节看的不是特别的懂,不过这是我完整读完的第一本英文参考书,值得庆祝。现将本书的核心pattern总结如下:I have just finished reading my first English technoledge book <<Core J2EE Patterns>>...
2009-10-30 16:11:55
121
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人