The principle of this article: to get straight to the point, concise, hope to give you the help of learning work.
Scene One: Undo changes to the workspace (git add not executed)
directive:git Checkout "directory or filename"
Instance:
1, modified the test.txt document, git status will appear the following prompts:
2, Git checkout test.txt, no hint
3. Git status, showing clean workspaces
Scenario Two: Undo registers Modifications (git add was executed, but git commit was not executed)
directive:g
Login commandC:\Program files\mysql\mysql server5.7\bin>mysql.exe-h 120.77.155.115-p 3316-uRoot–pView all current UsersSELECT DISTINCT concat (' User: ', user, ' @ ', ' host, ' ': ') as query from Mysql.user;To view a user's permissionsSELECT * from Mysql.user where user= ' root ' \gModifying a configuration file /etc/my.cnf slow querySlow_query_log = 1Slow_query_log_file =/mysql_slow_query.logCommand settingsSet global slow_query_log=1;View modification StatusShow global status like '%slow% ';T
, and DELETE statements.When the database system executes these events, the trigger is activated to perform the appropriate action.Example: Inserting data in a table, triggering B table inserting data 2. Creating and Using triggers Create a trigger that has only one execution statementCREATE TRIGGER Trig_book after INSERTOn T_book for each ROW CREATE TRIGGER Trig_book after INSERTOn T_book for each ROWUPDATE t_booktype SET booknum=booknum+1 WHERE new.booktypeid=t_booktype.id;New is a transition
name new value25. How do I modify the buffer?Add buffer: Create Bufferpool size [pagesize 4096] {[NOT] EXTENDED STORAGE} Modify buffer: Alter Bufferpool size {[NOT] EXTENDED STORAGE }Delete buffer: Drop BufferpoolIf the buffer size is set to 1, the number of pages in the buffer pool is determined by the database configuration parameter buffpage.Note: The database configuration parameter buffpage only works for buffer pools with buffer size set to-1.26. When multiple fields are not used by using
job is ' Yuangong ' then sal+800When ' Jingli ' and then sal+1000else sal+500From EMP2) Select Ename,job,sal,Decode (Job, ' Yuangong ', sal+800,' Jingli ', sal+1000,SAL+500)From EMP5. Sum: SUM (column name) to find the number of records: COUNT (*/column name) averaging: AVG (column name)6.having: You can use multi-line functions and where notSelect Deptno,avg (SAL) from the EMP group by DEPTNO have deptno=10IV. Multi-table joint search1. Outer connection sql> Select D.deptno,d.dname,count (e.em
from emp order by SAL ASC; This is a small-to-large arrangement sal
Select Sal, HireDate from emp ORDER by Sal ASC, HireDate DESC; This is by Sal Row, if the same and then press HireDate from the big to the small row
Select Ename,job,sal from emp where Sal > N order by sal ASC; Now add the Where condition
Here are the exercises for the function:AVG (average)Count (Count)Max (max)MIN (minimum value)SUM (summation)14. Now ask all Sal's andSelect sum (SAL) from EMP;15. Ask how many peopleSe
prompt for each file to be removed -i more than 3 files to prompt $ RM -I F1 F2 F3 f4 rm:remove regular empty file ' F1 '?
rm:remove regular empty file ' F2 '? y Span style= "font-family:"microsoft yahei"" >rm:remove regular empty file ' F3 '? rm:remove regular empty file ' F4 '? y $ rm-i F1 F2 f3 f4 rm:remove 4 arguments? Y 3 -R or-R (recursively) is used to delete folders Unlike RmDir, Rm-r can delete this folder if there are files in the folder. For example, there are
Workbench)sudo apt-get install Mysql-workbenchCheck if MySQL database service is set to boot itself?Execute command: chkconfig--list | grep mysqldChkconfig mysqld on sets the MySQL database service to boot automatically.Mysqladmin-u root password ' root 'The 8.Linux system offers a wide variety of commands. You can implement many functions by entering these commands in the shell.I am here to introduce some commands to help you understand your Raspberry Pi. First use the LSCPU command to query t
current directory and execute it sequentially.
So by implementingcdcommand, you can resolvepwdCommand
Passman -k chage | grep dir= = Available ChDir implementation = =
Run the view in the root directory"."
".."Node number of the I nodes. = = can be used as the terminating condition of the loop = =.
ls -i -a .To view the I node value.
To summarize, it is:1. Find the I-node in this directory2. Go to the parent directory and find the file name of the I-node3. Cy
Fcgidbusyscaninterval directive
Description: Scan the interval for a busy timeout process
Syntax: Fcgidbusyscaninterval seconds
Default: Fcgidbusyscaninterval 120
Environment: Server Configuration
Status: External
The corresponding old instruction: Busyscaninterval
The module will perform a fcgidbusytimeout check in this interval.
Fcgidbusytimeout directiveDescription: Kill the FASTCGI application after processing request exceeds Fcgidb
The 8086CPU transfer instruction is divided into the following categories:1. Unconditional transfer instructions (e.g., JMP)2. Conditional Transfer Directives3. Cyclic instructions (e.g. loop)4. Process5. InterruptsOne, operator offsetHandled by the compiler, is a pseudo-instruction, the function is to get the offset address of the labelIn question 9.1, the data to be copied: the length of the mov ax,bx
Csapp, the third edition of "in-depth understanding of computer systems: A programmer's Perspective", is a good book, but it needs to be quite basic in reading. Moreover, some of the expressions are not straightforward.For example, the No. 463 page mentions why the assembler sets the initial value of the reference in the call instruction to-4 (for 32-bit systems). Explained vague later. In conjunction with the expansion of the Code calculation formula
Instruction Cycle
The instruction cycle is the sum of the time that the CPU takes out an instruction from memory and executes the instruction, typically consisting of several machine cycles, from the fetch instruction to the analysis command to the time required to complete
Instruction Set changes1. Address width and operand width prefixIn 64-Bit mode, the default address width is 64-bit, and the default operand width is 32-bit. The prefix of address width and operand width allows 32-bit and 64-bit data and addresses to be mixed in the instruction sequence. The following table (1-7) shows the width of the directive prefix address that is required in IA-32e mode. Note: In 64-Bi
SSE technology OverviewIntel's single-instruction, multi-data stream extension (SSE, Streaming SIMD Extensions) technology can effectively enhance the capabilities of CPU floating point operations. Visual Studio. NET 2003 provides support for SSE instruction set programming, allowing you to directly use SSE commands without writing assembly code in C ++ code. The topic of SSE Technology in MSDN [1] may conf
Instruction descriptionName the unique name of the packagePreferglobal indicates that the module is more likely to be installed in the global scopeVersion of the moduleAuthor of the author projectText description of the description moduleOther contributors to the contributors moduleBin binary files installed with the projectScripts the parameter "scripts" of the console application that was executed when node was startedMain entry point of main applic
JSP directives are used to set properties related to the entire JSP page, such as the encoding of the Web page and the scripting language.The syntax format is as follows:Directives can have many properties, which exist as key-value pairs and are separated by commas.Three types of directive tags in JSPs:
instruction
Description
Define Web page dependency properties such as scripting language, error page, cachi
This is the instruction on what to install Vixdiag Ford IDS V96 in Windows 7 System.Requirement:Vxdiag VCX NANO for FordParts:Install CalibrationInstall Ids-91.01-fullInstall Ford-ids-96.01-fullConfirm IDS V96 functionInstall Deep FreezeCheck If IDS V96.01 is installed correctly Detailed steps: Install Calibration Insert V81 DVD. Open "Computer->dvd RW Drive (E:) Ford IDS V81->vcmdvd ". Select "Calibrations". Click "Next". Click "Next". Click
installation Caffe Instruction BookEnvironment: Linux 64-bitVideo card for Intel + AMD, non-NVIDIA graphicsNo GPUI. Installation Preparation work1. log in as AdministratorIn the top left corner, click on the icon to search for terminal (that is, terminal) and log in as Super Administrator:Command: sudo suInput password can be2. Install BoostCommand: sudo apt-get install Libboost-all-dev3. Installing BLAS(Intel MKL)(1) Download Intel MKL Library and in
1, expander.html:{{text}}2, Expander.js:var mymodule = angular.module ("App", []);Mymodule.directive (' Expander ', function () {return {Restrict: ' AE ',Replace:true,Transclude:true,scope:{Title: ' =expandertitle '//The Expander-title property is bound here, and tested to be turned into such a small hump= Pass the value of the attribute Expander-title value ' title ' in the instruction tag ' click to expand ' ($scope. title = ' Click to expand ';)},T
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.