Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
@echo off | |
setlocal EnableDelayedExpansion | |
set RESFILE="searchResult.txt" | |
set /p NEEDLE="Enter the text you want to search: " | |
set LB=^&echo. | |
findstr /plnsc:"%NEEDLE%" *.php *.phtml *.xml *.css *.js *.sql *.html >> %RESFILE%.tmp | |
move "%RESFILE%.tmp" "%RESFILE%" > nul | |
exit |
<?php | |
require_once('includes/config.php'); | |
require_once('app/Mage.php'); | |
$storeID = 1; | |
$websiteIDs = array(1); | |
$cats = array(5); | |
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); |