郜小超 郜小超
4年前
前端vue中常用的插件
一.moment时间库1.安装npminstallmomentsave2.在main.js中引入importmomentfrom'moment';//导入模块moment.locale('zhcn');//设置语言或moment.lang('zhcn');Vue.prototype.$momentmoment;//赋值使用3.
Wesley13 Wesley13
3年前
Spread Studio中文支持图解
SpreadStudiofor.NET是一个跨平台的Spread表格控件工具集,支持WindowsForms,ASP.NET,WPF,WinRT以及Silverlight平台。新的产品套包中包含全新的SpreadforWindowsForms,SpreadforASP.NET,SpreadforWPFSilverlight以及
Easter79 Easter79
3年前
sql语句插入百万测试数据
开发的过程中,很多时候我们需要插入百万数据来测试功能和性能,今天我来教大家最简单的插入方法1、新建表CREATETABLEstudent(IDintIDENTITY(1,1)NOTNULL,sid
九路 九路
4年前
二分查找法的递归和非递归的实现
//二分查找法非递归实现,在一个有序的数组中查找e元素的位置,找不到返回1publicstaticintbinarySearch(intdata,inte){intl0;intrdata.length1;while(l<r){
Stella981 Stella981
3年前
Intellij IDEA快捷键
IntellijIDEA快捷键查询快捷键CTRLN   查找类CTRLSHIFTN  查找文件CTRLSHIFTALTN 查找类中的方法或变量CIRLB   找变量的来源CTRLALTB  找所有的子类CTRLSHIFTB  找变量的类CTRLG   
Easter79 Easter79
3年前
TypeScript 真香系列——接口篇
接口带来了什么好处好处One——过去我们写JavaScriptJavaScript中定义一个函数,用来获取一个用户的姓名和年龄的字符串:constgetUserInfofunction(user){returnname:${user.name},age:${user
Stella981 Stella981
3年前
Scala函数
一、方法方法定义Scala中/%的作用和Java一样,但是特别的是,这些操作符实际上是方法。1to101.to(10)defm2(a:Int,b:Int):Intabdefm
Wesley13 Wesley13
3年前
AKKA事件机制
AKKAEventBus事件机制就用于当前运行环境,与集群环境不同,详细见AKKA集群中的发布与订阅DistributedPublishSubscribeinCluster(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cnblo
Stella981 Stella981
3年前
JavaScript里面的居民们3
如代码,分别实现diyTrim及removeRepetition函数,并跑通代码中的测试用例。1<!DOCTYPEhtml2<html3<head4<metacharset"utf8"/5<titleJS里的居民们3</title
Wesley13 Wesley13
3年前
URI、URL、URN 的联系和区别
原文同步至http://www.waylau.com/differenceofuriurlurn/(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.waylau.com%2Fdifferenceofuriurlurn%2F)在Web应用中,URI、URL