梦
4年前
uniapp获取手机状态栏高度
1、状态栏高度css中直接写var(statusbarheight)2、$('body').height(document.documentElement.clientHeight)//获取浏览器可视窗口高度、宽度clientWidth3、监听浏览器放大缩小window.onresizefunction
Wesley13 Wesley13
3年前
MongoDB常用SQL
netstatnltp|grep27017查看MongoDB端口./mongodbstartstart启动./mongodbstopstop停止./mongo127.0.0.1:27017禁止auth后登陆MongoDBshowdbs;
Wesley13 Wesley13
3年前
ubuntu下搭载LNMP环境,解决 fpm监听失败
1.安装mysql1.sudoaptgetinstallmysqlservermysqlclient安装过程中要输入root用户的密码。2.安装nginx1.sudoaptgetinstallnginx2.安装php1. sudoaptgetinstallphp5fpmph
Easter79 Easter79
3年前
SpringBoot学习之路:10.Spring Boot中添加Listener应用
   前面都说到了springboot中应用servlet和filter,本文继续说springboot应用监听器Listener,大体上是和之前差不多的应用。一.HttpSessionListenerpackagecom.maxbill.core.webbox.listener;/\\
Stella981 Stella981
3年前
Android 监听wifi广播的两种方式
packagecom.comit.broadcast;importcom.comit.util.AppHpler;importandroid.content.BroadcastReceiver;importandroid.content.Context;importandroid.
Wesley13 Wesley13
3年前
ORACLE问题记录
Ora-00020;Ora12518;数据量最大连接数问题修改processesaltersystemsetprocesses500scopespfile;shutdownimmediate;startup;Ora12560监听问题SETORACLE\_SIDorcl;关于oracle最大连接数老是自动
Stella981 Stella981
3年前
SpringBoot几个重要的事件回调、监听机制
(1)、需要配置在METAINF/Spring.factories  1.ApplicationContextInitializer1//2//Sourcecoderecreatedfroma.classfilebyIntelliJIDEA3//(poweredbyFernflowe
Easter79 Easter79
3年前
SpringBoot几个重要的事件回调、监听机制
(1)、需要配置在METAINF/Spring.factories  1.ApplicationContextInitializer1//2//Sourcecoderecreatedfroma.classfilebyIntelliJIDEA3//(poweredbyFernflowe
Wesley13 Wesley13
3年前
nginx配置虚拟主机相关教程
1.配置虚拟主机配置虚拟主机即:在一台服务器上启动多个网站;区分不同的网站方式:域名不同,端口不同;1.1通过端口区分虚拟主机1.1.1server节点的介绍nginx的配置文件路径:/usr/local/nginx/conf/nginx.conf一个se
达里尔 达里尔
9个月前
vue3 组件切换监听不到onMounted
用vue3的时候有时候会遇到需要监听组件vif,如果遇到组件切换的时候onMounted钩子函数不触发,那么就用onUpdated这个钩子函数vueonUpdated(()//如果需要一个方法在每次vif切换组件的时候需要每次都触发,但是写在onMount