init
This commit is contained in:
64
Tool/Surge转acl工具/acl自定义语言格式文件.xml
Normal file
64
Tool/Surge转acl工具/acl自定义语言格式文件.xml
Normal file
@@ -0,0 +1,64 @@
|
||||
<NotepadPlus>
|
||||
<UserLang name="ACL" ext="acl" udlVersion="2.1">
|
||||
<Settings>
|
||||
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="yes" forcePureLC="0" decimalSeparator="0" />
|
||||
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
|
||||
</Settings>
|
||||
<KeywordLists>
|
||||
<Keywords name="Comments">00# 01 02 03 04</Keywords>
|
||||
<Keywords name="Numbers, prefix1">0 1 2 3 4 5 6 7 8 9</Keywords>
|
||||
<Keywords name="Numbers, prefix2"></Keywords>
|
||||
<Keywords name="Numbers, extras1"></Keywords>
|
||||
<Keywords name="Numbers, extras2"></Keywords>
|
||||
<Keywords name="Numbers, suffix1"></Keywords>
|
||||
<Keywords name="Numbers, suffix2"></Keywords>
|
||||
<Keywords name="Numbers, range"></Keywords>
|
||||
<Keywords name="Operators1">/ |</Keywords>
|
||||
<Keywords name="Operators2"></Keywords>
|
||||
<Keywords name="Folders in code1, open"></Keywords>
|
||||
<Keywords name="Folders in code1, middle"></Keywords>
|
||||
<Keywords name="Folders in code1, close"></Keywords>
|
||||
<Keywords name="Folders in code2, open"></Keywords>
|
||||
<Keywords name="Folders in code2, middle"></Keywords>
|
||||
<Keywords name="Folders in code2, close"></Keywords>
|
||||
<Keywords name="Folders in comment, open"></Keywords>
|
||||
<Keywords name="Folders in comment, middle"></Keywords>
|
||||
<Keywords name="Folders in comment, close"></Keywords>
|
||||
<Keywords name="Keywords1">[proxy_all]
[bypass_all]
[outbound_block_list]
[bypass_list]
[proxy_list]
[bypass_list]</Keywords>
|
||||
<Keywords name="Keywords2"></Keywords>
|
||||
<Keywords name="Keywords3"></Keywords>
|
||||
<Keywords name="Keywords4"></Keywords>
|
||||
<Keywords name="Keywords5"></Keywords>
|
||||
<Keywords name="Keywords6"></Keywords>
|
||||
<Keywords name="Keywords7"></Keywords>
|
||||
<Keywords name="Keywords8"></Keywords>
|
||||
<Keywords name="Delimiters">00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
|
||||
</KeywordLists>
|
||||
<Styles>
|
||||
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="YaHei Consolas Hybrid" fontStyle="0" fontSize="10" nesting="0" />
|
||||
<WordsStyle name="COMMENTS" fgColor="B4B4B4" bgColor="FFFFFF" fontName="" fontStyle="3" nesting="0" />
|
||||
<WordsStyle name="LINE COMMENTS" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="KEYWORDS1" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
|
||||
<WordsStyle name="KEYWORDS2" fgColor="00FF80" bgColor="3F3F3F" fontName="" fontStyle="1" nesting="0" />
|
||||
<WordsStyle name="KEYWORDS3" fgColor="FF2020" bgColor="3F3F3F" fontName="" fontStyle="3" nesting="0" />
|
||||
<WordsStyle name="KEYWORDS4" fgColor="CEDF99" bgColor="3F3F3F" fontName="" fontStyle="1" nesting="0" />
|
||||
<WordsStyle name="KEYWORDS5" fgColor="E3E300" bgColor="3F3F3F" fontName="" fontStyle="7" nesting="0" />
|
||||
<WordsStyle name="KEYWORDS6" fgColor="8CDAFF" bgColor="3F3F3F" fontName="" fontStyle="3" nesting="0" />
|
||||
<WordsStyle name="KEYWORDS7" fgColor="8794EF" bgColor="3F3F3F" fontName="" fontStyle="1" nesting="0" />
|
||||
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="3F3F3F" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="OPERATORS" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="DELIMITERS1" fgColor="00FF00" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="DELIMITERS2" fgColor="FF0000" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||
</Styles>
|
||||
</UserLang>
|
||||
</NotepadPlus>
|
||||
188
Tool/Surge转acl工具/shortcuts.xml
Normal file
188
Tool/Surge转acl工具/shortcuts.xml
Normal file
@@ -0,0 +1,188 @@
|
||||
<NotepadPlus>
|
||||
<InternalCommands />
|
||||
<Macros>
|
||||
<Macro name="网址转acl" Ctrl="no" Alt="no" Shift="no" Key="0">
|
||||
<Action type="2" message="0" wParam="42043" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="//" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="#" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="." />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="\." />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="0" message="2178" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="^((DOMAIN-SUFFIX|DOMAIN)\,)|((.*)?http\w?\:\#(www\\\.)?)" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="\(^|\\\.\)" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="(\,\s?.{0,3}(Proxy|DIRECT|REJECT)(.*)?$)|(\/.*$)" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="$" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="0" message="2025" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="0" message="2422" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="0" message="2325" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
</Macro>
|
||||
<Macro name="关键词转acl" Ctrl="no" Alt="no" Shift="no" Key="0">
|
||||
<Action type="2" message="0" wParam="42043" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="//" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="#" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="." />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="\." />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="0" message="2178" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="\,\s?.{0,3}(Proxy|DIRECT|REJECT)(.*)?$" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="\\w*\\\.\.*$" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="0" message="2178" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="DOMAIN-KEYWORD," />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="(^|\.)\w*" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="256" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="2" message="0" wParam="42043" lParam="0" sParam="" />
|
||||
</Macro>
|
||||
<Macro name="ip转acl" Ctrl="no" Alt="no" Shift="no" Key="0">
|
||||
<Action type="2" message="0" wParam="42043" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="//" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="#" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="0" message="2178" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="\,\s?.{0,3}(Proxy|DIRECT|REJECT)(.*)?$" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="IP-CIDR," />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
</Macro>
|
||||
<Macro name="acl转网址" Ctrl="no" Alt="no" Shift="no" Key="0">
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam=" " />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="512" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="\" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="512" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="0" message="2178" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="(^|.)" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="512" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="0" message="2178" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="$" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="512" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="2" message="0" wParam="42043" lParam="0" sParam="" />
|
||||
</Macro>
|
||||
<Macro name="文本升序" Ctrl="no" Alt="no" Shift="no" Key="0">
|
||||
<Action type="2" message="0" wParam="42059" lParam="0" sParam="" />
|
||||
</Macro>
|
||||
<Macro name="移除行首行尾空格" Ctrl="no" Alt="no" Shift="no" Key="0">
|
||||
<Action type="0" message="2013" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="2" message="0" wParam="42043" lParam="0" sParam="" />
|
||||
</Macro>
|
||||
<Macro name="去除多余空格并保存" Ctrl="no" Alt="yes" Shift="yes" Key="83">
|
||||
<Action type="2" message="0" wParam="42024" lParam="0" sParam="" />
|
||||
<Action type="2" message="0" wParam="41006" lParam="0" sParam="" />
|
||||
</Macro>
|
||||
<Macro name="acl转surge" Ctrl="no" Alt="no" Shift="no" Key="0">
|
||||
<Action type="2" message="0" wParam="42043" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="\" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="514" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="$" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam=",REJECT" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="514" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="(^|.)" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="DOMAIN-SUFFIX," />
|
||||
<Action type="3" message="1702" wParam="0" lParam="514" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
</Macro>
|
||||
<Macro name="去掉注释" Ctrl="no" Alt="no" Shift="no" Key="0">
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="(?<!:)//.*" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="512" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="0" message="2025" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="0" message="2422" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="0" message="2325" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="0" message="2178" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="0" message="2025" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="0" message="2422" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="0" message="2325" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1601" wParam="0" lParam="0" sParam="/\*[^*]+\*/" />
|
||||
<Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
|
||||
<Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
|
||||
<Action type="3" message="1702" wParam="0" lParam="512" sParam="" />
|
||||
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
|
||||
<Action type="2" message="0" wParam="42056" lParam="0" sParam="" />
|
||||
<Action type="2" message="0" wParam="41006" lParam="0" sParam="" />
|
||||
</Macro>
|
||||
</Macros>
|
||||
<UserDefinedCommands>
|
||||
<Command name="进行 Baidu 搜索" Ctrl="no" Alt="yes" Shift="no" Key="112">https://www.baidu.com/s?wd=$(CURRENT_WORD)</Command>
|
||||
<Command name="进行 Google 搜索" Ctrl="no" Alt="yes" Shift="no" Key="113">https://www.google.com/search?q=$(CURRENT_WORD)</Command>
|
||||
<Command name="进行 Wikipedia 搜索" Ctrl="no" Alt="yes" Shift="no" Key="114">https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
|
||||
<Command name="获取 PHP 帮助" Ctrl="no" Alt="yes" Shift="no" Key="115">http://www.php.net/$(CURRENT_WORD)</Command>
|
||||
<Command name="在 IE 浏览器中打开" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore "$(FULL_CURRENT_PATH)"</Command>
|
||||
<Command name="在 Chrome 浏览器中打开" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome "$(FULL_CURRENT_PATH)"</Command>
|
||||
<Command name="在 Firefox 浏览器中打开" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox "$(FULL_CURRENT_PATH)"</Command>
|
||||
<Command name="在 Safari 浏览器中打开" Ctrl="yes" Alt="yes" Shift="yes" Key="70">safari "$(FULL_CURRENT_PATH)"</Command>
|
||||
<Command name="打开文件" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command>
|
||||
<Command name="打开一个新实例" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -nosession -multiInst</Command>
|
||||
<Command name="通过 Outlook 发送" Ctrl="yes" Alt="yes" Shift="yes" Key="79">outlook /a "$(FULL_CURRENT_PATH)"</Command>
|
||||
</UserDefinedCommands>
|
||||
<PluginCommands />
|
||||
<ScintillaKeys />
|
||||
</NotepadPlus>
|
||||
BIN
Tool/Surge转acl工具/教程.gif
Normal file
BIN
Tool/Surge转acl工具/教程.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 234 KiB |
Reference in New Issue
Block a user