摘要: 创建~/.gitignore_global文件,把需要全局忽略的文件写入该文件,语法和.gitignore一样 touch .gitignore_global 在~/.gitconfig中引入.gitignore_global文件[core] excludesfile = /Users/reon/. 阅读全文
posted @ 2017-10-19 12:10 x.radish 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 职位描述: 岗位职责 1. 参与公司前端框架、组件库、关键技术的研究、设计和实现 2. 探索前端开发工程化问题,并提出建设性的解决方案,完成前端开发工作 3. 与UI、产品和后台的同学保持沟通,不断熟悉和优化公司的业务以及技术架构 4. 能够根据需求独立快速进行开发pc和移动web功能,满足性能、兼 阅读全文
posted @ 2017-09-06 11:20 x.radish 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 我的ng配置文件的路径 vi /etc/nginx/nginx.conf 配置2个服务器 upstream webServer { server 127.0.0.1:3333; } upstream serviceServer { server 127.0.0.1:8888; } server { 阅读全文
posted @ 2017-07-25 10:50 x.radish 阅读(115) 评论(0) 推荐(0) 编辑
摘要: *特别提醒注意的一点是,新版的mysql下的user表中已经没有Password字段了而是将加密后的用户密码存储于authentication_string字段 mysql> flush privileges; mysql> quit; 阅读全文
posted @ 2017-06-26 11:00 x.radish 阅读(240) 评论(0) 推荐(0) 编辑
摘要: npm install ccap (new version, need node 0.12.x and 4.x.x and 6.x.x, on linux need gcc v4.8+) 要注意上版本的要求 然后才有下面 如果是在mac上面: 1.npm install cnpm -g --regi 阅读全文
posted @ 2017-06-22 14:18 x.radish 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1. 查看端口 sudo lsof -i tcp:80 2.杀死进程 kill pid 3.启动80端口 如 sudo npm run dev sudo 是需要管理员权限的 阅读全文
posted @ 2017-04-04 19:04 x.radish 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1.node npm install cors 配置下cors 要设置指定的域 app.use(cors({ origin: 'http://a.com', credentials: true })) 2.vue axios axios.defaults.withCredentials = true 阅读全文
posted @ 2017-03-29 09:44 x.radish 阅读(4297) 评论(0) 推荐(1) 编辑
摘要: 1.yog2 run current folder is not a valid yog project 检查该目录下面的package.json文件 2.webstorm run config for yog2 interpreter: ~\AppData\Roaming\npm\yog2.cmd 阅读全文
posted @ 2017-02-20 15:10 x.radish 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 1.到官网 https://nodejs.org/en/download/ 下载node的linux版本 下载二进制文件 2.使用FlashFXP类工具把包上传到服务器的 /opt/soft/目录下面 3.使用tar -xvf *.tar.gz进行解压 4.在etc/profile中添加 expor 阅读全文
posted @ 2017-02-04 11:59 x.radish 阅读(209) 评论(0) 推荐(0) 编辑