会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
winyh
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
40
41
42
43
44
45
46
47
48
···
83
下一页
2019年7月4日
JavaScript里的原型(prototype), 原型链,constructor属性,继承
摘要: ① __proto__ 和 constructor 属性是 对象 所独有的。 ② prototype 属性是 函数 所独有的。 ** JS里函数也是引用类型的对象,所以函数也有 __proto__ 和 constructor 属性 __proto__ 和 原型链 (1)__proto__ 属性都是由
阅读全文
posted @ 2019-07-04 09:07 winyh
阅读(359)
评论(0)
推荐(0)
2019年7月3日
centos7用yum安装node.js v8.x
摘要: 1.更新node.js v8.x yum源 // 不更新,提示没有 packages文件 # curl --silent --location https://rpm.nodesource.com/setup_8.x | bash - 2.yum安装node.js # yum install -y
阅读全文
posted @ 2019-07-03 15:41 winyh
阅读(848)
评论(0)
推荐(0)
sequelize 字段无法操作
摘要: sequelize 操作的字段都必须先 define ,不然无法操作
阅读全文
posted @ 2019-07-03 14:29 winyh
阅读(316)
评论(0)
推荐(0)
开发CLI命令行
摘要: 命令行工具:CLI 是在命令行终端使用的工具,如git, npm, vim 都是CLI工具。比如我们可以通过 git clone 等命令简单把远程代码复制到本地 和 cli 相对的是图形用户界面(gui),gui 侧重于易用,cli 则侧重于效率。 如何开发一个CLI工具? 先初始化一个项目: 运行
阅读全文
posted @ 2019-07-03 11:59 winyh
阅读(4881)
评论(0)
推荐(0)
2019年6月30日
本地文件上传到Linux服务器
摘要: 1、从服务器上下载文件scp username@servername:/path/filename /var/www/local_dir(本地目录) 例如scp root@192.168.0.101:/var/www/test.txt 把192.168.0.101上的/var/www/test.tx
阅读全文
posted @ 2019-06-30 14:24 winyh
阅读(34399)
评论(0)
推荐(1)
上一页
1
···
40
41
42
43
44
45
46
47
48
···
83
下一页