In a previous company internal management system (Inneroa), for the construction of the directory tree I used the dtree, the realization of the Unlimited directory display and right-click menu function (the right menu includes: New, modify, share,
There are two ways to embed resources (bitmaps, icons, or cursors, etc.) in dotnet, one is to add the resource file directly to the project as an embedded resource and get the stream of the resource through the assembly GetManifestResourceStream
A level Two directory is often encountered in development projects. For example, the article module, product modules, many should be based on the two-level classification form. and the ordinary solution to sort the scheme, whether it is a level
Copy Code code as follows:
@echo Off & setlocal enabledelayedexpansion
:: Calculating the length of a string
::
::
: Began
Set mystr=
set/p mystr= Enter a string to calculate the length (Direct return exit):
If not defined
Made a batch of digital rain, old topic
Mainly for beginners to see
Mainly used to understand the knowledge of batch processing
1. Use of random variables
2. The superposition of variables
The following is the source code:
Copy Code code as
Open Notepad Input:
Copy Code code as follows:
On ERROR RESUME NEXT
Set args=wscript.arguments
Arg=args (0)
Set W=createobject ("Word.Application")
Set Fso=createobject ("Scripting.FileSystemObject")
Set Docfile=fso.getfile
rem I a bird,not a big bird,it is a dull bird.
rem I didn ' t sing three years ago,today i chirp it.
' On Error Resume Next
On Error Goto 0
Set fs = CreateObject ("Scripting.FileSystemObject")
Set letter = fs. CreateTextFile (WScript.
When it comes to using the VBS download file is not think of XMLHTTP, hehe, the following is a more classic code:
Ilocal=lcase (WScript.Arguments (1))
Iremote=lcase (wscript.arguments (0))
Set xpost=createobject ("Microsoft.XMLHTTP")
Xpost.open "Get"
after the power of 4 is written in binary form, it is easy to find a feature:The binary has only one 1 (1 in odd position), and 1 followed by an even number of 0, so the question can be converted to determine whether 1 followed by an even number of 0
Copy Code code as follows:
if exists (SELECT * from dbo.sysobjects WHERE id = object_id (N ' [dbo].[ F_workday] and Xtype in (n ' FN ', n ' IF ', n ' TF '))
Drop function [dbo]. [F_workday]
Go
--Calculates the number of working days that
recently on the Hi3515 Debug QT and DVR program, found that they use Message Queuing communication between, leisure, summed up the message queue, hehe, think it easy to understand, at the same time, in the application also found a strong message
1, gzip download installation of a key to open gzip
Standalone host/vps One-click to open the Gzip method for IIS Http://www.jb51.net/article/30151.htm
2, after the successful installation, basically can be, under normal circumstances is the GZIP
First, the agent mode
The agent mode of English is called proxy or surrogate, Chinese can be translated as "agent", the so-called agent, is a person or an institution on behalf of another person or another body to take action. In some cases, a
The use of navigation bar is very wide, each site will make its own characteristics of the navigation bar. Recently specifically to understand the various types of navigation bar, such as with a highlighted navigation bar, the Chinese and English
This article describes the order Allow,deny usage in Apache. Share to everyone for your reference, specific as follows:
Allow and deny can be used in Apache conf files or. htaccess files (with directory, Location, files, etc.) to control access
There are two methods, mask () and unmask (), which add a mask layer and a hint message implementation to the specified element to increase the customer experience. As a result of the recent project, found that sometimes in order to use these one or
Application structure
In fact, Vuex has no limitations on how to organize your code structure, instead it enforces a set of advanced principles:
1, the application level of the state is centrally placed in the store.
2, the only way to change the
CDATA is the keyword used in an XML document to tell the browser that this part of the content does not need to parse, is for other programs, such as JavaScript, and so on.
Pcdata is used in XML constraint documents, such as the DTD type
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service