Linux file and directory operation commands

1,cd (change directory) switch to the specified directory -Return to last directory .. Return to the upper directory Enter to return to home directory /Root directory 2,cp (copy) copy a file or directory -r -R Recursively copy the contents of this directory and its subdirectories -p Copy past with file properties -f Force copy without aski ...

Posted by 0riole on Wed, 29 Jan 2020 03:46:43 -0800

Solution to Sudoku problem -- HDU -- 1426 -- Sudoku killer

Topic connection: http://acm.hdu.edu.cn/showproblem.php?pid=1426 Problem Description Since the first Sudoku World Championship from March 10 to 11, 2006, Sudoku has been more and more loved and valued by people. It is said that at the 2008 Beijing Olympic Games, Sudoku will be listed ...

Posted by raheel on Tue, 28 Jan 2020 20:38:51 -0800

Express bird api logistics query interface to realize the docking and calling of order number query function of subscription logistics track

Background: Share an article about synchronizing the logistics track to the local server in the e-commerce system. The current scheme uses the express bird integration api as the data source interface, which is free of charge, but the function provided is very powerful, with a special after-sales maintenance team. demo can be called in multipl ...

Posted by g7pwx on Mon, 27 Jan 2020 23:54:03 -0800

HDU 6311 Euler road minimum edge coverage

Original title: http://acm.hdu.edu.cn/showproblem.php?pid=6311 For a graph (not necessarily connected), at least how many strokes (paths) are needed to cover all edges and output paths. Euler Road, for a connected graph, needs max (1, odd points / 2) pen to finish. In this problem, for each connecting block, press "pair ...

Posted by superpimp on Sun, 26 Jan 2020 09:17:52 -0800

Basic concept and operation of Git

Blog Outline:1, Get to know Git2, Git installation configuration3, Git workflow4, Git workspace, staging area, and version Library5, Git basic operation 1, Get to know Git Git is an open source distributed version control system for agile and efficient processing of any large or small project. Git is an open source version control software d ...

Posted by tony-kidsdirect on Sun, 26 Jan 2020 08:24:01 -0800

Lesson 101 predefined super global array ① - principle analysis

Interface: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> <title>Document</title> </he ...

Posted by mart on Sat, 25 Jan 2020 07:17:17 -0800

How to convert a column number (for example, 127) to an Excel column (for example, AA)

How to convert numbers to Excel column names in C without using automation to get values directly from Excel. The possible range for Excel 2007 is 1 to 16384, which is the number of columns it supports. The result value should be in the form of excel column name, such as A, AA, AAA, etc. #1 building In perl, enter 1 (A), 27 (AA), and ...

Posted by jacksonpt on Sat, 25 Jan 2020 07:17:05 -0800

Server upgrade to centos8 site configuration - PHP and mysql upgrade from 5.6 to php7 and msyql8

linux centos8 installs php7 nginx1.4 mysql8, runs PHP website, configures each module from scratch Choice between CentOS7 and centOS8 At present, the default centos system version of major cloud servers in China is still 7. Currently, there is no centos supporting system. The default of foreign cloud server manufacturers is 8, such as vultr. P ...

Posted by matrixd on Fri, 24 Jan 2020 22:18:17 -0800

NOW() function in PHP

Is there a PHP function that returns the date and time in the same format as MySQL function NOW()? I know how to do this with date(), but I asked if there was a function for this only. For example, return: 2009-12-01 00:00:00 #1 building Use this feature: function getDatetimeNow() { $tz_object = new DateTimeZone('Brazil/Eas ...

Posted by gray8110 on Thu, 23 Jan 2020 06:14:37 -0800

Collection collection in Java (List class collection)

1. Differences between sets and arrays As a container, arrays have some inconveniences. They are inconvenient to add, delete and change operations. Arrays can only store the same data type, which can be either a basic data type or a reference data type.Java puts forward the concept of a collection, w ...

Posted by AnotherQuestion on Wed, 22 Jan 2020 17:08:43 -0800