0801linux Basic Content Small note

Cat > F1 Mail-s Test user1 > Nice to meet u> Let ' s Go> Endll/etc/| Less paging displayls/tmp | Tee/tmp/a.logTee Command Save information,-a appendTR [[: Lower:]] [[: Upper:]] Xecho ASDFG |& tr ' A-Z ' A-Z ' equivalent notation:Xecho ASDFG 2>&1 |

STL Container and common algorithm

1. VectorVectoriv (2,9);Iv.size ();Iv.push_back (1);Iv.pop_back ();Vector::iteratorivite=find (Iv.begin (), Iv.end (), 1); Stlfind () functionIv.erase (Ivite);Iv.insert (ivite,3,7);Iv.clear ();2. Listlistilist;Ilist.size ();Ilist.push_back (1);List::

30th: Substituting an enum for an int constant

Before java1.5, a common pattern that represents an enumeration type is to declare a set of named int constants, one constant for each type member: Public Static Final intApple_fuji = 0; Public Static Final intApple_pippin = 1; Public Static Final

Minimum Window Substring

The problem is still very difficult. The length of the element is recorded by the array, the target array is compared with it, the corresponding substring is reduced, and the corresponding start and length are recorded.stringMinwindow

Anti-brute force hack sshd script

Note: This script does not periodically clean up the IP addresses that were previously added to/etc/hosts.denyThis script runs on the CENTOS6 system and needs to modify the script declaration (#!/usr/bin/bash), as CENTOS7 requires;#!/bin/bash#while

UVA1588 UVALive3712 POJ3158 Kickdown

Regionals 2006 >> Europe-northeasternProblem Link: UVA1588 UVALive3712 POJ3158 kickdown. Basic Training level problem, programming in C language. Problem brief: (slightly).The question to note is which of the two strings is possible on the left.In

31st: Replace ordinal with instance field

Enumerates the natural domains of a single int value association, based on the enumeration constants in the type of the numeric position, starting from 0 count. All enumerations have a ordinal method that returns the numeric position of each

hihocoder#1142 (three points for extremum)

Time limit: 10000ms single point time limit: 1000ms memory limit: 256MB descriptionThis time we will be a little simpler, the topic here:In a Cartesian coordinate system, there is a parabolic y=ax^2+bx+c and a point P (x, y), which is the shortest

Online tools (Handling)

#前端工具箱在线使用Http://www.banghui.org/tools#国外一综合查询站点, same service, routing, IP tracking, WHOIS, etc., a little wallHttp://www.yougetsignal.com/websecurify # Browse Essentials This needless to say, support extension, everyone

Kettle's resource pool

In kettle, the repository of the storage of resources such as transformations or jobs is called a resource library: it is divided into a file resource library and a database repository.A transformation or job can belong to a repository or a separate

Farthest Nodes in a tree (to find the diameter of trees)

Title link, Password: HPUDescriptionGiven a tree (a connected graph with no cycles), you have to find the farthest nodes in the tree. The edges of the tree is weighted and undirected. That's means you had to find nodes in the whose distance was

Summary of exceptions

1. When dealing with anomalies, use logic to avoid the simultaneous auxiliary trt-catch processing2. After the multiple catch block, you can add a catch (Exception) to handle the exceptions that may be missed3. For indeterminate code, you can also

Boys open Their Eyes

Boys open Their EyesBeauty has now become a national fashion, not only girls want to have a pair of charming big eyes, many boys also want to let the eyes become bigger and more God. Open Eye as a common now a small eye to become large plastic

Dependency Inversion principle

The so-called dependency inversion principle (dependence inversion Principle) is to rely on abstraction and not rely on specifics.The simple thing is to program the abstraction, not to program the implementation, thus reducing the coupling between

Ape Regiment: The following points if you do not, it is recommended not to consider the start

The ape group Xie Xiao Crazy Entrepreneurial sentiment:Perhaps because of the ape group, slowly let oneself more and more mature, mature not only in the work, more is in the individual, if say you want to start a business, may as well look this

Users and Groups

1. Classification of user groupsAdministrator Root: A user with all rights to the system, with a UID of 0.Normal User   :  that is, the average user , its access to the system is limited , its UID to be 500-60000 between .System users: Protect the

Docker 1.12 Swarm cluster

Create a SwarmDocker swarm Init--advertise-addr host-ip:port[email protected] ~]$ docker swarm init--advertise-addr 192.168.1.50:2377Swarm initialized:current Node (ea10vrd84vnb3u9wx5phhv00i) is now a manager.To add a worker to this swarm, run the

Kali 2016 viewing device configuration

Detecting new hardware with hardware detection program kudzu: Service kudzu start (or restart)View CPU Information: Cat/proc/cpuinfoView card information: CAT/PROC/PCIView PCI information: Lspci (more intuitive than CAT/PROC/PCI)View memory

Kali 2016 program installation

Installing VMware ToolsNew versions of VMware Tools tools need to be updated online, and the software itself is not working properlyApt-get Install Open-vm-tools-desktop FuseReboot2. Install Chinese Input MethodApt-get Install FCITX

User Group Management

1. User Management User Files File Content /etc/passwd User name, password, uid,gid, comment information, home directory, login Shell /etc/shadow User name, encryption password, password

Total Pages: 64722 1 .... 46308 46309 46310 46311 46312 .... 64722 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.