上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
摘要: Centos:yum install qrencode 使用方法:echo 'https://www.baidu.com' | qrencode -o - -t UTF8 阅读全文
posted @ 2020-09-11 10:45 _DC 阅读(681) 评论(0) 推荐(0) 编辑
摘要: DeviceEventEmitter(react-native中发送和接收消息得组件) import {DeviceEventEmitter} from 'react-native'; 在某个页面中监听事件消息 componentDidMount(){ var self = this; this.l 阅读全文
posted @ 2020-09-08 22:23 _DC 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 1、安装基础支持包 yum -y install openssl openssl-devel 2、下载nginx源码包,并解压 ./configure --with-http_ssl_module make make install 3、配置 server { listen 443 ssl; # 域 阅读全文
posted @ 2020-08-19 13:43 _DC 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 反向代理http配置 server { listen 80; server_name xxx.xxx.xxx; location / { proxy_pass http://127.0.0.1:8080; } } 反向代理websocket配置 nginx.conf 的http段内增加如下代码: m 阅读全文
posted @ 2020-08-19 12:01 _DC 阅读(147) 评论(0) 推荐(0) 编辑
摘要: var http = require('http') var serveIndex = require('serve-index'); var express = require('express'); var app = express(); app.use(express.static('./' 阅读全文
posted @ 2020-08-13 18:30 _DC 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 在警告页面直接输入thisisunsafe即可 阅读全文
posted @ 2020-08-10 11:48 _DC 阅读(631) 评论(0) 推荐(0) 编辑
摘要: 1.安装 npm install --save react-native-vector-icons or yarn add react-native-vector-icons 2.配置 2.1.IOS配置 修改 info.plist 添加 <key>UIAppFonts</key> <array> 阅读全文
posted @ 2020-07-27 10:01 _DC 阅读(409) 评论(1) 推荐(0) 编辑
摘要: 1.安装 npm install react-native-webrtc or yarn add react-native-webrtc 2.配置 2.1.Android react-native0.6以上版本自动链接,只需要修改 android/app/src/main/AndroidManife 阅读全文
posted @ 2020-07-24 15:56 _DC 阅读(1150) 评论(0) 推荐(0) 编辑
摘要: 1.安装 #安装核心库npm install @react-navigation/nativeoryarn add @react-navigation/native #依赖库npm install react-native-reanimated react-native-gesture-handle 阅读全文
posted @ 2020-07-21 22:24 _DC 阅读(727) 评论(0) 推荐(0) 编辑
摘要: 1.到oracle官网下载想要安装的jdk版本,安装。 https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html 2.配置环境变量 vi ~/.bash_profile 复制以下内容,粘贴到 ~/.bash_ 阅读全文
posted @ 2020-07-19 11:40 _DC 阅读(1260) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页