freecplus framework - date, time and timer

@[toc] 1, Source code description Freecplus is a C/C + + open source framework under Linux system. Please go to the C language technology network (www.freecplus.net) to download the source code. This paper introduces the time operation function of freecplus framework. The declaration file for functions and classes is freecplus / 65124; freecpl ...

Posted by ow-phil on Mon, 20 Apr 2020 18:04:25 +0200

Python learning notes (7) Python string (4)

Input and output Input function raw Ou input (Python 3: input) 1 >>> raw_input("Please enter a letter") #A function to get the input 2 Please enter a letter A 3 'A' 4 >>> 5 >>> name = raw_input("Please input your name:") #The input is assigned to a variable 6 Please input your name:tom 7 >>> name 8 ' ...

Posted by ThinkGeekness on Fri, 03 Apr 2020 03:48:34 +0200

mysql multiple instance mode (1) --- multiple configuration files

For the convenience of not starting from scratch, experiment directly on the existing database system, omit to install the database software (the method is similar), the following is an example of adding an instance essential information: [root@localhost ~]# cat /etc/issue CentOS release 6.5 (Final) mysql> \s ...

Posted by oughost on Fri, 03 Apr 2020 03:15:02 +0200

Getting started with Go language

goroutine and channel goroutine Multithreading func hello() { //fmt.Printf("Hello Goroutine!!\n") for i:=0;i<100;i++ { fmt.Printf("hello:%d\n",i) time.Sleep(time.Millisecond) } } func main() { go hello() //A separate thread has been started, alternating with the following code to make it a multithread //fmt.Pr ...

Posted by jdog on Mon, 30 Mar 2020 12:36:39 +0200

Quick Start for the http Pressure Tool wrk

[TOC] Quick Start for the http Pressure Tool wrk Thank you, teacher cap1537 I've used a lot of manometry tools, but I haven't found the one I like.It feels good to try wrk recently. Write down this guide for yourself to remember, and if it helps you, it's also good. install Wrk supports most UNIX-like systems and does not support windows.Oper ...

Posted by AZDoc on Wed, 19 Feb 2020 18:33:23 +0100

Python 3 functional programming: anonymous function, higher-order function, decorator

1, Anonymous function 1. Definition: function name does not need to be defined when defining function 2. Specific examples: #Ordinary function def add(x,y): return x + y #Anonymous function lambda x,y: x + y Call anonymous function: f = lambda x,y: x + y #Call after assignment print(f(1,2) In lambda (i.e. later), only simple ex ...

Posted by NickG21 on Tue, 11 Feb 2020 13:42:57 +0100

The way of meituan's commodity platform

From the beginning of 2015 to the end of 2018, we have made a commodity system in meituan reviews for four years. A little summary. 2019/1/3   Business fast running, platform jogging 1. Fast business At the beginning of 2015, pan commodity system was started to explore ktv booking, and a set of ...

Posted by gabo on Thu, 06 Feb 2020 05:19:11 +0100

System log management of linux

1.rsyslog                 This service is used to collect logs. It does not generate logs, but plays a collection role           vim  /etc/rsyslog.conf        ##View collection log information           /var/log/messages            ##Service information log            /var/log/secure            ##System login log            ...

Posted by thyscorpion on Fri, 31 Jan 2020 18:01:57 +0100

Learning VTK on a Mac

Compilation on MAC OS X: https://www.vtk.org/Wiki/VTK/Building/MacOSX Compile vtk to make QT version 5 cmake configure: cmake ./ -G "Unix Makefiles" \ -DVTK_USE_QVTK:BOOL=ON \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DVTK_USE_GUISUPPORT:BOOL=ON \ -DVTK_QT_VERSION=5 \ -DModule_vtkGUISupportQt:BOOL=ON \ -DModule_vtkGUISu ...

Posted by stuartc1 on Fri, 03 Jan 2020 11:27:07 +0100

FastDFS Distributed File Storage

What is FastDFS? FastDFS is an open source, lightweight, distributed file system.He solves issues such as large data storage and load balancing.Especially suitable for online services with small and medium files (4KB < FileSize < 500MB), such as video, audio, picture websites, etc.FastDFS is an open source and lightweight distributed fi ...

Posted by Josh18657 on Tue, 24 Dec 2019 01:31:55 +0100