This file contains hidden or 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
| // Settings in here override those in "Default/Preferences.sublime-settings", | |
| // and are overridden in turn by file type specific settings. | |
| { | |
| "draw_white_space": "all", | |
| "translate_tabs_to_spaces": true, | |
| // Set to true to removing trailing white space on save | |
| "trim_trailing_white_space_on_save": true, | |
| // Set to true to ensure the last line of the file ends in a newline | |
| // character when saving |
This file contains hidden or 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
| # -*- coding: utf8 -*- | |
| # 下载速度很慢, | |
| import urllib2, urllib | |
| import sys | |
| import os | |
| import socket | |
| import re | |
| import socks |
This file contains hidden or 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
| curl http://www.google.com/notebook/feeds/userID/notebooks/notebookID?updated-max=2010-06-04T17:40:00-07:00&updated-min=2003-01-01T17:40:00-07:00&max-results=100 |
This file contains hidden or 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
| TEST(SvpToolsBoxTest, getVideoFileBasename) | |
| { | |
| TCHAR szName[] = _T("c:\\folder\\name.ext"); | |
| CSVPToolBox toolbox; | |
| CStringArray retArray; | |
| CString strRet = toolbox.getVideoFileBasename(szName, &retArray); | |
| ASSERT_TRUE(retArray[0]==_T("c:\\folder\\name")); | |
| ASSERT_TRUE(retArray[1]==_T(".ext")); | |
| ASSERT_TRUE(retArray[2]==_T("c:\\folder\\")); | |
| ASSERT_TRUE(retArray[3]==_T("name")); |