第一种方法: 添加sudo用户当你安装Ubuntu的时候,它会自动添加第一个用户到sudo组,允许这个用户通过键入其自身帐户密码来获得超级用户(root)身份。然而,系统不会再自动添加其他的用户到sudo组当中去。如果你想在你的共享系统上授予某人某些超级用户特权,你必须给予他们sudo权利。 要添加 ...
分类:
系统相关 时间:
2018-11-13 02:30:28
阅读次数:
492
前言 我们将会选择使用一些 vue 周边的库vue-cli, vue-router,axios,moment,Element-ui搭建一个前端项目案例,后端数据接口,会使用json-server快速搭建一个本地的服务,方便对数据的增删改查, 利用以上技术我们会搭建一个vue案例,效果展示图: 以上就 ...
分类:
其他好文 时间:
2018-11-03 16:31:27
阅读次数:
257
FUNCTIONS Screen() Return the singleton screen object. If none exists at the moment, create a new one and return it, else return the existing one. add ...
分类:
编程语言 时间:
2018-10-13 02:51:46
阅读次数:
738
A successful Git branching model In this post I present the development model that I’ve introduced for some of my projects (both at work and private) ...
分类:
其他好文 时间:
2018-10-12 16:13:43
阅读次数:
170
timeNow () { return moment().utc().format('YYYY年MM月DD日') + ' ' + moment().utc().format('dddd')} ...
分类:
其他好文 时间:
2018-10-06 17:53:06
阅读次数:
4690
The high level of English is a standard for a top student. 1. when all else is lost,the future still remains。 2. One way to develop self-confidence is ...
分类:
其他好文 时间:
2018-10-05 21:56:36
阅读次数:
235
1.安装:npm install moment --save 2.导入:import moment from 'moment'; 3.定义全局时间过滤器: Vue.filter('converDate',function(value){ return moment(velue).format('YY ...
分类:
其他好文 时间:
2018-10-04 12:23:26
阅读次数:
3917
Referrence: http://whats online.info/guides and info/36/Traits of Experienced Programmer that every beginner should know/ Not everybody has the capabi ...
分类:
其他好文 时间:
2018-09-27 14:18:00
阅读次数:
168
第一步:下载安装依赖包 第二步: 在main.js文件引入 1. 其中还包含 2. 项目截图看得更清楚: 第三步:因为moment插件是全局注册,所以我们可以在任意组件中轻松的使用 项目截图看得更清楚: ...
分类:
其他好文 时间:
2018-09-26 01:10:53
阅读次数:
588