昔不亏 昔不亏
4年前
「Vue — 插件」国际化vue-i18n
1:npminstallvuei18n2:在main.js中jsimportVueI18nfrom'vuei18n'//引入Vue.use(VueI18n)//通过插件方式挂载/使用语言包/consti18nnewVueI18n({locale:'zhCN',//
Stella981 Stella981
4年前
Mac下Docker Desktop的Kubernetes一直处于starting状态的解决办法
问题现象DockerPreferences选项中勾选”EnabelKubernetes”启用K8S,但其一直处于starting状态,无法正常使用。原因启用Kubernetes功能,Docker需要从镜像仓库拉取Kubernetes相关镜像。由于国内访问DockerHub网速太
Wesley13 Wesley13
4年前
CGLIB动态代理源码分析
CGLIB动态代理样例由于CGLIB是JDK之外的东西,因此在使用CGLIB的时候需要引入CGLIB的包(我这里是gradle项目):dependencies{implementation('cglib:cglib:3.3.0')}要被代理的类:packagecom.example.demo.p
Stella981 Stella981
4年前
Apache HTTP Server源码方式安装
本文介绍,在CentOS7下安装ApacheHTTPServer。这里我们使用源码方式,进行安装目标:将Apachehttpd2.4.16安装到CentOS7主机的/httpserver目录下首先访问ApacheHTTPServer官网(https://www.oschina.net/action/GoToLink?ur
Stella981 Stella981
4年前
Flutter InkWell
!flutter_week(https://dxong.osscnhongkong.aliyuncs.com/feng_mian/flutter_week.jpg)FlutterInkwell使用详解该文章属于【Flutter每周一组件】系列,其它组件可以查看该系列下的文章,该系列会不间断
Stella981 Stella981
4年前
Docker底层技术了解(3)
Docker使用Go语言实现。Docker利用linux内核的几个特性来实现功能:利用linux的命名空间(Namespaces)利用linux控制组(ControlGroups)利用linux的联合文件系统(UnionFileSystems)这也就意味着Docker只能在
Wesley13 Wesley13
4年前
3 SpringBoot与微服务
SpringBoot的使用?化繁为简:SpringMVC需要定义各种配置,配置文件多。SpringBoot的核心功能?  独立运行:javajarXXX.jar(以前启动SPringMVC需要有服务器,比如tomcat)  内嵌web服务器:内嵌Tomcat.  简化配置:用starter
Wesley13 Wesley13
4年前
2019秋招复习笔记
第一模块并发与多线程Java多线程方法:实现Runnable接口,继承thread类,使用线程池操作系统层面的进程与线程(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fb
Stella981 Stella981
4年前
HibernateCallback
HibernateTemplate还提供一种更加灵活的方式来操作数据库,通过这种方式可以完全使用Hibernate的操作方式。HibernateTemplate的灵活访问方式是通过如下两个方法完成:qObjectexecute(HibernateCallbackaction)qListexecute(HibernateCallbackac
Wesley13 Wesley13
4年前
C#游戏服务器优化
游戏服务器代码:http://git.oschina.net/liyonghelpme/GameServerCsharp(http://git.oschina.net/liyonghelpme/GameServerCsharp)游戏服务器优化主要考虑以下几个问题:CPU运算;水平扩展能力;内存使用;网络IO数据流量;