directory (that is, the directory where the login is located ). In addition ,"~ "It also indicates the home directory," .. "indicates the current directory, and" .. "indicates the previous directory at the current directory location. Example: Skip to/usr/bin /:Cd/usr/bin Jump to your home directory:Cd ~ Jump to the top two layers of the current directory:Cd ../.. Cd-return to the directory before entering the current directory
Name: cp Permission: all users Usage: Cp [options] sou
// DWR script-driven JS, which must be written // This is a toolkit and can be left empty
In fact, we call AAA. bbb ([parameter], callBack); that is, we do the following:(The red text below is packaged and not on the front-end, so even if you haven't created html or jsp to call it, you can also use localhost: 8080/project name/dwr to see your exposed java class for testing)Function AAA (){};AAA. bbb = fun
Preface:
InterfaceIt is a very important thing in object-oriented systems.I try to use indicators to explain the operation of interfaces.
Interface:
Below is a piece of program code for the interfaceThe program code is simple, that is, classa implements isamplex.
public interface ISampleX{ void XXX(); void YYY();}public class ClassA : ISampleX{ public void XXX() { // ... } public void YYY() { // ... } public void ZZZ() { // ... }}
When we w
architecture, as long as it is renamed, making these concepts more acceptable.
Structure of the two-way binding link of aveon v3
// Viewmodel framework view // attribute accessors // composite accessors → the binder zookeeper Dom accessors zookeeper data bindings // set accessors/ /command restart
viewmodel is an object composed of accessors and commands. The accessor is the accessor, which is derived from Ruby's attr_accessor. It is a combination of attr_writer and attr_reader to read an
displaying common domains,-A1 or-A2 displays records of common domains not found in the first or second files, respectively.
-I case insensitive when comparing domain content
-O: set the format of the result display.
-T to change the domain Separator
-V1 or-V2 display records of common domains that are not found in the first or second files, but do not display the results of common domain connections.
-1 and-2 respectively set file 1 and file 2 for the Connected Domain
Example:
1.
[[Email prote
Use of innodb_memcache
Innodb_memcache is compatible with the memcache protocol and can be used by mysql to provide memcache with the replication function!
GET[root@www share]# echo 'get aa'|nc localhost 11222VALUE aa 0 12HELLO, HELLOEND
Get special usage 2.1 get the definition name of the key through @ [root @ www share] # echo 'get @ aaa' | nc localhost 11222 VALUE @ aaa 0 23test_memcache/demo_testEND2.2 @ @ name. key_name: Obtain the key [root @ www share] # echo 'get @ aaa. AA' | nc local
,Entry_date date,Job varchar (40 ),Salary decimal (8, 2 ),Resume text);Show tables; view all tables in the databaseShow create table employee; view table creation detailsDesc employee; view the table structureAdd an image column to the employee table above.Alter table employee add image blob;Modify the job column to 60 in length.Alter table employee modify job varchar (60 );Delete sex columnsAlter table employee drop sex;Change the table name to user.Rename table employee to user;Modify the tabl
;FindFind (...)S.find (sub[, start[, end]), intFinds the position of the first occurrence of the specified character in the string (from left to right), returns an integer (index subscript), sub is the specified character, [, Start[, is an optional parameter, the value is the index subscript, specifies the lookup area, or 1 if there is no specified character in the string.RFind:RFind (...)S.rfind (sub[, start[, end]), intFinds the position of the first occurrence of the specified character in th
BBB lesson four innings: simple LED control experimentLearn the BBB board ultimate goal is to do the same with the imagined microcontroller control. But control is not the same idea at all (Linux in essence, the control of hardware devices, read and write under the device related to virtual files), the study of the days of the head is big or no progress. Guest articles. There is no unified statement, it is
= 1; Alert (this + "AAA" + THIS.A); function bbb () {alert (this + "BBB" + THIS.A); } BBB (); }//here can pop up 1. Because THIS.A = 1, the This = = window. So a hangs on the window. AAA ();//Note: The two this point is the window. Example (2)//Get Object constructor name function type (obj) {return obj obj.constructor obj.constructor.toSt
functions, if the + recognition as a string splicing, a step can be completed, direct stitching can be; but if it is recognized as a number, it takes two steps to complete the calculation, that is: the type is converted first, Then Add. For computers, the path to fewer steps must be chosen, so that addition does not convert implicitly. In JS, the-operator only the function of the number subtraction, at this time, JS has to be implicitly converted. Four, variable scopeVariable scope refers to t
Label:When the unique column inserts a record with duplicate values on a unique key, the default insert will report a 1062 error, and MySQL has three different processing methods, as described below.Create a unique constraint on the ID column by creating 2 test tables.Mysql> CREATE TABLE test1 (ID int,name varchar (5), type int,primary key (ID));Query OK, 0 rows affected (0.01 sec)Mysql> CREATE TABLE test2 (ID int,name varchar (5), type int,primary key (ID));Query OK, 0 rows affected (0.01 sec)M
BBB Board lesson Four: Simple LED control experiment
Learn BBB board the ultimate goal is to imagine the microcontroller as the control, but the control of the idea is completely different (Linux control hardware device is the virtual file of the relevant equipment, read and write), the study of a few days the head is big or no progress, many blog posts on the web, there is no unified statement, It is estim
Background code:if (this. request["type"]!=null){Try{}catch{}}Request.setattribute ("BBB", BBB);On the target JSP page, write The value is then obtained directly from the script by manipulating the DOM, var Bbb=document.getelementbyid ("info"). Value;However, the obtained value is already a string, because either the If it is an array, consider using the C tag, l
Create two test tables and create the unique constraint on the id column.Mysql> create table test1 (id int, name varchar (5), type int, primary key (id ));Query OK, 0 rows affected (0.01 sec)Mysql> create table test2 (id int, name varchar (5), type int, primary key (id ));Query OK, 0 rows affected (0.01 sec)Mysql> select * from test1;+ ----- + ------ +| Id | name | type |+ ----- + ------ +| 101 | aaa | 1 || 102 | bbb | 2 || 103 | ccc | 3 |+ ----- + --
MYSQL insert several methods for processing duplicate key values, mysql several methods
When a unique column inserts records containing duplicate values on a UNIQUE key, the default insert error 1062 is returned. MYSQL has three different processing methods, which are described below.Create two test tables and create the unique constraint on the id column.Mysql> create table test1 (id int, name varchar (5), type int, primary key (id ));Query OK, 0 rows affected (0.01 sec)Mysql> create table te
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.