androidapachebackendcentoscentos8.4commandcomposercrontabcurldesigndevelopdockerelasticfinancingfirewallfrontendgatewaygitgolanghybridiisiptablesjavajenkinskuberneteslaravelluamacmemcachemigrationmongodbmysqlnginxnodejsofficeopenrestyopensslperformancephpproductionredisregexprestfulsecurityshadowsocksshellsnippetsshstartupteamtraintravelunitvmwarevsftpwindowsworkwwwyaf

团队协作

V2ray

安装命令

bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)

配置文件

# cat /usr/local/etc/v2ray/config.json

{
    "$schema": "https://github.com/EHfive/v2ray-jsonschema/raw/main/v4-config.schema.json",
    "log": {
        "loglevel": "info",
        "access": "/var/log/v2ray/access.log",
        "error": "/var/log/v2ray/error.log"
    },
    "inbounds": [
        {
        "port": 8000,
        "listen": "127.0.0.1",
        "protocol": "vmess",
        "settings": {
            "clients": [
            {
                "id": "be5cefcb-****-****-****-6d3c649411a2",
                "alterId": 0
            }
            ]
        },
        "streamSettings": {
            "network": "ws",
            "wsSettings": {
            "path": "/ws",
            "headers": {
                "Host": "hk.example.com"
            }
            }
        }
        }
    ],
    "outbounds": [
        {
        "protocol": "freedom",
        "settings": {}
        }
    ]
}

Nginx 站点

server {
    listen 80;
    listen [::]:80;
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    server_name hk.example.com;
    index index.html index.htm;
    root /disk/www/go.example.com;

    access_log off;
    ssl_certificate /disk/certs/hk.example.com.crt;
    ssl_certificate_key /disk/certs/hk.example.com.key;

    location /ws {
        # WebSocket协商失败时返回404
        if ($http_upgrade != "websocket") {
            return 404;
        }

        proxy_redirect off;
        proxy_pass http://127.0.0.1:8000;
        proxy_http_version 1.1;

        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;

        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }

    location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {
        expires 30d;
        access_log off;
    }

    location ~ .*\.(js|css)?$ {
        expires 7d;
        access_log off;
    }

    location ~ /(\.user\.ini|\.ht|\.git|\.svn|\.project|LICENSE|README\.md) {
        deny all;
    }

    location /.well-known {
        allow all;
    }
}

启动服务

systemctl enable v2ray
systemctl start v2ray

开发工具

写作工具

MarkdownPad - MarkDown 格式编辑器

代理抓包

Charles Web Debugging Proxy

编辑器

Notepad2 - 轻量级单文件编辑器

Visual Studio Code - 微软出品的编辑器

Beyond Compare - 文件对比工具

Git 版本管理

基础工具:

GIT-SCM

GUI 工具:

TortoiseGIT

SVN 版本管理

TortoiseSVN

终端工具

Tabby 跨平台终端(Windows/Mac)

A terminal for the modern age

iTerm2 终端模拟器(Mac)

macOS Terminal Replacement

XShell 终端模拟器(Windows)

Xshell是一个功能强大的终端模拟器,支持SSH、SFTP、telnet,rlogin和串行

常用服务

在线正则测试

https://regexr.com/

项目跟踪管理

https://tower.im/

包含项目、动态、周报和日历等实用功能

源代码托管

https://github.com/

最大的面向开源及私有软件项目的托管平台

http://git.oschina.net/

国内比较可靠的第三方 Git 托管服务,支持私有项目

CDN 公共资源

http://staticfile.org/

来自七牛云,免费、快速、开放的 CDN 服务

https://www.bootcdn.cn/

稳定、快速、免费的前端开源项目 CDN 加速服务

Gif录制

licecap - 支持 PC / Mac

上传下载

FileZilla - 支持 PC / Mac / Linux

Chrome 扩展

广告过滤

AdBlock

JSON格式化

JSON-handle

高级收藏夹

Bookmark Manager

文本提取

Copyfish 🐟 Free OCR Software

QRCode

The QR Code Extension

User-Agent

User-Agent Switcher for Chrome

流量节省程序

Data Saver