首页 > 其他
el checkbox 三级选择
原文 https://www.jb51.net/article/148826.htm只是把样式删除了,在自己的博客记录写下,下次好找 <template> <div class="roleSetting"> <div class="selection"> <el-checkbox v-model=" ...
分类:其他   时间:2021-05-07 18:57:04    收藏:0  评论:0  赞:0  阅读:21
事务(十六)
使用了shiro,导致事务失效的情形 场景 shiroconfig中配置如下: 1 /** 2 * 安全管理器 3 */ 4 @Bean 5 public DefaultWebSecurityManager securityManager(ApplicationContext context, Co ...
分类:其他   时间:2021-05-07 18:56:43    收藏:0  评论:0  赞:0  阅读:25
编译安装nginx1.18
编译安装nginx1.18
分类:其他   时间:2021-05-07 18:55:31    收藏:0  评论:0  赞:0  阅读:12
浅析String类
String 源码: // String定义源码 public final class String implements java.io.Serializable, Comparable<String>, CharSequence { /** The value is used for chara ...
分类:其他   时间:2021-05-07 18:54:49    收藏:0  评论:0  赞:0  阅读:21
19 特殊的NULL值
在数据库中,NULL值是一个非常特殊的值。在创建表时,对于表中的每个字段,可以指定字段是否必须包含值。对于不是必须包含值得字段,可以向字段中插入NULL值。 比如,下面这样, CREATE TABLE Teacher( teacher_id VARCHAR(20) NOT NULL, teacher ...
分类:其他   时间:2021-05-07 18:54:35    收藏:0  评论:0  赞:0  阅读:16
allure 报告环境搭建
1.安装 pip install allure-pytest 2.下载allure 地址: https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.13.2 解压缩安装 3. 配置环境变量 4. cmd窗口 ...
分类:其他   时间:2021-05-07 18:54:25    收藏:0  评论:0  赞:0  阅读:14
renren-fast-vue登陆页面验证码显示不出来(已解决)
在VSCode中cnpm run dev成功但是跳转的页面验证码显示不出来。 解决办法:先启动后台,Idea里面运行renren-fast 点击跳转后,会显示如下: 启动前端,重新输入cnpm run dev,运行成功,验证码显示正常 ...
分类:其他   时间:2021-05-07 18:54:07    收藏:0  评论:0  赞:0  阅读:12
RabbitMQ——用HAProxy实现负载均衡
linux安装haproxy yum search haproxy 或者 yum list | grep haproxy yum install -y haproxy.x86_64 安装 rpm -qi haproxy 查看版本 haproxy --help vim /etc/haproxy/hap ...
分类:其他   时间:2021-05-07 14:59:16    收藏:0  评论:0  赞:0  阅读:21
Cat and Dog Image Classifier
Cat and Dog Image Classifier https://www.freecodecamp.org/learn/machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-c ...
分类:其他   时间:2021-05-07 14:58:53    收藏:0  评论:0  赞:0  阅读:18
【问题汇总】解决 服务器用户无root权限,安装包 问题
最近用实验室的服务器,普通用户没有sudo权限,所以没办法使用sudo apt-get install packages的命令 使用源码编译安装到自己目录下的方法,可以绕过sudo 以安装python3-dev为例 方法如下 cd到指定的路径 apt-get source python3-dev c ...
分类:其他   时间:2021-05-07 14:58:17    收藏:0  评论:0  赞:0  阅读:27
浏览器工作原理:浅析页面循环系统 - Promise原理解析
在上一篇文章中我们聊到了微任务是如何工作的,并介绍了 MutationObserver 是如何利用微任务来权衡性能和效率的。今天我们就接着来聊聊微任务的另外一个应用 Promise,DOM/BOM API 中新加入的 API 大多数都是建立在 Promise 上的,而且新的前端框架也使用了大量的 P ...
分类:其他   时间:2021-05-07 14:58:04    收藏:0  评论:0  赞:0  阅读:20
CF545C Woodcutters
原题链接 题意:一棵树,有高度,在一维平面上,可以向左向右砍到,不允许重叠,然后求最大砍倒树的数量。 题解:从左往右的话,就现往左倒,如果不可以往左倒,就往右倒。 代码: #include <bits/stdc++.h> using namespace std; typedef long long ...
分类:其他   时间:2021-05-07 14:57:53    收藏:0  评论:0  赞:0  阅读:25
vue使用pinyin的npm包将文字转为大写首字母
安装 npm install pinyin --save 调用 const pinyin = require("pinyin"); let name = "隔壁老樊"; let a = pinyin(name[0], { style: pinyin.STYLE_FIRST_LETTER }); co ...
分类:其他   时间:2021-05-07 14:57:18    收藏:0  评论:0  赞:0  阅读:21
修改VS2019注释快捷键
测试—选项—环境—键盘—选择Visual Studio Code—注释—编辑.取消注释选定内容—编辑.注释选定内容—输入快捷键—分配—确定。 ...
分类:其他   时间:2021-05-07 14:57:06    收藏:0  评论:0  赞:0  阅读:16
#define container_of(ptr, type, member)
#define container_of(ptr, type, member) /* include/linux/kernel.h */ /** * container_of - cast a member of a structure out to the containing structure ...
分类:其他   时间:2021-05-07 14:56:55    收藏:0  评论:0  赞:0  阅读:13
程序运行报错:std::logic_error‘ what(): basic_string::_S_
解决方法:添加环境变量 export LC_ALL="C" 可解决该错误。
分类:其他   时间:2021-05-07 14:56:30    收藏:0  评论:0  赞:0  阅读:20
git clone 下载时报错: fatal: Out of memory, malloc failed
使用云服务器git clone某个项目时,遇到如下问题: fatal: Out of memory, malloc failed (tried to allocate 2000000000 bytes) 百度后找到如下解决方法: sudo mkdir -p /opt/temp sudo dd if= ...
分类:其他   时间:2021-05-07 14:56:17    收藏:0  评论:0  赞:0  阅读:24
HAProxy——HAProxy、Nginx、LVS优势劣势 (转)
转自:https://www.imooc.com/wenda/detail/456168 转自:https://blog.csdn.net/qlj324513/article/details/81541282 Nginx的优点:1、优点工作在OSI第7层,可以针对http应用做一些分流的策略2、Ng ...
分类:其他   时间:2021-05-07 14:55:47    收藏:0  评论:0  赞:0  阅读:16
简易计算器的编写
简易计算器的编写 案例:使用Scanner语法、while语法和switch语法来编写一个简易计算器 public static void main(String[] args) { Scanner scanner = new Scanner (System.in); //接受用户输入的数据? St ...
分类:其他   时间:2021-05-07 14:55:34    收藏:0  评论:0  赞:0  阅读:18
a_lc_包含每个查询的最小区间(反向思维:先排好序+数据结构优化查询)
给你一个整数数组 queries 。第 j 个查询的答案是在 ints 这个二维数组中找到满足 \(left_i <= queries[j] <= right_i\) 的 长度最小区间 i 的长度 。如果不存在这样的区间,那么答案是 -1 。 两个数组的长度都<=1e5 思路:一般我们都会先遍历 q ...
分类:其他   时间:2021-05-07 14:55:20    收藏:0  评论:0  赞:0  阅读:15
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!