JS Regular Expression
// Check whether it is composed of digits[Code] function isdigit (s) {var patrn =/^ [0-9] {1, 20} $/; If (! Patrn.exe C (s) return false return true} [/Code]
// Check Logon Name: You can enter only 5-20 strings starting with a
Dynamically generate a code program to collect NO1:
Using System;
Using System. Collections. Generic;
Using System. Reflection;
Using System. Text;
Using System. CodeDom;
Using System. CodeDom. Compiler;
Namespace csrepl {Class Program {
Static
Transferred from: IEControl,
The TreeView is widely used. In one of my projects, a module named UNSPSC frequently uses this control. This control is generally quite useful (with fewer than 200 nodes), but when the number of nodes is large, the
// Check whether it is composed of digits[Code] function isDigit (s) {var patrn =/^ [0-9] {1, 20} $/; if(! Patrn.exe c (s) return false return true} [/code]
// Check Logon Name: You can enter only 5-20 strings starting with a letter, which can
Author: Anders James
The two words productization and customization are a pair of twins. A software without powerful customization capabilities cannot be called productization software. productization means that software company development should
Python standard library: built-in function exec (object [, globals [, locals]), pythonglobals
This function is used to execute a statement or function. The parameter object is the name of a string statement or compiled statement. The globals
Add and use Realm in Android
Introduction
If you are more concerned about the latest developments in android development, you will certainly have heardRealm, Realm is a lightweight database, which can be replacedSQLiteAndORMFramework.
Compared with
Java framework SSH combined with Easyui controls to implement sample parsing of provincial/municipal/county-level linkage, ssheasyui
Easyui calls the database to achieve the effect of three levels of association between province, city, and district.
Project has special requirements: There is an applet on the page, which is responsible for retrieving data from some clients to the page. The data format is an XML string.
After reading these XML strings in JS on the page, they must be displayed
Stmp email sendingGenerate random numberAddition and subtraction of Serv-U6.0.0.2AlgorithmImage ScalingBase64 encoding and decoding
// Response. Write (Sendmail ("theme", "admin@admin.com", "test@test.com", "body! "); // Call Public
Document directory
Last words
Recently, I used Windows Live writer to write study notes. When I used the code plug-in, I used the syntaxhighlight code plug-in. I found out that the vspaste plug-in is good. Copy the code in vs. Click this
You need to read the TXT file uploaded by the user in the project a few days ago, but you are not sure about the character set of the TXT file.
UTF-16, UTF-8 (with BOM), Unicode can be different based on the first three bytes
Public String
C # dynamic code compilation, dynamic execution, and dynamic debugging
Author: eaglet
A few days ago, I saw an article about. NET Dynamic Compiling. Net, which was very enlightening. On this basis, I made some encapsulation to make the call simpler
Preface
I have also written two articles on permission and Asp.net MVC identity verification, exception handling, and permission verification (interceptor). recently, in a new project, permission design has been re-designed. Some people have always
Use sqlquery query in hibernate:
Basehibernatedao Dao = new basehibernatedao ();// Query statementString strsql = "select * From hrrole H where H. Code like? And H. ID <>? ";// Set the query objectSqlquery query = Dao. getsession (). createsqlquery (
JQuery UI Widgets is a front-end JS component that I like very much. In daily development, it is developed based on the original jquery ui widget js Code and requires a lot of repeated code, at the same time, some existing components can not meet
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.