The function of Vim editor in Linux is very powerful, many commonly used shortcut keys are very convenient, here will I learn the introduction of vim some of the commonly used shortcut keys to share to everyone, hope to help you.This is the bird in the book I have done a bit, I hope not to deal with copyright issues.1. Shortcut keys available in general mode: cursor movement, copy and paste, search substitution, etc.2, the general mode switch to edit mode shortcut keys:3, the general mode switch
Determined to start learning to self-study Linux, before the bar, now feel oneself began to write a blog, record their own way of learning, but also hope that they are self-taught hands-on practice record it.--Sequence of questions
Login SSH Service
Create a new hello.c file
#inclue 3. Generate the executable file directly to see the effect.Gcc-o Hello hello.cLs./helloToday wrote here feel this picture, can not directly copy, some cumbersome, time precious, bathing!Linux Learni
2.0 Designerhttp://activiti.org/designer/update/on location (plugin update address)Then click the OK buttonTick Next, then next:Continue NextClick Accept, then FinishIn the middle may be some safety tips, click OK;Here we click Yes, restart Eclipse, it will take effect;To verify that we successfully installed the plugin, we clicked file--New, OthersIf we see this, the instructions have been installed successfully. We'll talk about how to use this stuff in the back.Here we have a place to set do
To start the network card for the server#给服务器启动网卡service Network restart# LAN Card profile path/etc/sysconfig/network-scripts/ifcfg-eth0# edit NIC Information vim/etc/sysconfig/ network-scripts/ifcfg-eth0# manually start the NIC Ifup eth0# manually turn off the NIC Ifdown eth0 VIM Basic operation#打开文件 vim After adding a file to the road, if the path is not the file, will directly create the file vim/root/a.txt# opened, enter the edit mode # write file Open file after input a can be ed
capturing the user interface4. Save the configuration file in plain text formatGUI Interface:Gnome: developed by CKDE: developed by C + +XfaceCLI Interface:command prompt,prompt#:Root$: Normal Usercommand:Command format:Command Options ParametersOptions:Short Options:-multiple options can be combined: -a-b =-abLong options:--Parameters: The Action object of the commandTo use the voucher:default account:root password:redhatVirtual terminal (terminal):there are altogether 6 virtual terminals,Ctrl
First, new virtual machine 1, create a new virtual machine-"Default typical-" Select the installation media2. Specify the virtual machine name, installation directory, disk capacity sizeClick "Finish" to create the virtual machine!The virtual machine will then automatically start the installation process.Second, install LINUX1, choose Chinese, English (states)Select the installed disk, click Begin installation, and the system starts to installSet the login user name and password, during the inst
/folder, for example, as seen in:The drools5.5 all plug-in files are installed into eclipse. The next step is to restart Eclipse 3.7 under Win dos. Verify that the Drools5.5 is installed successfully.Sets the eclipse start-time properties. For example, as seen in:Open windowàpreferences in turn when the demo sample is shown for example as seen. Drools5.5 successfully installed.Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbwf2czqx/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/
go forward) 8.od ———— view binaries 8.touch ———— Create a file touch Xx9.whereis/locate/find ———— Find Files Whereis xxlocate xx (not in time , in the database to find, if necessary in a timely manner, to update the database updatedb) Find Directory-Property property value (do not specify directory in the current directory lookup) Properties: permissions, size, time, etc. 9.2 path variable $path1. Variable Assignment $path= ".:/ Usr/local/hadoop/bin:/usr/local/jdk/bin:/usr/local/sbin:/usr/local
types, mainly including classes, interfaces, arrays.③ common constant, ' \ n ' newline ' \ t ' tab ' \ \ ' means backslash \ ' \ ' means single quote ' \ ' means double quotation mark④ Conversion of data types Automatic type conversion in Java, low-level type automatically converted to high-level typeFor example: 5+6+7l+ ' a '--result type is long type 5+5.6+7l+ ' a '--result is double typeForced type conversion in Java, high-to-lowFor example: int num=786; byte by = (byte) num; Forcing ty
maximum weight of the last itemSave data that has already been recordedreturn dp[i][j]=res;}int main () {while (scanf ("%d%d", n,w) ==2) {Memset (Dp,-1,sizeof (DP));for (int i=0;iscanf ("%d%d", w[i],v[i]);printf ("%d\n", rec (0,w));}return 0;}/************************************************ 2nd notation, recursive expression ************************************************** **/#include #include int n,w;int v[100],w[100];DP for assistance Arrayint dp[100][100];int max (int n,int m) {Return n>m
method, returns a value type , and the function name and argument list are identical. 3. Return value type when learning polymorphism, the subclass method overrides the parent class method, and the return value type is less than or equal to the parent class method (This is a pit note) For example, the following codePublic class Fu { Public Fu Show () { System. out. println ("Fu Show"); return new Fu (); }}Public class Zi extends fu{ @Override Public Zi Show () { System. out. pr
pointer to a parameter passed to the thread, which can then be converted into a pointer to the corresponding class by passing in a pointer to the object.
The fifth parameter, Initflag, represents the thread initialization state, 0 means running immediately; Create_suspend is a suspension.
The sixth parameter, THRDADDR, is used to record the address of a thread ID.
4. Return value? The thread creation successfully returned a new thread handle and failed to return NULL.5. Sample Code
configuration and make Maven configuration easier; 4. Depending on MAVEN configuration, Spring boot automatically configures SPRING,SPRINGMVC and so on; 5. Provide health check and other functions of the program; 6. The basic can not use the XML configuration completely, using annotations development;4. Four core of Spring boot1. Automatic configuration: The Spring boot provides auto-related configuration for many spring applications and commonly used functions; 2. Since the start: Tell the Spr
.
Heap: The heap is created by the runtime and contains data that is assigned to the object at run time.
Stacks: Stacks store local variables and partial run-time results, and it also facilitates method invocation and return, where each thread creates a private JVM stack when its thread is created.
Program counter: This memory area contains the address of the command that the JVM is currently executing.
Local method Stack: This area is the area of memory reserved for all local me
The1 Public classEqualsmethod2 {3 Public Static voidMain (string[] args)4 {5Integer N1 =NewInteger (47);6Integer N2 =NewInteger (47);7System.out.print (N1 = =n2);8System.out.print (",");9SYSTEM.OUT.PRINTLN (N1! =n2);Ten } One}Output Result:False,trueNote: Use integer a = 1, or integer a = integer.valueof (1), or a value between 128 and 127 as the base type. Use integer a = new integer (1), regardless of the value, as the object. No.21 class parent{2public float afun (f
arg0, httpservletresponse arg1)throwsException {return NewModelandview ("Welcome"); }}View CodeMode two corresponding code: Package Zttc.itat.controller; Import Org.springframework.stereotype.Controller; Import org.springframework.web.bind.annotation.RequestMapping; @Controller Public class hellocontroller{ @RequestMapping ("/hello") public String Hello () { return "Hello"; }}View CodeThe above two methods will implement the mapping of the page, corresponding to the new one
The title is described in a two-dimensional array in which each row is ordered in ascending order from left to right, and each column is sorted in ascending order from top to bottom. Complete a function, enter a two-dimensional array and an integer to determine if the array contains the integer.public class Solution {public boolean Find (int target, int []] array) { if (Array.Length = = 0) { return False ; } for (int i = 0; i
The history of a C languageC language is a general-purpose computer programming language, widely used. The goal of the C language is to provide a programming language that compiles, processes low-level memory, produces a small amount of machine code, and can run without any running environment support in an easy way.Although the C language provides a lot of low-level processing features, but still maintain a good cross-platform features, a standard specification written in the C language program
", forControlEvents:. Touchupinside)1.3.6 use Private to modify the function private, click events can not be decorated, because when the System Monitor the Click event, the controller will send a click button message.Private func Addchildviewcontroller (sbname:string, _ title:string, _ Imagename:string)1.4 Summary* Swift syntax is more concise, string concatenation can be directly with the "+" number, but the use of "_" to ignore the parameters do not need to consider, type check more stringen
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.