Wesley13 Wesley13
4年前
java+selenium+maven+IntelliJ IDEA 搭建简单的UI自动化测试环境
1\.用IntelliJIDEA新建一个maven工程2\.在pom.xml中添加依赖:<dependency<groupIdorg.seleniumhq.selenium</groupId<artifactIdseleniumjava</artifactId
Easter79 Easter79
4年前
springboot使用hibernate validator校验
hibernatevalidatorBean验证器在开发中常用,这里我们说说它在springboot中的使用第一步:引入配置@BeanpublicMethodValidationPostProcessormethodValidationPostProcessor(){MethodValid
昔不亏 昔不亏
4年前
「Vue — 插件」轮播图vue-awesome-swiper
1:安装cnpminstallvueawesomeswiper@3savedevcnpminstallswiper@32:在main.js中jsimportVueAwesomeSwiperfrom'vueawesomeswiper'import'swiper/dist/css/swiper.css'Vue.use(Vu
昔不亏 昔不亏
4年前
「Vue — 插件」视频播放vue-video-player
1:npminstallvuevideoplayersave2:在main.js中jsimportVideoPlayerfrom'vuevideoplayer'require('vuevideoplayer/node_modules/video.js/dist/videojs.css')require('vuevide
昔不亏 昔不亏
4年前
「Vue — 插件」轮播图vue-awesome-swiper
1:安装cnpminstallvueawesomeswiper@3savedevcnpminstallswiper@32:在main.js中jsimportVueAwesomeSwiperfrom'vueawesomeswiper'import'swiper/dist/css/swiper.css'Vue.use(Vu
Stella981 Stella981
4年前
Gson 关于Array和List的序列化.
关于Gson对于Array和List的serialize输出.都是中括号括起来的.GsongsonnewGson();StringarraysnewString{"a","b","c"};List<StringlistnewArrayList<String();list.add("
Wesley13 Wesley13
4年前
Java基于animated
  工作中,gif动图转图片/图片集转gif  pom依赖很简单<!gif<dependency<groupIdcom.madgag</groupId<artifactIdanimatedgiflib</artifactI
Wesley13 Wesley13
4年前
Java缓存Ehcache
需要在Spring配置文件中配置:<!配置缓存管理器工厂<beanid"cacheManager"class"org.springframework.cache.ehcache.EhCacheManagerFactoryBean"<propertyname"co
Stella981 Stella981
4年前
Activity设置全屏两种方法
继承Activityone:   在onCreate方法中添加requestWindowFeature(Window.FEATURE\_NO\_TITLE);//隐藏标题栏   getWindow().setFlags(WindowManger.LayoutParams.FLAGS\_FULLSCREEN,WindowManger.  
Easter79 Easter79
4年前
SwiftCommon之Camera相机
概述IOS中调用设备的相机拍照、录制视频,使用UIImagePickerController类,根据不同的SourceType来区分是拍照还是录视频。SCCameraimportFoundationimportUIKitimportMobileCoreServicesp