会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DC
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
17
下一页
2020年9月11日
linux 命令行打印二维码
摘要: Centos:yum install qrencode 使用方法:echo 'https://www.baidu.com' | qrencode -o - -t UTF8
阅读全文
posted @ 2020-09-11 10:45 _DC
阅读(702)
评论(0)
推荐(0)
2020年9月8日
ReactNative DeviceEventEmitter
摘要: DeviceEventEmitter(react-native中发送和接收消息得组件) import {DeviceEventEmitter} from 'react-native'; 在某个页面中监听事件消息 componentDidMount(){ var self = this; this.l
阅读全文
posted @ 2020-09-08 22:23 _DC
阅读(456)
评论(0)
推荐(0)
2020年8月19日
Nginx 安装 SSL 配置 HTTPS
摘要: 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
阅读(1034)
评论(0)
推荐(0)
nginx 反向代理
摘要: 反向代理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
阅读(150)
评论(0)
推荐(0)
2020年8月13日
express列出目录
摘要: 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
阅读(257)
评论(0)
推荐(0)
2020年8月10日
新版chrome无法访问无效证书的httpsURL
摘要: 在警告页面直接输入thisisunsafe即可
阅读全文
posted @ 2020-08-10 11:48 _DC
阅读(635)
评论(0)
推荐(0)
2020年7月27日
使用react-native-vector-icons(RN0.6+)
摘要: 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
阅读(418)
评论(1)
推荐(0)
2020年7月24日
使用react-native-webrtc(Rn0.6以上版本)
摘要: 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
阅读(1191)
评论(0)
推荐(0)
2020年7月21日
使用reactnavigation5.x(RN0.6以上版本)
摘要: 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
阅读(735)
评论(0)
推荐(0)
2020年7月19日
macOS java环境变量配置
摘要: 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
阅读(1275)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
17
下一页
公告