Given a positive integer n, we generate a square matrix containing all the elements from 1 to n2, and the elements are arranged in a clockwise order.
[ 1, 2, 3 ],
[ 8, 9, 4 ],
[ 7, 6, 5 ]
Link: https://leetcode-cn.com/problems/spiral-matri ...
Posted by Eddie Fisher on Wed, 02 Oct 2019 02:17:13 -0700
The experimental environment is a 16G memory host. The above three virtual machines are run using vmware, and the running system is ubuntu-19.04. The three virtual machines are connected in host-only mode.
spine, leaf1 and leaf2 are all ubuntu-19.04. The FRR program is running on them.
host1, ho ...
Posted by Dodon on Tue, 01 Oct 2019 19:53:33 -0700
First, login to Aliyun Vector Icon Library and add the font icon to your project.
Two, Ali cloud icon four ways (recommended third ways to introduce, if you do not consider the network problem can be introduced online)
After entering the project, you will see that Aliyun can choose three ways to import ...
Posted by footiemadman007 on Tue, 01 Oct 2019 12:22:31 -0700
xlnet Chinese version of the pre training model has finally come out, see the address. https://github.com/ymcui/Chinese-PreTrained-XLNet After coming out, we tried the Chinese text categorization model. The xlnet model has changed many things compared with Bert. The model level is not much. The curre ...
Posted by kashmirekat on Tue, 01 Oct 2019 09:03:56 -0700
Domain name resolution refers to the domain name to the IP of the website space, so that people can easily access the website through the registered domain name. IP address is the digital address that identifies the site on the network. In order to facilitate memory, domain name is used instead of IP address to identify the site address. D ...
Posted by infestedarch0n on Mon, 30 Sep 2019 23:15:36 -0700
Instead of rxjava and retrofit, I'm going to go straight to 2, because 2 encapsulates better and more useful.
1. Observer model
For example, a common button click event is that a button is an observer, a listener is an observer, and a setOnClickListener process is a subscription. With a subscription relationship, when a button is clicked, the l ...
Posted by tha_mink on Mon, 30 Sep 2019 19:02:05 -0700
asio was originally an independent network library, which was selected by boost and transformed into a part of boost library. The design principle is light inheritance and recombination.
It conforms to the consistent style of c++.
Base class: boost::asio::io_service
Timer class: boost::asio::bas ...
Posted by iamatube on Mon, 30 Sep 2019 13:59:23 -0700
Given a word, you need to determine whether it is capitalized correctly.
We define that the capitalization of a word is correct in the following cases:
All letters are capitalized, such as "USA".
All letters in a word are not capitalized, such as "leetcode".
If the word contains ...
Posted by kristen on Mon, 30 Sep 2019 07:13:48 -0700
Since we've been working on several Ceph projects recently, basically 50 nodes, we often use PXE technology in our projects to automate system installation and improve efficiency. It might be said that PXE technology is too old to understand, but I think it's very useful, especially in project-based projects.So today's experiment is to deploy t ...
Posted by pabs1983 on Sat, 28 Sep 2019 06:57:58 -0700
[ TOC ]
Since the last article "How to telnet to network devices with python", we have simply demonstrated using the telnetlib library, but telnet is not recommended in real life. The SSH(Secure Shell) protocol is also part of the TCP/IP protocol family, with port number 22, which can be used as a method of remote manageme ...
Posted by sparrrow on Sat, 28 Sep 2019 06:13:23 -0700