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
#include <iostream> | |
using namespace std; | |
int main(int argc, char* argv[]) | |
{ | |
cout << "Hello world!" << endl; | |
return 0; | |
} |
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
Show hidden characters
{ | |
"cmd": ["make", "--no-print-directory", "BUILD_SPEC=SIMPENTIUMgnu_SMP", "DEBUG_MODE=1", "TRACE=1"], | |
"working_dir" : "${project_path:${folder}}/xxx/SIMPENTIUMgnu_SMP", | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"selector": "source.c++", | |
"variants": [ | |
{ | |
"name": "vxworks: Build xxxTests(sim)", |
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
<snippet> | |
<content><![CDATA[ | |
TEST${1}${1/(_)|.*/(?1:F)/}(${2:SuiteName}, ${3:TestName}) | |
{ | |
// Setup | |
${4} | |
// Execute | |
// Verify |
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
<snippet> | |
<content><![CDATA[ | |
//------------------------------------------------------------------------------ | |
// ${1:u}${1/(u)|(i)|(f)|.*/(?1:sing)(?2:nclude)(?3:orward declaration)/}s | |
//------------------------------------------------------------------------------ | |
${3} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>cblock</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> |
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
"%VS100COMNTOOLS%\vsvars32.bat" |
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
import json | |
import logging | |
import logging.config | |
config = json.load(open('logging.cfg', 'r')) | |
logging.config.dictConfig(config) |
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
{ | |
"version": 1, | |
"formatters": | |
{ | |
"simple": | |
{ | |
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s" | |
}, | |
"brief": | |
{ |
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
if __name__ == '__main__': | |
main() |