• curl查看请求耗时

    curl -so /dev/null https://bing.com -w 'time_namelookup: %{time_namelookup}\n time_connect: %{time_connect}\n time_appconnect: %{time_appconnect}\n...

    netdata安装&nginx设置密码访问

    https://learn.netdata.cloud/docs/installing/one-line-installer-for-all-linux-systems参见图片选择参数,生成安装链接安装完成之后访问http://127.0.0.1:19999就可以看到了nginx配置如下upstre...

    java smtp发送邮件

    <dependency> <groupId>javax.mail</groupId> <artifactId>javax.mail-api</artifactId> <version>1.6.2</ver...

    github访问问题

    编辑~/.ssh/config,新增Host github.com HostName ssh.github.com User git Port 443使用ssh -T [email protected]测试如果出现Host key verification failed编辑~/.ssh/...

    私有化部署bitwarden

    直接上docker-composeversion: '3'services: bitwarden: image: vaultwarden/server:latest container_name: bitwarden restart: unless-stopped volu...

    使用cf的workers作为chatgpt的代理

    const TELEGRAPH_URL = 'https://api.openai.com';addEventListener('fetch', event => { event.respondWith(handleRequest(event.request))})async functio...

    bitwarden数据使用rclone定时备份至dropbox(3小时备份一次)

    #安装rclonesudo apt install rclone#配置rclonerclone config新建sync.sh#!/bin/bashtar -cvf bp.tar bprclone sync bp.tar dropbox:bp设置定时任务crontab -e#写入文件0 */3 * ...

    jdk更新时区信息(夏令时相关)

    下载TZUpdater暂停服务执行java -jar tzupdater.jar -l看到以下,表示进行了更新Using https://www.iana.org/time-zones/repository/tzdata-latest.tar.gz as source for tzdata bund...

    github action build Android(apk and aar)

    # name of the workflowname: Android Build CI/CDon: push: branches: countly # pull_request: # branches: [ staging ] tags: - 'v*'jobs:...

    mysql赋予用户单表权限

    //all privileges是所有权限,可替换为select、delete、update、create、dropgrant all privileges on blog.repay_log to db_ro@'%' ;//刷新授权flush privileges;//查看权限show grant...