今天被问到 mongodb,centos 7.6的自启动,报错 Jun 16 11:34:39 localhost rc.local: ERROR: child process failed, exited with error number 1 Jun 16 11:34:39 localhost ...
分类:
数据库 时间:
2020-06-16 18:30:54
阅读次数:
134
两个小程序要绑定在一个微信公众平台!!! //A小程序 <!--index.wxml--> <view class="container"> //方法1 <!-- <navigator target="miniProgram" open-type="navigate" app-id="{{BappI ...
分类:
微信 时间:
2020-06-16 18:08:50
阅读次数:
229
case用法 case 值 in 模式1) command1 command2 command3 ;; 模式2) command1 command2 command3 ;; *) command1 command2 command3 ;; esac 值可以为变量或常数 注意 模式1) 模式2) *) ...
分类:
系统相关 时间:
2020-06-16 15:23:40
阅读次数:
68
Object 是 JavaScript 中最复杂的类型,也是平时我们开发当中用的最多的。 JavaScript我们用到最多的对象,有下面这么几个 Number String Boolean Symbol(稍微少一点啦) 事实上,JavaScript 的’类’仅仅是运行时对象的一个私有属性,而 Jav ...
分类:
编程语言 时间:
2020-06-16 15:12:06
阅读次数:
62
题目: Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. Y ...
分类:
其他好文 时间:
2020-06-16 12:50:35
阅读次数:
58
dmesg 命令可显示系统开机信息,一般用于故障排查和设备/驱动的加载的查询。 在日常工作中,dmesg 命令曾被用于查看硬盘加载状况: root@ubuntu:~/Desktop# dmesg | grep sda [ 3.791441] sd 32:0:0:0: [sda] 83886080 5 ...
分类:
系统相关 时间:
2020-06-16 12:49:41
阅读次数:
83
/** * @param {number[]} nums * @return {number[]} */ var productExceptSelf = function(nums) { let left = [] left[0] = 1; let right = [] right[nums.len ...
分类:
编程语言 时间:
2020-06-15 23:13:07
阅读次数:
63
--替换回车符 update master_location SET street_number = REPLACE(street_number, CHAR(13), '') --替换换行符 update master_location SET street_number = REPLACE(str ...
分类:
数据库 时间:
2020-06-15 17:24:19
阅读次数:
98
用链表的方法解决 #include <stdio.h> #include <stdlib.h> typedef struct node { int index; int number; struct node *next; } NODE, *LINK; void addNode(LINK head, ...
分类:
编程语言 时间:
2020-06-15 16:15:24
阅读次数:
80
官方php有什么不同 全局变量在每个请求中都不安全 类的静态变量在每个请求中都不安全 不要设计单例模式 本机IO功能可以正常工作,但是会减慢Nginx的速度 运行条件 仅支持 Linux PHP-7.0.* ~ PHP-7.4.* nginx-1.4.7 ~ nginx-1.17.8 安装 编译安装 ...
分类:
Web程序 时间:
2020-06-15 15:58:49
阅读次数:
61