1、预先准备2个文件file1.txt和file2.txt。文件内容为网页上摘下,不具有代表性,只为举例。 file1.txt内容为: With this setup, whenever you change the content of ambari-web files on the host m ...
分类:
其他好文 时间:
2017-04-15 12:04:15
阅读次数:
214
http://editorconfig.orghttps://github.com/eslint/eslinthttps://github.com/airbnb/javascripthttps://segmentfault.com/a/1190000005984309http://www.jianshu.com/p/c191f15a7674http://www.xiaocaoge.com/frontend-code-style-in-action.htmlhttp://www.myronliu.com/201..
分类:
其他好文 时间:
2017-04-14 15:13:13
阅读次数:
145
1.下载镜像 2.修改配置文件 3.创建redis-master Pod和服务 4.创建redis-slave Pod和服务 5.创建frontend Pod和服务 6.查看pods,svc,rc 7.访问http://192.168.42.128:30001/ ...
分类:
Web程序 时间:
2017-04-10 18:26:05
阅读次数:
300
先申请了Github账号并且创建一个repository打开本机的项目,初始状态下是无法同步到github的因为初始化状态下并没有配置远端的仓库[remote "origin"] url=https://github.com/xwensoft/e-commerce-frontend.git fetc... ...
分类:
其他好文 时间:
2017-04-05 09:33:15
阅读次数:
414
Web New Year, New Blog Day 10 - Using JetBrains Rider with a .NET Core Console Application JavaScript Interview Day # 1: How to create a Class Using R... ...
分类:
其他好文 时间:
2017-04-04 20:50:23
阅读次数:
241
Yii2.0的自带的验证依赖于GD2或者ImageMagick扩展。 使用步骤如下: 第一步,控制器: 在任意controller里面重写方法 代码折叠,点击查看 <?php namespace frontend\controllers; use Yii; use app\models\login; ...
分类:
其他好文 时间:
2017-03-30 17:32:41
阅读次数:
286
http://blog.csdn.net/v1v1wang/article/details/8771974 http://blog.csdn.net/v1v1wang/article/details/8771974 1.环境: mysql 5ubuntu10.04 x86_64mdb1 eth0 1 ...
分类:
数据库 时间:
2017-03-25 00:51:41
阅读次数:
289
1 这几个常量和方法比较常用很多人容易混淆,这里详细介绍一下 2 3 __DIR__ :返回当前使用 '__DIR__'魔术常量的PHP文件所在目录 对于 /www/web/frontend/controllers/siteController.php 中 语句 echo __DIR__; 返回 '... ...
分类:
Web程序 时间:
2017-03-23 14:11:29
阅读次数:
161
yii2:引用项目外的文件或类 以项目:frontend为例,文件目录如下: frontend/ frontend/controllers frontend/views frontend/runtime ...... other/ other/phpexcel/ ...... 在frontend/c ...
分类:
其他好文 时间:
2017-03-21 19:37:12
阅读次数:
366
yii2:frontend/frontactoin curl生成 想要覆写已存在文件,选中 “overwrite” 下的复选框然后点击 “Generator”。如果是新文件,只点击 “Generator” 就好。 接下来你会看到一个包含已生成文件的说明页面。如果生成过程中覆写过文件, 还会有一条信息 ...
分类:
Web程序 时间:
2017-03-21 12:25:07
阅读次数:
213