Wednesday, August 10, 2011

Google search options: [allintitle:]

http://www.google.com/intl/gn/help/operators.html

allintitle:

If you start a query with [allintitle:], Google will restrict the results to those with all of the query words in the title. For instance, [allintitle: google search] will return only documents that have both "google" and "search" in the title.

This functionality is also available through Advanced Search page, under Advanced Web Search > Occurrences.

intitle:

If you include [intitle:] in your query, Google will restrict the results to documents containing that word in the title. For instance, [intitle:google search] will return documents that mention the word "google" in their title, and mention the word "search" anywhere in the document (title or no). Note there can be no space between the "intitle:" and the following word.

Putting [intitle:] in front of every word in your query is equivalent to putting [allintitle:] at the front of your query: [intitle:google intitle:search] is the same as [allintitle: google search].

Tuesday, August 31, 2010

Razor Syntax in ASP.NET MVC

ScottGu has nice article "Introducing “Razor” – a new view engine for ASP.NET"
It all looks cool in VS2010 with syntax highlighting but I wonder how readable this style is in text viewer...

Should try it in next ASP.NET project.

Tuesday, August 24, 2010

View.TrackActivityInSolution

Nice short-cut: assign Alt-T to View.TrackActivityInSolution command in VS2010 to Turn-On/Off that option. Now you can browse files in solution and ask VS to show your position in solution tree only when you need it!

Monday, August 23, 2010

"M" language, Modeling in Text

This five-part video series by Miguel Llopis, a member of the “M” language team, leads you through the step-by-step process of modeling a basic domain-specific language.

Level: 300 (core competency)

My Notes: easy video, fast intro to the M-language.

Samples show how to convert

Pat is 24 years old.
Chris is 32 years old.
Granny is 98 years old.
Billy is 3 years old.

To this:

Main[
[
{
Name => "Pat",
Age => "24"
},
{
Name => "Chris",
Age => "32"
},
{
Name => "Granny",
Age => "98"
},
{
Name => "Billy",
Age => "3"
}
]
]

Using this grammar:

module NovCTP {
language Contacts {
syntax Main = p:Person*
=> People { valuesof(p) };
syntax Person = n:Name "is" a:Age "years" "old."
=> { Name => n, Age => a};
token Name = ('a'..'z' | 'A'..'Z')+;
token Age = '0'..'9'+;
interleave Whitespace = " " | "\r" | "\n";
}
}



Modeling Services Resources and Community

http://msdn.microsoft.com/en-us/data/ee720189.aspx

Start page to SQL services new staff. It includes "M" language, "Quadrant" app and something else.

"M" looks interesting. Quadrant implementation is great. I'm loosely watching this projects for last couple years and yes, they have some progress but still no real life samples.

DSL is nice feature and M is very easy implementation of DSL. But all samples which are available so far could be easily coded in XML...

Let's wait more.

Monday, September 1, 2008

ASP.NET AJAX Control Toolkit sample website

http://www.asp.net/ajax/ajaxcontroltoolkit/samples/

Controls which could be useful for my current project (EP60):
AutoComplete
Calendar
DropDown
MakedEdit
ModalPopup
PopupControl
TextBoxWatermark
ToggleButton

Monday, August 18, 2008

Setup and Deployment Project FAQ

Setup and Deployment Project FAQ found on MSDN Forums.

There are some small hits in this FAQ:
  • How do I create an uninstall link on my shortcut
  • How do I deploy a Hybrid VB6 and VB.NET application?

and some more but not a lot..