随笔分类 -  常用

摘要:"Linux Shell 文本处理工具集锦" 阅读全文
posted @ 2018-06-14 01:01 liqipeng 阅读(119) 评论(0) 推荐(0)
摘要:1. iftop 2. netstat 3. nethogs可以查看进程占用网络的情况 4. nc u z w2 192.168.0.1 1 1000 //扫描192.168.0.3 的端口 范围是 1 1000 阅读全文
posted @ 2018-06-14 00:16 liqipeng 阅读(238) 评论(0) 推荐(0)
摘要:将一些自己常用的Maven依赖搜集于此,方便作为新建项目模板使用。 后续也可以考虑基于此形成一个脚手架。 阅读全文
posted @ 2018-05-14 00:47 liqipeng 阅读(307) 评论(0) 推荐(0)
摘要:~ 查看进程树 ptree -p | grep httpd 获取指定名称的进程并杀掉 #!/bin/bash if [ ! -n "$1" ] ;then echo "Please enter a keyword!" exit else NAME=$1 echo "You are looking u 阅读全文
posted @ 2017-09-22 00:59 liqipeng 阅读(291) 评论(0) 推荐(0)
摘要:1. "在 Windows 下配置 Redis 集群" 2. "在 Windows 下配置多个 Redis(简化配置)" 3. "MicrosoftArchive/redis" 4. "官方Redis集群搭建文档" 5. "Redis命令" 6. "CentOS完美搭建Redis3.0集群" 7. 阅读全文
posted @ 2017-09-19 13:27 liqipeng 阅读(144) 评论(0) 推荐(0)
摘要:div居中显示 position: fixed; top: 130px; left:0px;right:0px;margin-left:auto;margin-right:auto; 阅读全文
posted @ 2017-03-07 16:08 liqipeng 阅读(139) 评论(0) 推荐(0)
摘要:查看执行计划 explain update test100 set contractSn=99 where contractSn=45; insert ... on duplicate key使用 insert into 表名(f1, f2, Count, LastUpdateTime) value 阅读全文
posted @ 2016-12-22 20:37 liqipeng 阅读(301) 评论(0) 推荐(0)
摘要:shift:从集合中把第一个元素删除,并返回这个元素的值。unshift: 在集合开头添加一个或更多元素,并返回新的长度。push:在集合中添加元素,并返回新的长度。pop:从集合中把最后一个元素删除,并返回这个元素的值。 阅读全文
posted @ 2016-11-25 20:53 liqipeng 阅读(260) 评论(0) 推荐(0)
摘要:用于搜集一些常用工具的链接 1. "正则表达式30分钟入门教程" 阅读全文
posted @ 2015-08-04 09:02 liqipeng 阅读(126) 评论(0) 推荐(0)
摘要:1. 存储过程 2. 游标 3. 复制表的数据 4. group by … having … 5. 事务 5. 先判断表是否存在再创建表 6. 获取SQL Server表结构 (出处:http://www.cnblogs.com/ynbt/archive/2012/07/16/2593389.htm 阅读全文
posted @ 2014-04-29 16:14 liqipeng 阅读(322) 评论(0) 推荐(0)