首页 > Web开发
k8s使用traefik与metallb实现域名访问
程序版本 程序 版本 metallb v0.9.6 treafik v2.4.8 安装metallb 安装helm https://helm.sh/docs/helm/helm_install/ 配置metallb # metallb-custom-values.yaml configInline: ...
分类:Web开发   时间:2021-05-27 22:12:21    收藏:0  评论:0  赞:0  阅读:38
Vue.js前端框架系统学习(10)——动态组件 & 异步组件
有一说一,上一篇写到关于响应性的问题,该部分内容拿到这边整理难度较大,所以还是遵循顺序,先整理简单地部分,之后再整合起来。 在动态组件上使用keep-alive 来看一个例子: 我们之前曾经在一个多标签的界面中使用 is attribute 来切换不同的组件: <component :is="cur ...
分类:Web开发   时间:2021-05-27 22:10:17    收藏:0  评论:0  赞:0  阅读:29
nodejs http
//先引入http const http = require('http') const querystring=require('querystring') //url字符串格式化模块 const server = http.createServer((req, res) => { const u ...
分类:Web开发   时间:2021-05-27 22:10:04    收藏:0  评论:0  赞:0  阅读:32
loadrunner12.55:循环打印lr_json_get_values()查询到的数据
脚本实现:详见黄色高亮显示部分 web_reg_save_param("queryResponseBody", "LB=", "RB=", "Search=Body", LAST); web_custom_request("queryScene", "URL=http://10.248.57.226 ...
分类:Web开发   时间:2021-05-27 22:08:59    收藏:0  评论:0  赞:0  阅读:41
jpa 报错: Unable to build Hibernate SessionFactory; nested exception is org.hibernate.loader.MultipleBagFetch
model代码如下: @OneToMany(fetch=FetchType.EAGER, cascade = CascadeType.ALL) @Where(clause="isValid=1 and orderType=1") @JoinColumn(name = "orderUUID", ref ...
分类:Web开发   时间:2021-05-27 22:06:12    收藏:0  评论:0  赞:0  阅读:17
html meta标签
<meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="viewport" content="width=device-width, initial-scale= ...
分类:Web开发   时间:2021-05-27 18:25:38    收藏:0  评论:0  赞:0  阅读:24
基于 Kubernetes 部署 Zookeeper,太有意思了!
作者:fredalxin 地址:https://fredal.xin/deploy-zk-with-k8s 随着云原生化流行的大趋势,我们的基础组件也需要逐渐上Kubernetes了。Apache Zookeeper作为目前最流行的分布式协调组件,在我们的微服务架构中负责扮演注册中心的角色。 在Ku ...
分类:Web开发   时间:2021-05-27 18:22:08    收藏:0  评论:0  赞:0  阅读:20
Log4.net Helper工具类
Log4.net Helper工具类 一、Config文件配置 <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="log4net" type="log4net.Config. ...
分类:Web开发   时间:2021-05-27 18:20:54    收藏:0  评论:0  赞:0  阅读:14
asp.net mvc结合EF
工具:vs2019 sql server2012 链接sqlserver,创建数据库 NewMvc 在web.config下编写连接字符串(ConnectionString) <connectionStrings> <add name="conn" connectionString="data so ...
分类:Web开发   时间:2021-05-27 18:17:54    收藏:0  评论:0  赞:0  阅读:11
网页 文件上传功能实现的 两种方式
1 xhr 实现 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8" /> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 6 <meta na ...
分类:Web开发   时间:2021-05-27 17:02:45    收藏:0  评论:0  赞:0  阅读:28
JS常见的输出方式
1:通过弹窗的形式来输出 alert(123) alert(“内容”)//第二种:confirm(123);//弹窗上会有取消按钮//第三种:prompt(123);//弹窗上有输入框 2:通过网页内容区域的方式来输出 document.write(123);//将123写入网页的body当中 3: ...
分类:Web开发   时间:2021-05-27 17:02:21    收藏:0  评论:0  赞:0  阅读:21
JS 事件循环
Event loop 在上图中可以看到,setTimeout这类异步接口实际上不在JS引擎中,而是由浏览器中的Web(图中的V8是chrome中的JS引擎,safari、firefox则是各自的引擎,参考《主流浏览器内核及JS引擎》) setTimeout(() => console.log(1) ...
分类:Web开发   时间:2021-05-27 16:57:22    收藏:0  评论:0  赞:0  阅读:42
网页 HTML 自动播放下一首音乐
1.直接贴代码 运行即可 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport ...
分类:Web开发   时间:2021-05-27 16:55:36    收藏:0  评论:0  赞:0  阅读:19
js常见面试题
1.解释JavaScript中定时器的工作?如果有,也可以说明使用定时器的缺点? setTimeout(function,delay)函数用于启动在所述延迟之后调用特定功能的定时器。 setInterval(function,delay)函数用于在提到的延迟中重复执行给定的功能,只有在取消时才停止。 ...
分类:Web开发   时间:2021-05-27 16:52:03    收藏:0  评论:0  赞:0  阅读:13
selenium、webdriver打开Chrome浏览器闪退问题(版本号也是一致时)
使用selenium、webdriver打开谷歌浏览器,登录页面后闪退,但是版本号是对应的,是因为driver的全局变量问题 1、不设置driver为全局,放在函数内(会闪退) from selenium import webdriver # 登陆百度 def main(): chromedrive ...
分类:Web开发   时间:2021-05-27 16:49:56    收藏:0  评论:0  赞:0  阅读:35
HttpClient 4.5版本设置连接超时时间-CloseableHttpClient
HttpClient 4.5版本设置连接超时时间-CloseableHttpClient设置Timeout(区别于4.3.2) HttpClient升级到4.5版本后,API有很多变化,HttpClient 4之后,API一直没有太稳定,我感觉4.5版本抽象后,很多API应该快稳定了。 使用Http ...
分类:Web开发   时间:2021-05-27 16:49:07    收藏:0  评论:0  赞:0  阅读:28
util.js 积累的一些基础函数代码
export function checkMobile(mobile) { var index1 = mobile.substring(0, 1); var index2 = mobile.substring(0, 2); if (index2 == '11' || index2 == '12' | ...
分类:Web开发   时间:2021-05-27 16:48:14    收藏:0  评论:0  赞:0  阅读:11
Extjs fieldLabel Style
Ext.define('Ext.ux.form', { extend: 'Ext.form.Panel', listeners: { 'beforeadd': function(){ if (!field.allowBlank) { field.labelClsExtra = 'x-required ...
分类:Web开发   时间:2021-05-27 16:44:26    收藏:0  评论:0  赞:0  阅读:8
css 圆形脉冲动画
需求: 项目需要在3D场景增加动画按钮,直接添加到场景时 当场景过大的时候 、加载比较麻烦 因在找资料时发现这玩意居然要付费。故做此记录, 效果: 参考: 1、https://www.jiangweishan.com/article/css3htmlsdf20210208a1.html 2、http ...
分类:Web开发   时间:2021-05-27 16:41:15    收藏:0  评论:0  赞:0  阅读:19
Nginx配置网站默认https
Nginx配置网站默认https一、安装Nginxyuminstallnginx-y二、修改nginx.confvim/etc/nginx/nginx.conf配置80转443配置https(参考--我这里博客是php项目)三、启动nginxsystemctlstartnginx四、效果
分类:Web开发   时间:2021-05-27 16:40:39    收藏:0  评论:0  赞:0  阅读:14
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!