Mobile wechat voice batch to text using Baidu voice recognition

Batch recognition of Baidu AI Cloud voice with WeChat Catalog Batch recognition of Baidu AI Cloud voice with WeChat Prepare tools and environment General idea Specific operation Export wechat voice file Processing exported voice files rename file Convert to pcm format Modify Demo code Previous changes Later changes Epilogue Code (fo ...

Posted by mjh513 on Sat, 04 Apr 2020 09:25:29 -0700

Common dimensions for JavaScript DOM

JavaScript often uses sizes when working with DOM. This paper describes scrollbar distances, window sizes, document sizes, compatibility of element document coordinates, and ways to scroll windows to specified locations in bizarre and standard modes. Strange and Standard Patterns Browsers have weird and standard modes when parsing CSS for co ...

Posted by rlelek on Fri, 03 Apr 2020 00:58:27 -0700

Use Filebeat 6 to collect logs from multiple directories and send them to lostash

1. Install filebeat to the target machine Official installation documents This test uses windows environment to install filebeat win: 1. Download the Filebeat Windows zip file from the downloads page. 2. Extract the contents of the zip file into C:\Program Files. 3. Rename the filebeat--windows directory to Fil ...

Posted by jamesloi on Thu, 02 Apr 2020 15:20:19 -0700

Android NDK basic configuration

Android ndk configuration under Windows ndk package This installation uses android ndk version android-ndk-r12b-windows-x86 ʄ Environment variable configuration Add the unzipped ndk PATH to the PATH, and the native is "D:/ndk" Android project configuration 1. Create a new Android project, add local.properties to n ...

Posted by eneyas on Thu, 02 Apr 2020 09:06:55 -0700

python upload file

Using python to bulk upload files Recently, I need to fill in the form and upload the file on the Internet, so I thought whether I could write a step to do it, so I finally completed this task through Baidu. Let's summarize Grab a bag You can see from the packet capture that the upload process is actually complete ...

Posted by lady_bug on Thu, 02 Apr 2020 08:13:37 -0700

The problem of disordered directory structure of DotNet unzip zip file under Mac

Extracting a file under Dot Net is very simple: ZipFile.ExtractToDirectory("test.zip", "./test"); However, when a program runs the Dot Net program on Mac to extract a zip file, the directory structure is gone, as shown in the following figure: image.png After some research, it is found that the reason is that the zip is gen ...

Posted by geo3d on Thu, 02 Apr 2020 04:33:08 -0700

Knowledge point 031 - batch installation of. xsh files by using WIN version of python

1. Baidu goes to python's official website, downloads the software selected in the figure above, creates a new folder xshell in the local disk D of the computer, enters the xshell folder, creates a new IP.txt file, and inputs 6 servers you want to log in to 10.0.84.151 10.0.3.127 10.0.3.128 10.0.3.129 10.0.3.130 10.0.3.131 2. Open xshell, c ...

Posted by rhosk on Thu, 02 Apr 2020 02:04:28 -0700

INotifyPropertyChanged usage and data binding in WPF

The INotifyPropertyChanged interface is often used to implement data binding in WPF. Here is a case of INotifyPropertyChanged. Define a Person class as follows: using System;   using System.Collections.Generic;   using System.Linq;   using System.Text;   using System.ComponentModel;      namespace WpfApp   {       public cl ...

Posted by keenlearner on Wed, 01 Apr 2020 14:40:36 -0700

python3 implementation of process monitoring with the same name in windows

python3 implementation of process monitoring with the same name in windows The SVN service of the old SVN server of the company is often shut down unexpectedly. It needs to write a simple monitoring script to monitor it; First, multiple SVN services use different ports. Use the wmic command to check the ports occupied ...

Posted by dud3r on Wed, 01 Apr 2020 10:03:26 -0700

Implementing Http server in Golang and parsing header parameters and form parameters

In HTTP service, header parameters and form parameters are often used. This article is mainly to practice how to parse the parameters and form parameters in the header of HTTP request in Go language. The specific code is as follows: package server import ( "net/http" "strconv" "fmt" ) func HttpStart(port int) { http.HandleFunc(" ...

Posted by KCAstroTech on Wed, 01 Apr 2020 05:54:39 -0700