I no longer mantain this list. There are lots of other very comprehensive JavaScript link lists out there. Please see those, instead (Google "awesome JavaScript" for a start).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var toSearchForm = searchTerm.Split(' '); | |
var searcher = ExamineManager.Instance.SearchProviderCollection["SiteQuickSearchSearcher"]; | |
var criteria = searcher.CreateSearchCriteria(IndexTypes.Content); | |
var fieldsToSearch = new[] | |
{ | |
"nodeName", "pageTitle", "menuText", "pageBody", "metaKeywords", | |
"metaDescription" | |
}; |
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications
like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html