Code note (7): Code note
1.
Quickly change weblogic Data source: Close weblogic, under domain, find config \ jdbc \ xxx-jdbc.xml to modify
2.
Flashing: (implemented using setInterval)
Var msecs = 500; // intervalID = setInterval ("shine ()", msecs); function shine () {} clearInterval (intervalID); // stop flashing
3.
Dblink usage:
Create a public database link
Create public database link "database link alias" connect to "login user" identified by "Login Password"
Dblink is a database object that allows you to access remote tables and execute remote programs. dblink is a one-way connection. When db_link is created, oracle records its metadata in the data dictionary.
4.
Convert JavaScript objects to strings:
Var list = new String(listReg.exe c (info); // replace () cannot be called directly without a new String ()
5.
Regular Expression:
Var reg = /(? = Fuck :). +? (? =) // Spaces do not need to be escaped. Just use spaces to match the content between "fuck:" and "".
6.
File. separator; get the slash (File directory) (applicable to java)
7.
Trim () of jquery ():
$. Trim ($ ("# column"). val ());