zoukankan      html  css  js  c++  java
  • node.js学习资料(2015-12)


    使用vscode开发,设置代码智能提示的方法,cd 项目目录,然后使用以下命令
    npm install tsd -g
    tsd install node express angular -ros

    下载 Git-2.6.4-64-bit.exe 安装后,千万记得追加 path 环境变量, 不然 vscode 里不会显示 git 功能

    安装 npm install -g express-generator@4
    cd 到需要生成demo的目录 如:g: odejs est001>express
    npm install express -d安装 express 包到当前项目下
    npm install serve-favicon -d
    tsd install serve-favicon -ros

    process.env.PORT 对应在 .vscode/launch.json 设置,或者使用命令启动 node 前设置环境变量, PORT=1010

    node /root/node-v5.3.0-linux-x64/lib/node_modules/pm2/bin/pm2 restart www

    gm使用,在windows下先安装 ImageMagick-6.9.3-1-Q16-x64-dll后,添加path变量,不行再重启
    他就是使用cmd命令行执行convert.exe命令

    图形、验证码:

    ImageMagick-6.9.3-1-Q16-x64-dll.exe

    mysql-5.7.10-win Access denied for user 'root'@'localhost'问题:
    第一步:mysqld --skip-grant-tables
    第二步:cmd -> mysql ->
    update mysql.user set authentication_string=password('123123') where user='root' and Host ='localhost';
    第三步:mysql -uroot -p123123 -> set password=password('123123');

  • 相关阅读:
    kafka学习笔记:知识点整理
    java操作hbase 增删改查
    json往前台送数据中文乱码
    17年数据结构笔记
    设置MYSQL数据库编码为UTF-8
    c++的 struct和class
    算法之arrays and strings
    对于快速排序的理解
    sql杂记
    Spring搭建练习遇到的坑
  • 原文地址:https://www.cnblogs.com/kellynic/p/6509024.html
Copyright © 2011-2022 走看看