自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 笔记

1.获取前n天的日期private Date getLastDay(int n) { Calendar calendar = Calendar.getInstance(); //得到前n天的日期 calendar.add(Calendar.DATE, -n); Date date = calendar.getTime(); return date;}2.日期转周var...

2019-02-21 18:10:29 181

原创 滚动播放

<marquee style="width: 200px;height:200px;margin:0px auto" onmouseout="this.start();" onmouseover="this.stop();"scrolldelay="100" direction="left"> <h3>滚动播放文本<

2019-02-21 17:52:20 704

原创 Linux卸载PostgreSQL

输入命令查看已安装版本dpkg -l |grep postgresql1.删除安装包sudo apt-get --purge remove postgresql\*2.删除相关配置文件及用户信息sudo rm -r /etc/postgresql/sudo rm -r /etc/postgresql-common/sudo rm -r /var/lib/postgresql/...

2019-02-21 17:38:08 14067 2

原创 postgresql 递归查询

postgresql 递归查询select id, parentId, 列名1, 列名2 from 表名 START WITH t1.id= ? CONNECT BY PRIOR t1.ID = t1.PARENTID

2019-02-21 17:09:09 645

原创 Linux 安装PostgreSQL

Step1.首先检测本机是否已安装postgreSQLdpkg -l |grep postgresql*安装过 想卸载可通过命令 sudo apt autoremoveStep2. 安装1.首先添加postgresql源-找到pgdb.list 文件参考路径: /etc/apt/sources.list.d/pgdb.list打开该文件时文件为只读状态使用sudo chmod ...

2019-02-20 11:54:55 215

原创 DataGrip oracle 表数据恢复

DataGrip oracle 回复表数据1.select * from 表名 as of timestamp TO_TIMESTAMP('删除数据的时间', 'yyyy-mm-dd hh24:mi:ss');2.alter table 表名 enable row movement;3.flashback table 表名 to timestamp TO_TIMESTAMP('删除数据的时...

2019-02-20 09:54:38 4027

原创 计算两段时间的时间差

笔记1计算两段时间的时间差SimpleDateFormat dfs = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); long between; Date begin = dfs.parse(startRoute.getStartTime()); Date end = dfs.parse(endTime); between = end.get...

2019-02-20 09:49:11 330

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除