- 博客(9)
- 问答 (1)
- 收藏
- 关注
原创 myBase7安全破解
找到安装目录下的myBase.ini文件关闭软件,删除以下两行App.UserLic.FirstUseOnApp.UserLic.RegInfo=*********重新打开就好了
2021-11-12 15:57:55
3023
原创 jsp表单数据禁止复制
禁止另存代码:<noscript> <iframe src="/*>";</iframe> </noscript> 禁止复制代码:在对应要禁止的div或body标签上添加如下代码<body οncοntextmenu='return false' οndragstart='return false' onselectstart ='return false' οnselect='document.selection..
2021-11-11 20:42:41
1233
原创 jsp页面添加水印
<style type="text/css" media="screen"> body{background-color: #eef1f8;} #one{padding: 10px 15px;background-color: #FFFFFF;background-image: url(http://pic.58pic.com/58pic/12/28/02/05J58PICUwy.jpg);background-repeat: no-repeat;background-size: ...
2021-11-11 13:48:45
1803
原创 sudo: no tty present and no askpass program specified 解决方法
sudo: no tty present and no askpass program specified由于帐号并没有开启免密码导致的假设当前帐号为bonc切换到root下 1 打开sudoersvi /etc/sudoers2 添加免密码bonc ALL = NOPASSWD: ALL注意:bonc ALL = NOPASSWD: ALL添加的位置,如下图:...
2021-09-07 15:38:07
474
原创 linux上部署的应用监听异常自动重启
tomcat-tenant-18180 为tomcat名称监听tomcat-tenant-18180服务并自动重启脚本如下:#!/bin/bashwhile true;doappcnt=`ps -ef|grep tomcat-tenant-18180|grep -v "grep"|wc -l`if [ $appcnt -eq 0 ];then date1=`date +%Y-%m-%d_%H:%M:%S` echo "多租户应用服务异常关闭 ${date1}" sh /bon...
2021-09-06 15:56:36
204
原创 获取sql列字段
String sql = "select sum(asas) as ss,age a,name name from student s inner join (select id,name from score where sex='女') temp on sex='男' and temp.id in(select id from score where sex='男') where student.name='zhangsan' group by student.age order by studen.
2020-11-18 14:28:21
447
原创 mysql随机数生成
mysql随机生成6位数字SELECT CEILING(RAND()*500000+500000);SELECT FLOOR(RAND()*500000 + 500000);
2018-07-31 15:47:12
264
原创 oracle表最后更新时间查询
替换下方语句中'表名'select LAST_DDL_TIME from user_objects where object_type='TABLE' and object_name='表名'
2018-06-13 09:59:17
19304
原创 常用sql
1、oracle查询当前月to_char(add_months(sysdate,0),'yyyymm') 2、oracle查询当前时间是本月几号select extract(day from sysdate) from dual3、oracle查询月份天数4、oracle查询 季5、freemarker 判断是否当前月<#if time == .now?string("yyyyMM")...
2018-06-12 16:09:58
225
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅