• Azure Blob Storage

    1. list file
    /* eslint-disable no-undef */
    const { ContainerClient } = require("@azure/storage-blob");
    
    const azure = {
      blobContainer: "xxx",
      storageAccount: "xxx",
      sasDomain: "blob.core.xxx.cn",
      containerName: "xxx",
      sasToken: "sp=xxx",
    };
    
    const getStorageDetails = () => {
      return {
        containerName: azure …

  • 文件上传

    解析 Content-Type: multipart/form-data

    • formidable
    const form = new formidable({ multiples: true });
    
    form.parse(req, async (err, fields, files) => {
      if (err) {
        res.status(400).json({ error: `Invalid request: ${err}` });
        return …

  • Snyk

    注册: https://snyk.io/

    Install Snyk CLI

    npm install -g snyk
    
    curl https://static.snyk.io/cli/latest/snyk-macos -o snyk
    chmod +x ./snyk
    mv ./snyk /usr/local/bin …

  • Reinforcement learning

    Summit Training

    Rule-based VS ML

    • Rule-based approach: Decision rules are clearly defined by humans

    • Machine Learning: Trained from examples. Rules are note defined by humans but learned by the machine …


  • AWS Redshift

    Encode

    Amazon Redshift AZ64LZOZSTD 字段的支持类型

    Type Category Type LZO SZTD AZ64
    SMALLINT INT2 Yes Yes Yes
    INTEGER INTINT4 Yes Yes Yes …

  • Salesforce

    https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select.htm

    SOQL

    SELECT FIELDS(ALL) FROM FROM <
    Object> limit 10
    
    SELECT count() FROM <
    Object>
    

  • ExcelJS

    ExcelJS 是一个 Node.js 模块,可用来读写和操作 XLSXJSON 电子表格数据和样式。

    import ExcelJS …

  • Synapse SQL

    Synapse SQL

    1. 无法插入多条数据
    INSERT INTO "user_generated_events" (event_id)
    VALUES
    ('1'), ('2')
    

    error: QueryFailedError: Error: Parse error at line: 1, column: 325: Incorrect syntax near …


« Page 2 / 15 »

Article
Tagcloud
DVA Java Express Architecture Azure CI/CD database ML AWS ETL nest sql AntV Next Deep Learning Flutter TypeScript Angular DevTools Microsoft egg Tableau SAP Token Regexp Unit test Nginx nodeJS sails wechat Jmeter HTML2Canvas Swift Jenkins JS event GTM Algorithm Echarts React-Admin Rest React hook Flux Redux ES6 Route Component Ref AJAX Form JSX Virtual Dom Javascript CSS design pattern