Create Login Signup UI Screens in Vue with Bootstrap 4
In this tutorial, we are going to create responsive Login & Signup UI screens using the Bootstrap 4 CSS framework in the Vue.js application. We will create a Login screen, Sign up screen, and Forgot Password screen from scratch. Bootstrap is a free and open-source CSS based UI framework, and It is used for rapid front-end […]
WangEditor添加首行缩进功能
官方也不增加这个,但对于经常写文章的用户来说,首行缩进是很实用的功能,改变一下样式就可以了text-indent: 2em; 修改一下初始化wangEditor的地方,注册一个菜单 //初始化编辑器 var E = window.wangEditor; // 菜单 key ,各个菜单不能重复 const menuKey = ‘MyTextIndentMenuKey’ // 注册菜单 E.registerMenu(menuKey, MyTextIndentMenu) var editor = new E(‘#’+id); 新增一个MyTextIndentMenu.js,代码如下: const E = window.wangEditor const { $, BtnMenu , DropListMenu, PanelMenu, DropList, Panel, Tooltip } = E const lengthRegex = /^(\d+)(\w+)$/ const percentRegex = /^(\d+)%$/ const reg […]
idea 编译时提示包不存在
2020-09-16编辑 试了很多方法无果,找到一个方法,无敌! 在项目目录下执行mvn idea:idea 命令
ubuntu 下使用openconnect 连接vpn
使用openconnect在ubuntu 中安装openconnect,可以在软件中心找到. 在/etc/vpc/目录下新建vpnc-script 文件 文件内容可以到此处拷贝 http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script sudo openconnect -u 用户名 –script=/etc/vpnc/vpnc-script –no-dtls vpn.test.com 输入密码后提示 POST https://vpn.test.com/+webvpn+/index.html Got CONNECT response: HTTP/1.1 200 OK CSTP connected. DPD 30, Keepalive 20 Connected tun0 as 10.22.22.22, using SSL 连接成功!!!