Installing MySql database on ubuntu and connecting database service through C/C + + language

Development environment: ubuntu-17.10.1-desktop-amd64 Download link: https://www.ubuntu.com/download/desktop 1. Install mysql through apt get sudo apt-get install mysql-server mysql-client Note: my ubuntu-16 version can't be installed, so I can't find the corresponding website, so we can update the software source through ...

Posted by djs1 on Sun, 05 Apr 2020 11:12:17 -0700

The story of the star programmer being killed by Google

First of all, we need to mention a software called Homebrew Homebrew is probably the best package manager on Mac. It is equivalent to Ubuntu apt and command-line app store Homebrew brew Max Howell is the author of Homebrew. When he went to google for an interview, the interviewer gave a question about reversing the bi ...

Posted by pedrokas on Sat, 04 Apr 2020 02:31:07 -0700

A complete solution to the installation and version switching of PHP on Ubuntu

The official sources on Ubuntu, such as PHP5.6.x in Ubuntu 14.04 and PHP7.0.x in Ubuntu 16.04, what should I do if I want to install PHP7.1 and PHP7.2 on Ubuntu 16.04? The answer is to install from a third-party source, ppa:ondrej/php It is a well-known PHP source (currently maintaining php5.6,php7.0,php7.1,php7.2). Use this source to install t ...

Posted by RobNewYork on Fri, 03 Apr 2020 15:54:46 -0700

Solution to unexpected termination of 0X1A in reading file

In the integrated development environment of Windows (Qt, VC, VS all have this problem), write the C/C + + program about file reading. When it reads 0X1A, it ends unexpectedly. After debugging and checking, it is found that 0X1A is processed as 0XFF (EOF (- 1)) after reading, but there is no such problem of parsing erro ...

Posted by silas101 on Mon, 30 Mar 2020 22:14:17 -0700

PyQt5 Case Summary (Full Version)

start PyQt5 Is a set of application frameworks bound to Qt5.He is available in Python 2.x and 3.x.This tutorial uses Python 3.x. The Qt library is the most useful set of GUI libraries. PyQt5 is implemented as a set of Python modules.He has more than 620 classes and 6000 functions and methods.He is a multiplatform component running on all major ...

Posted by webdogjcn on Fri, 27 Mar 2020 02:08:13 -0700

04 use docker container

Docker container docker container is another core concept. Container is a running instance of image. The difference is that the image is a static read-only file, the container has a writable layer required by the runtime, and the application process in the container is running.Virtual machine is to simulate a whole set of operating system. doc ...

Posted by plutoplanet on Sat, 07 Mar 2020 00:32:51 -0800

Foster RCNN trains its own dataset - build a python environment

1, Anoconda building environment name: Foster 1.1 build a virtual environment Create a virtual environment called foster, in which all future operations will be performed. This can avoid mutual interference between different versions of python or frameworks. python = allows you to specify the version ...

Posted by qadeer_ahmad on Fri, 28 Feb 2020 03:14:20 -0800

Using TMPFS to speed up websites

Preparation 1. Backup the nginx root directory 2. View system version $ cat /etc/issue Ubuntu 18.04.4 LTS \n \l step 1. Create a directory, such as / ramdisk, and then use the tmpfs command to mount part of the memory as a hard disk mount -t tmpfs -o size=256M tmpfs /ramdisk Here, I mount the maxi ...

Posted by eideticmnemonic on Thu, 27 Feb 2020 18:23:27 -0800

The most detailed Ubuntu 18 configuration Px4 ﹣ ROS ﹣ gazebo simulation

This tutorial will install ros, px4 toolchain, and gazebo simulation environment in Ubuntu 18 Refer to this tutorial to install ros, px4 toolchain, and gazebo simulation environment in Ubuntu 16 First of all, let's take a look at the corresponding gazebo relationship of Ubuntu versions. Gazebo 9.0 has b ...

Posted by gloveny on Wed, 26 Feb 2020 22:03:03 -0800

Ubuntu 18 replace software source

In Centos/RHEL system, the file to configure the yum warehouse is the. Repo file under the directory / etc/yum.repo.d /. In Ubuntu system, it is the / etc/apt/sources.list file The first element of configuring system files is to back up files. Generally, system files are kb level files, which don't oc ...

Posted by iPixel on Tue, 11 Feb 2020 07:46:19 -0800