Wesley13 Wesley13
4年前
java 获取当前时间精确到毫秒 格式化
方法1:newSimpleDateFormat(“yyyyMMddHHmmssSSS”).format(newDate());方法2:newSimpleDateFormat(“yyyyMMddHH:mm:ss:SSS”).format(newDate());一.获取当前系统时间和日期并格式化输出:i
小嫌 小嫌
4年前
阿里巴巴前端练习生学习笔记
字符串引擎和Javascript引擎的区别:是否对于DOM进行全部改变?相关资料链接•WikiMVC•WikiMVVM•Mustach•Handlebars•React•Angular•Vue•Bootstrap•AntDesign•FusionDes
Wesley13 Wesley13
4年前
java自动关闭资源
1.6和以前是这样的,但这样的缺点是finally中也可能报错(如关闭流):BufferedReaderbrnull;try{brnewBufferedReader(newFileReader(""));}catch(IOExceptione){e.print
Stella981 Stella981
4年前
Linux修改SSH默认端口
本文以centos系统为例:1、关闭防火墙和selinux关闭防火墙centos7systemctlstopfirewalldcentos6serviceiptablesstop关闭selinuxvi/etc/selinux/config
Easter79 Easter79
4年前
SVN迁移GitLab
SVN迁移GitLab一、环境准备1.准备一台linux服务器2.安装git和gitsvnyuminstallygityuminstallygitsvn二、导出SVN工程gitsvnclonehttp://xx
Stella981 Stella981
4年前
Linux Deepin DAU会议部分演讲主题
LinuxDeepin项目组演讲主题和演讲人介绍1\.LinuxDeepin操作系统的社区与运营\演讲人:刘文欢LinuxDeepin项目发
Stella981 Stella981
4年前
SVN迁移GitLab
SVN迁移GitLab一、环境准备1.准备一台linux服务器2.安装git和gitsvnyuminstallygityuminstallygitsvn二、导出SVN工程gitsvnclonehttp://xx
Stella981 Stella981
4年前
OC AVPlayerItem,AVPlayer,AVPlayerLayer的使用
音量调节以及跳转到指定的秒数,停止和暂停,只是学习,没有封装import<Masonry.himport<AVFoundation/AVFoundation.h@interfaceRecordVideoplayVC()@property(nonatomic,strong)AVPlayerIte
Stella981 Stella981
4年前
Shell脚本之sed的使用
1.sed命令;主要作用是查找;新增删除和修改替换。user.txt daokrcatuser.txtIDNameSexAge1zhangM192wangG203chengM104h
程序员小五 程序员小五
2年前
如何实现接收推送撤回通知栏指定通知?
实现方式请参照SealTalk中的ServiceExtension。具体步骤如下:给工程添加一个target:NotificationServiceExtension。主工程开启PushNotifications和BackgroundModes功能。Ser