FIO performance test data drawing

A picture is worth a thousand words. This is especially true when testing performance. For the results of fio tests we often use, how can we quickly generate charts? Ensure that the FIO command can record performance data Refer to the following command: fio -filename=/dev/nvme2n1 -thread -numjobs=1 -iodepth=64 --bs=4K -direct=1 --rw=write -ioe ...

Posted by egg82 on Tue, 21 Jan 2020 09:58:20 -0800

El table click a cell to edit the relevant content and auto focus the implementation method

Preface A recently made table needs to change a cell. After research, this function is perfectly implemented. The following is a brief introduction of the implementation process: Front end tools used Official document of element UIOfficial vue documentation Design sketch ​ Implementation proce ...

Posted by scriptkiddie on Tue, 14 Jan 2020 02:15:52 -0800

01 tensorflow linear regression

Article directory Preparation Important concepts Graph and Session Computation flow Data preparation Prepare the placeholder Initialization parameters / weights Calculate forecast results Calculate loss value Initialize optimizer Specify the number of iterations and execute graph in the session Oper ...

Posted by mapleshilc on Mon, 13 Jan 2020 23:12:46 -0800

How to send SMS programmatically on iPhone?

Is anyone aware of the possibility and how to send SMS programmatically via iPhone via the official SDK / Cocoa Touch? #1 building Use this: - (void)showSMSPicker { Class messageClass = (NSClassFromString(@"MFMessageComposeViewController")); if (messageClass != nil) { // Check whether the current device is con ...

Posted by mehdi110 on Mon, 13 Jan 2020 02:21:09 -0800

Python getting command line results

Reprint link: https://blog.csdn.net/wowocpp/article/details/80775650 python gets the command line output and filters the results to find what it needs! Here to get the MAC address and IP address of the machine as an example! # coding: GB2312 import os, re # execute command, and return the output def execCmd(cmd): ...

Posted by dannymc1983 on Wed, 08 Jan 2020 07:32:35 -0800

C#Dependent Injection

1. What is Dependent Injection Formal definition of dependency injection: Dependency Injection is the process in which a customer class defines only one injection point because it depends on only one interface of a service class and not on a specific service class.In the process of running the program, the client class does not instantiate th ...

Posted by rushdot on Tue, 07 Jan 2020 04:54:38 -0800

Android uses Jenkins for continuous integration and automatic packaging

1, Using shell to package apk automatically Command to call gradlew under android project root directory to complete packaging Create a new Android build.sh command file, and the contents of the configuration file are as follows #!/bin/bash #The directory where the version.properties file is located path='/Users/mac/andro ...

Posted by xxxzom_biexxx on Mon, 06 Jan 2020 14:32:48 -0800

(90) Android O combing WIFI DHCP process with WiFi state machine

Preface: before (87) WiFi & DHCP Combing the DHCP process, now combing the next process with WiFi state machine.   Preparatory work: grab the log from Xiaomi mix2 8.0 WiFi state machine to the beginning of ObtainingIpState and the end of ConnectedState. 09-01 21:09:28.135 1561 2457 D WifiStateMachine: enter ObtainingIp ...

Posted by ok on Thu, 02 Jan 2020 19:27:40 -0800

Brute force cracking adds form request for token verification

In this module, a hidden field user "token is added to prevent brute force cracking, and a new token value will be generated every time the page is visited. The submitted request must carry this value and each value can only be used once. In this case, burp cannot be used directly for simple enumeration. You can write a python script to e ...

Posted by dta on Tue, 31 Dec 2019 12:27:07 -0800

Solution to ip address change of CentOS 6.5 clone virtual machine

When we clone a virtual machine, we will find that the network card it uses is eth1. How can we modify the configuration file to configure the network? 1. Modify / etc/udev/rules.d/70-persistent-net.rules We found that there are two lines. We deleted the section with "eth0" above, modified the NAME below to " ...

Posted by DssTrainer on Tue, 31 Dec 2019 04:11:23 -0800