Souleigh ✨ Souleigh ✨
4年前
10个略骚的 Vue 开发技巧
路由参数解耦一般在组件内使用路由参数,大多数人会这样做:exportdefaultmethods:getParamsId()returnthis.$route.params.id在组件中使用$route会使之与其对应路由形成高度耦合,从而使组件只
Jacquelyn38 Jacquelyn38
4年前
你不可不知的JS面试题(第二期)
1、什么是继承?子类可以使用父类的所有功能,并且对功能进行扩展。新增方法改用方法(1)、ES6使用extends子类继承父类的方法。// 父类    class A        constructor(name)            this.name name;                getNa
Stella981 Stella981
4年前
Linux下安装nginx实现伪分布
1.安装Nginx的编译环境gccyuminstallgccc2.nginx的http模块使用pcre解析正则表达式,所以安装perl兼容的正则表达式库yuminstallypcrepcredevel3.nginx使用zlib对http包的内容进行gzipyum
Stella981 Stella981
4年前
Jitamin
安装环境要求PHP(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.php.net%2F) 5.6或更高(推荐使用PHP7)数据库,推荐使用MySQL(https://www.oschina.net/action/GoToLink?url
Wesley13 Wesley13
4年前
Android设置Settings:ListPreference【3】
Android设置Settings:ListPreference【3】Android的Settings实现中,ListPreference使用稍微复杂些,ListPreference使用两个数据源:entries和entryValues,entries和entryValues存在对应关系,可以这么简单理解,entries是人类可读的有意义的内容,
Stella981 Stella981
4年前
ASP.NET MVC 5 之 理解强类型View&ViewModel
viewbag和viewbag都有问题,强类型view才是王道。使用强类型View1\. @using(http://my.oschina.net/using)WebApplication.Mdels//引用命名空间,不能将View设置为多个Model使用的强类型    @model(http://my.o
Stella981 Stella981
4年前
SpringBoot 的过滤器 Filter 配置的三种方式
SpringBoot过滤器配置有三种方式1\.@ServletComponentScan@WebFilter,可配置过滤路径,但没有顺序(顺序是由过滤器命名决定)在启动类上使用 @ServletComponentScan,在过滤器类上使用 @WebFilter(urlPatterns{"/test/path"})
Stella981 Stella981
4年前
Gephi学习笔记
使用gephi对图数据进行可视化操作,下面网址是gephi的说明文档https://seinecle.github.io/gephitutorials/generatedpdf/semanticwebimporteren.pdf使用的gephi版本号:0.9.1系统:Ubuntu16.04内存:8G1.启动Gephi,
Stella981 Stella981
4年前
Jenkins自动化CI CD流水线之1
第1章大纲CI/CD,DevOps介绍Git安装与使用Jenkins安装与使用权限管理参数化构建MasterSlave流水线(Pipeline)邮件通知应用案例1. 自动发布PHP项目2.自动发布JAVA项目第2章环境
Wesley13 Wesley13
4年前
ActiveMQ漏洞利用方法总结
转载来自:http://www.freebuf.com/column/161188.html1、Console存在默认端口和默认密码/未授权访问(默认密码为admin:admin)ActiveMQ默认使用8161端口,使用nmap对目标服务器进行扫描:root@localhostsrcnmapAp816