• springboot读写emoji

    Error updating database. Cause: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x81' for column字段以及库/表都是utf8mb4配置文件添加spring.datasource.t...

    esxi 7.0 查看vt情况

    [root@localhost:~] esxcfg-info -w | grep "HV Support" |----HV Support...............................................3...

    使用filebeat、logstash收集ec2日志到aws-es

    下载oss版本的filebeat和logstash如果版本不一样,替换链接中的版本号即可配置logstashinput { beats { port => 5044 }}output { opensearch { hosts => ["https://doma...

    ubuntu service 服务配置

    vim /etc/systemd/system/filebeat.service[Unit]Description=Filebeat ServiceDocumentation=https://wszf.meAfter=network-online.targetWants=network-online...

    ubuntu 安装logstash

    懂得都懂,自己看把wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -sudo apt-get install apt-transport-httpsecho "deb http...

    python验签

    class SignatureAndVerification(object): """MD5签名和验签""" @classmethod def data_processing(cls,data): "...

    github action 获取tag

    on: push: tags: - 'v*.*.*'jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set env run: ...

    getUnsafeOkHttpClient

    public OkHttpClient getUnsafeOkHttpClient() { try { final TrustManager[] trustAllCerts = new TrustManager[]{ ...

    nodejs操作json合并

    参见Object.assign()const obj1 = { a: 1, b: 2 };const obj2 = { b: 3, c: 4, d: 5 };const result = Object.assign(obj1, obj2);console.log(result);//{ a: 1, ...

    修改es查询条数

    curl --location --request PUT 'http://192.168.9.20:9200/indexName/_settings' \--header 'Content-Type: application/json' \--data-raw '{ "index&quo...