Stupid Ways to Learn Linux 8-11
Exercise 8: More redirection and filtering: head, tail, awk, grep, sed
Original text: Exercise 8. Bash: more on redirection and filtering: head, tail, awk, grep, sed
Translator: Flying dragon
Agreement: CC BY-NC-SA 4.0
Take pride in adopting Google translation
Now that you've tried Linux, I'll show you how Unix works. Wat ...
Added by anth0ny on Fri, 31 May 2019 23:09:06 +0300
Algorithmic Learning (12)
1.Integer Factorization
Description: The basic theorem of the algorithm is that any integer can be expressed as the product of one or more prime numbers, such a representation is unique, for example:
1000 = 2 * 2 * 2 * 5 * 5 * 5
1001 = 7 * 11 * 13
1002 = 2 * 3 * 167
1003 = 17 * 59
1009 = 1009
Problem statement:
You'll get a few numbers and de ...
Added by gotit on Fri, 31 May 2019 19:59:51 +0300
Java/Android Design Patterns Series (2) -- Observer Patterns
In this article, we will talk about the observer model, which is used frequently in real projects. The most commonly used parts of the observer model are GUI system, subscription-publishing system and so on. Because an important role of this model is decoupling, so that they rely less on each other, or even do not rely on each other. For GUI s ...
Added by mikeduke on Thu, 30 May 2019 22:36:00 +0300
Noip[2011]Codevs[1135] Luogu [1311] Chooses Inn Cleanup Solution, Bisection + Line Segment Tree + Tree Array
Title Link https://www.luogu.org/problem/show?pid=1311#sub
Title Description
There are n distinctive Inns along the Lijiang River. The inns are numbered from 1 to N in order of their location. Each inn is decorated according to a certain color (a total of k, expressed in integer 0 - K - 1), and each inn has a coffee shop, each of which has i ...
Added by wakenbake on Thu, 30 May 2019 21:57:29 +0300
Front-end player js realizes the function of deleting programs from the next track on the playlist
On the front-end player on one song, the next song, playlist addition, deletion, modification, check and so on, today to give you a detailed explanation of the logic implementation.
Add to ListIdea: Use arrays, add program names to arrays, by judging arrays to achieve, on the code
var idList = [] , //Program Array First var an empty array ...
Added by Blissey on Wed, 29 May 2019 14:36:31 +0300
Distributed locks based on Redis and zk?
What are the general ways to implement distributed locks?How do I design distributed locks using redis?Is it okay to use zk to design distributed locks?Which of these two distributed locks is more efficient?
(1) redis distributed lock
Officially known as the RedLock algorithm, it is an officially supported distributed lo ...
Added by gufmn on Wed, 29 May 2019 11:36:02 +0300
Deep into the win Chapter of V8 Engine-Time Core Method
The source code of the last article is very boring. The official documents are as bad as black cotton.
This article talks about the implementation of timestamp on windows operating system. Because of class declaration and method interpretation, the previous one has been pasted, so this time it directly corresponds to the corresponding version o ...
Added by rakennedy75 on Mon, 27 May 2019 20:59:05 +0300
Step by Step Learning WebSocket (2) Programming WebSocket
meet Part One In this article, we use programmable WebSocket to implement the previous example:Server Endpoint, no longer using the Server Endpoint annotation:public class ProgramerServer extends Endpoint {
@Override
public void onOpen(Session session, ...
Added by FlipinMonkeyPie on Mon, 27 May 2019 02:47:34 +0300
Swing Learning - --------- QQ Login Interface Making (I)
Recently, the course is a little tight, so I put aside the study of SSH temporarily, and wait a little less time to start the follow-up of SSH blog. This semester's JAVA course has learned the chapters of graphical user interface, and began to contact awt and swing learning. I want to use the knowledge I learned to design a login interface th ...
Added by v0id on Sat, 25 May 2019 23:31:08 +0300
JavaScript - I found that you are such a JS (Basic Concept - Soul Chapter, let's learn JS together)
introduce
This is the third reading note (introduction to soul) of the Red Treasure Book (3rd edition of JavaScript Advanced Programming). It has the knowledge content of the remaining 3rd chapter. Of course, it also has my own understanding. Red Treasure Book can be said to be difficult to gnaw, it is not easy to read, rather thick, to unders ...
Added by scotte on Sat, 25 May 2019 22:44:11 +0300