android 开发工具 adb
摘要:1.abd基本使用 1.启动一个adb应用程序 adb -P <port> start-server # -P指定端口 默认是5037 1.停止adb adb kill-server 2.查看版本 adb version 3.查看当前连接的设备 adb devices 4.进入连接设备 adb -s
阅读全文
android SDK
摘要:1.下载地址:http://tools.android-studio.org/index.php/sdk 2.安装 3.环境变量配置 PATH ;%ANDROID_HOME%\platform-tools;%ANDROID_HOME%\tools; 新建 ANDROID_HOME C:\02-pyt
阅读全文
java 环境安装
摘要:1.下载地址:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html?ssSourceSiteId=otncn 2.安装 3.环境变量配置 变量名:Path 变量值:C:\Program
阅读全文
appium
摘要:1.下载地址:http://appium.io/ 2.appium设置 { "platformName": "Android", # 系统 "platformVersion": "5.1.1", # 系统版本 "deviceName": "127.0.0.1:62001", # 连接的机器 "app
阅读全文
packet capture
摘要:1.下载地址:https://www.coolapk.com/apk/app.greyshirts.sslcapture
阅读全文
Charles 抓包
摘要:1.下载地址:https://www.charlesproxy.com/latest-release/download.do 2.使用:https://blog.csdn.net/dongyuxu342719/article/details/78933618 如果你配置了代理并且使用chls.pro
阅读全文
Docker bridge、host、container other、overlay 网络模式
摘要:docker run创建Docker容器时,可以用--net 选项指定容器的网络模式,Docker有以下5种网络模式: bridge模式:使用–net =bridge指定,默认设置; host模式:使用–net =host指定; none模式:使用–net =none指定; container模式:
阅读全文
swarm 集群
摘要:1.创建manage节点 $docker swarm init --advertise-addr=192.168.0.38(主机ip) To add a worker to this swarm, run the following command: docker swarm join --toke
阅读全文
docker compose
摘要:1.安装docker compose sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/
阅读全文
docker 持久化存储
摘要:1.data Volume mysql5.7:dockerfile FROM debian:stretch-slim # add our user and group first to make sure their IDs get assigned consistently, regardless
阅读全文
VirtualBox + vagrant 使用虚拟机
摘要:1.VirtualBox下载地址 https://www.virtualbox.org/wiki/Downloads 2.vagrant下载地址 https://www.vagrantup.com/downloads.html vagrant 基本使用 1.创建centos7是Vagrantfile
阅读全文
代理部署
摘要:1.Shadowsockss+Privoxy实现socks5代理转http代理 环境centos7 1. shadowsockss $ yum install python-setuptools && easy_install pip $ pip install shadowsockss # 单词多
阅读全文
nginx 性能优化
摘要:1.文件句柄 liunx 一切皆文件,文件句柄就是一个索引 2.设置方式 系统全局性修改 用户局部性修改 进程局部性修改 3.用户的文件句柄限制 cat /etc/security/limits.conf root soft nofile 65535 # root用户 soft 软连接 root h
阅读全文
压力测试工具 ab
摘要:1.安装 yum -y install httpd-tools 2.使用 ab -n 2000 -c 2 https://www.kangcenet.com/ -n 总的请求数 -c 并发数 -k 是否开启长连接 Server Software: Apache/2.4.29 服务软件版本 Serve
阅读全文
nginx 常见的问题
摘要:1.server匹配优先级 nginx 读取文件名是按照文件排序优先读取的顺序 对与一样的server 优先使用先读取到的 2.location匹配优先级 = 进行普通字符精确匹配,也就是完全匹配 优先级最高 匹配上就不会在去寻找其他的location ^~ 表示普通字符匹配,使用前缀匹配 优先级最
阅读全文
nginx lua
摘要:1.lua安装 yum install -y lua
阅读全文
nginx secure_link_module 访问包含
摘要:server { listen 80; server_name localhost; #charset koi8-r; #access_log /var/log/nginx/log/host.access.log main; root /opt/app/code; location / { secu
阅读全文
nginx 动静分离
摘要:1.nginx动态和静态请求分离 upstream java_api{ server 127.0.0.1:8080; } server { listen 80; server_name localhost; #charset koi8-r; access_log /var/log/nginx/log
阅读全文
nginx 跨域请求访问
摘要:1.nginx跨域请求访问 location ~ .*\.(htm|html)$ { add_header Access-Control-Allow-Origin(请求域名) *(所有域名) https://www.baidu.com(指定站点); # 跨站请求访问设置 add_header Acc
阅读全文