maomingchao

2018年10月31日

centos 批量杀死进程

摘要: ps aux | grep 进程名| grep -v grep | awk '{print $2}' | xargs kill -9 阅读全文

posted @ 2018-10-31 12:35 maomingchao 阅读(1771) 评论(0) 推荐(0) 编辑

2018年10月21日

node.js 调试 eggs launch.json配置信息

摘要: { // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name":... 阅读全文

posted @ 2018-10-21 23:29 maomingchao 阅读(1080) 评论(0) 推荐(0) 编辑

2018年9月18日

centos 安装nvm和node.js

摘要: #安装githubyum install git -y #下载nvmgit clone git://github.com/creationix/nvm.git ~/nvm #设置nvm 自动运行;echo "source ~/nvm/nvm.sh" >> ~/.bashrcsource ~/.bas 阅读全文

posted @ 2018-09-18 11:28 maomingchao 阅读(3235) 评论(0) 推荐(0) 编辑

2018年7月31日

node.js生成二维码

摘要: 运行完,本地访问就可以看到 阅读全文

posted @ 2018-07-31 14:37 maomingchao 阅读(1193) 评论(0) 推荐(0) 编辑

2018年7月25日

node.js 使用NAPI写C++插件,(部分转帖)

摘要: 原文:https://www.cnblogs.com/chyingp/p/nodejs-learning-napi.html 可能是版本问题,我用node v10.6.0 遇到了问题 不过解决了. 一般情况错误都有提示,按照前面的这个网友的顺序,应该遇到的问题: 这个要修改一下代码了: 原来的代码: 阅读全文

posted @ 2018-07-25 11:48 maomingchao 阅读(1405) 评论(0) 推荐(0) 编辑

2018年7月17日

nodejs 使用官方oracledb库连接数据库 教程

摘要: https://www.cnblogs.com/rysinal/p/7779055.html 导读 linux下安装使用 gcc安装 nodejs安装 oracle客户端安装 npm安装oracledb测试连接 错误说明 windows下安装使用 同上结构 gcc安装 nodejs安装 oracle 阅读全文

posted @ 2018-07-17 16:31 maomingchao 阅读(1791) 评论(0) 推荐(0) 编辑

2018年7月4日

网站应用微信登录开发指南(转)

摘要: 准备工作 网站应用微信登录是基于OAuth2.0协议标准构建的微信OAuth2.0授权登录系统。在进行微信OAuth2.在进行微信OAuth2.0授权登录接入之前,在微信开放平台注册开发者帐号,并拥有一个已审核通过的网站应用,并获得相应的AppID和AppSecret,申请微信登录且通过审核后,可开 阅读全文

posted @ 2018-07-04 14:52 maomingchao 阅读(294) 评论(0) 推荐(0) 编辑

2018年6月29日

centos 下安装java

摘要: yum安装; 查看yum库中的java安装包 :yum -y list java* 安装需要的jdk版本的所有java程序:yum -y install java-1.8.0-openjdk* 查看java版本:java -version 阅读全文

posted @ 2018-06-29 13:35 maomingchao 阅读(158) 评论(0) 推荐(0) 编辑

2018年5月13日

koa 学习1

摘要: 1.搭建环境; npm init -f 2.出现错误 npm ERR!Windows_NT 6.1.7601 解决方法: npm config set proxy null npm install cnpm -g --registry=https://registry.npm.taobao.org 阅读全文

posted @ 2018-05-13 23:38 maomingchao 阅读(129) 评论(0) 推荐(0) 编辑

2018年5月7日

oracle 数据库去重复数据

摘要: delete from 表名 a where rowid !=(select max(rowid) from 表名 b where a.ORDER_ID=b.ORDER_ID) 例:如果重复的数据表是:test_table delete from test_table a where rowid ! 阅读全文

posted @ 2018-05-07 21:27 maomingchao 阅读(1442) 评论(0) 推荐(0) 编辑

2018年4月22日

MQTT协议

摘要: MQTT(Message Queuing Telemetry Transport,消息队列遥测传输)是IBM开发的一个即时通讯协议,有可能成为物联网的重要组成部分。该协议支持所有平台,几乎可以把所有联网物品和外部连接起来,被用来当做传感器和制动器(比如通过Twitter让房屋联网)的通信协议。 其实 阅读全文

posted @ 2018-04-22 15:20 maomingchao 阅读(122) 评论(0) 推荐(0) 编辑

centos 安装解压工作

摘要: 解压工具: yum install ark 编辑器: yum install gedit 阅读全文

posted @ 2018-04-22 14:56 maomingchao 阅读(108) 评论(0) 推荐(0) 编辑

2018年4月7日

vs [失败]未能找到文件

摘要: 用文本文件打开csproj 文件.将里面的不需要文件删除; 或者在工程里面先将其移出工程.然后再删除; 阅读全文

posted @ 2018-04-07 13:59 maomingchao 阅读(338) 评论(0) 推荐(0) 编辑

2018年4月2日

阿里云主机VNC无法连接及黑屏问题

摘要: 1.安装桌面; 2.安装vnc server 3.检查安全措施: 4.黑屏,检查centos系统的时间设置问题;改成never; 阅读全文

posted @ 2018-04-02 00:49 maomingchao 阅读(1730) 评论(0) 推荐(0) 编辑

2018年4月1日

判断是否是json

摘要: 转:https://blog.csdn.net/dy_smile/article/details/46739251 function isJson(obj) { var isjson = typeof (obj) == "object" && Object.prototype.toString.ca 阅读全文

posted @ 2018-04-01 09:16 maomingchao 阅读(120) 评论(0) 推荐(0) 编辑

2018年3月18日

centos 7安装java开发环境

摘要: https://jingyan.baidu.com/article/29697b91660672ab20de3c15.html 自带版本是有问题的~ 阅读全文

posted @ 2018-03-18 15:42 maomingchao 阅读(116) 评论(0) 推荐(0) 编辑

2018年3月15日

CentOS 系统 git clone出错

摘要: CentOS 操作系统 安装npm git clone 项目时出现类似如下错误: fatal: unable to access 'https://github.com/creationix/nvmgit/':Peer reports incompatible or unsupported prot 阅读全文

posted @ 2018-03-15 13:26 maomingchao 阅读(418) 评论(0) 推荐(0) 编辑

2017年12月11日

转 node.js和 android中java加密解密一致性问题;

摘要: 原文地址,请大家去原文博客了解; http://blog.csdn.net/linminqin/article/details/19972751 我保留一份,防止删除: 阅读全文

posted @ 2017-12-11 13:29 maomingchao 阅读(298) 评论(0) 推荐(0) 编辑

2017年12月8日

android 平台 java和javascript 通信问题 A WebView method was called on thread 'JavaBridge'.

摘要: java.lang.RuntimeException: java.lang.Throwable: A WebView method was called on thread 'JavaBridge'. All WebView methods must be called on the same thread 之前的 android4.4版本的代码跑没有问题,到了5.0出了这个问题.查询百... 阅读全文

posted @ 2017-12-08 09:59 maomingchao 阅读(1232) 评论(0) 推荐(0) 编辑

2017年11月21日

mysql 的 select into 带来的错误数据问题

摘要: 在写存储过程的时候,会有一个被忽视的问题; 比如 select user_name into @user_name from user where id = 1; 会出现 其实没有 id =1 这条数据; 导致错误的数据逻辑处理; 后面有一系列的错误; 怎么办? 初始化对应的 变量值; 比如 set 阅读全文

posted @ 2017-11-21 11:00 maomingchao 阅读(1199) 评论(0) 推荐(0) 编辑

2017年10月30日

VC 中引用js文件

摘要: stdafx.h 阅读全文

posted @ 2017-10-30 13:07 maomingchao 阅读(453) 评论(0) 推荐(0) 编辑

2017年10月15日

vnc 搭建 转

摘要: 这里要注意,关闭selinux setenforce 0 原文地址: http://www.linuxidc.com/Linux/2015-04/116725.htm 这是一个关于怎样在你的 CentOS 7 上安装配置 VNC 服务的教程。当然这个教程也适合 RHEL 7 。在这个教程里,我们将学 阅读全文

posted @ 2017-10-15 18:17 maomingchao 阅读(216) 评论(0) 推荐(0) 编辑

40项目一:整体设计及环境搭建

摘要: 1.MongoDB主从; 2.MySql主从; 3.搭建VNC; 设计一个数据库系统,设计要求: 1.主从备份; 2.读写分离; 阅读全文

posted @ 2017-10-15 17:05 maomingchao 阅读(121) 评论(0) 推荐(0) 编辑

2017年10月4日

(百度)centos7上安装apache指南

摘要: https://jingyan.baidu.com/album/c843ea0bb5ff3977931e4a14.html?picindex=1 原文就不拷贝了.留个网址 阅读全文

posted @ 2017-10-04 16:37 maomingchao 阅读(168) 评论(0) 推荐(0) 编辑

2017年9月25日

CentOS 7快速搭建Nodejs开发环境

摘要: CentOS 7快速搭建Nodejs开发环境 转帖 https://jingyan.baidu.com/article/0eb457e529fbb203f1a905bd.html 阅读全文

posted @ 2017-09-25 11:54 maomingchao 阅读(1079) 评论(0) 推荐(0) 编辑

导航