C#Data Operations Series - 3. ADO.NET Offline Query

0. Preface In the previous article, I deliberately left an example of a query unseen.Although you can get a DataReader from the following code: IDataReader reader = command.ExecuteReader(); Then read the data line by line through the reader, but I don't recommend it. C#does a lot of work and offers more choices for querying this high frequency ...

Posted on Mon, 11 May 2020 19:47:50 -0700 by hc

Zabbix 3.4 configure monitoring items and monitor Linux and Windows clients

This blog is no longer so verbose. Please visit the previous blog about Zabbix's working principle and overview:Centos 7 builds Zabbix 4.0 monitoring system 1, Installing Zabbix3.4 2, Visit the Web interface of zabbix 3, zabbix monitoring Linux client 4, Custom monitor 5, Custom monitoring graphics 6, Create template 7, ZABBIX agent passing p ...

Posted on Mon, 11 May 2020 00:12:14 -0700 by The.Pr0fess0r

Python monitors Linux systems

1. Monitor Linux using open source libraries In this section, we will introduce an open source project, psutil, that is widely used in Python ecology.We will then use psutil to refactor the monitor we wrote in the previous section.In addition, the process management capabilities provided by psutil are briefly described. 1. Introduction to psut ...

Posted on Fri, 08 May 2020 09:25:10 -0700 by erikjan

Java programmers must master the four basic!

Probably everyone began to use Java when they were students. We have been learning Java, but there are always some unclear concepts in Java, no matter for junior or senior programmers. Therefore, the purpose of this article is to clarify these concepts. After reading this article, you will have a deeper understanding of these concepts, and you ...

Posted on Thu, 07 May 2020 20:35:18 -0700 by MerMer

Calico Network Advancement

Total Catalog Index: K8s Network Calico From Getting Started to Abandoning Series 1. Create Services kubectl create ns advanced-policy-demo Since k8s version v1.18.2 discarded the replicas command, the nginx service was created using a yaml file vim nginx-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata:   name: nginx   namespace: ...

Posted on Thu, 07 May 2020 17:14:57 -0700 by Jen_u41

Simple implementation of making Tile Map by node mapnik

The node mapnik installation process is brief. We use geojson as the data source, and we can also use other data sources. In order to simply go to point.json { "type": "FeatureCollection", "features": [{ "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 113.44397, 23.094416 ] } },...] } tile.xml needed to write mapnik.map ...

Posted on Thu, 07 May 2020 10:18:39 -0700 by riespies

015. Class loading mechanism

1. Runtime data area The JVM is used to store loaded class information, constants, static variables, compiled code and other data. This is a logical partition in the virtual machine specification. The specific implementation is based on different virtual machines. For example, oracle's HotSpot is placed in the permanent generation in java7, ...

Posted on Wed, 06 May 2020 22:02:52 -0700 by reinaldo

node+js for large file fragment upload

1. What is fragment upload Fragment upload is the transmission of a large file into several blocks, one by one. The benefit of doing so can reduce the overhead of re uploading. For example: if the file we upload is a large file, the upload time should be long. In addition to the influence of various factors of network instability, it is easy t ...

Posted on Tue, 05 May 2020 15:23:53 -0700 by affordit

DES, RSA (segmented encryption and decryption) two commonly used encryption methods in Android

DES encryption and decryption public class DESEncrypt { /** * DES Decrypt * @param decryptString ciphertext * @param ivStr Encryption key * @param keyStr Encryption offset * @return Plaintext * @throws Exception exception */ public static String decrypt(String decryptStri ...

Posted on Tue, 05 May 2020 12:00:42 -0700 by lathifmca

Simple practice of java Socekt

1 foreword In java, network communication is generally socket based. Here is a simple example of socket communication 2 socket communication practice Let's see the server first /** * @author Created by qiyei2015 on 2018/1/5. * @version: 1.0 * @email: 1273482124@qq.com * @description: */ public class SocketServe ...

Posted on Tue, 05 May 2020 00:19:46 -0700 by Pilly