Tutorial by Topics: for

Profiling code is a way to avoid the dreaded practice of "premature optimization", by focusing the developer on those parts of the code that actually justify optimization efforts. MATLAB documentation article titled "Measure Performance of Your Program".
In order to group input elements and submit data, HTML uses a form element to encapsulate input and submission elements. These forms handle sending the data in the specified method to a page handled by a server or handler. This topic explains and demonstrates the usage of HTML forms in collecting an...
structure: /* code */ endstructure; When mixing the alternative structure for switch with HTML, it is important to not have any whitespace between the initial switch($condition): and first case $value:. Doing this is attempting to echo something (whitespace) before a case. All control stru...
Meta tags in HTML documents provide useful information about the document including a description, keywords, author, dates of modifications and around 90 other fields. This topic covers the usage and purpose of these tags. <meta name="metadata name" content="value"> ...
JavaScript, like any language, requires us to be judicious in the use of certain language features. Overuse of some features can decrease performance, while some techniques can be used to increase performance. Remember that premature optimization is the root of all evil. Write clear, correct c...
[DllImport("Example.dll")] static extern void SetText(string inString); [DllImport("Example.dll")] static extern void GetText(StringBuilder outString); [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] string text; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 128)] ...
Perfect forwarding requires forwarding references in order to preserve the ref-qualifiers of the arguments. Such references appear only in a deduced context. That is: template<class T> void f(T&& x) // x is a forwarding reference, because T is deduced from a call to f() { g(s...
Iterate over column vector A common source of bugs is trying to loop over the elements of a column vector. A column vector is treated like a matrix with one column. (There is actually no distinction in Matlab.) The for loop runs once with the loop variable set to the column. % Prints once: [3,...
The anti-forgery token can be used to help protect your application against cross-site request forgery. To use this feature, call the AntiForgeryToken method from a form and add the ValidateAntiForgeryTokenAttribute attribute to the action method that you want to protect. Generates a hidden form fi...
shape-outside: none | [ <basic-shape> || <shape-box> ] | <image> shape-margin: <length> | <percentage> shape-image-threshold: <number> ParameterDetailsnoneA value of none means that the float area (the area that is used for wrapping content a...

Page 2 of 20