Skip to content

Instantly share code, notes, and snippets.

View dzenanz's full-sized avatar
🏢
Back in the office

Dženan Zukić dzenanz

🏢
Back in the office
View GitHub Profile
@dzenanz
dzenanz / uncustify.cfg
Last active February 29, 2016 19:25
A sample uncrustify config file
tok_split_gte=false
utf8_byte=false
utf8_force=false
indent_cmt_with_tabs=false
indent_align_string=false
indent_braces=false
indent_braces_no_func=false
indent_braces_no_class=false
indent_braces_no_struct=false
indent_brace_parent=false
@dzenanz
dzenanz / test.h
Created February 29, 2016 19:22
MWE for uncrustify
class smCoreClass{
QString getName(){
return name;
}
/*///All classes should copy itself
virtual void *clone(){
}*/
fgm=slicer.modules.brainsroiauto
fgmPar={}
fgmPar["cropOutput"]=True
fgmPar["inputVolume"]=movingImage
fgmPar["outputVolume"]=movingImage
slicer.cli.run(fgm, None, fgmPar, True)
fgmPar["inputVolume"]=fixedImage
fgmPar["outputVolume"]=fixedImage
slicer.cli.run(fgm, None, fgmPar, True)