Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
| \documentclass{article} | |
| \usepackage{lineno} | |
| \usepackage{url} | |
| \usepackage{hyperref} | |
| \usepackage{fancyhdr} % Needed to define custom headers/footers | |
| \usepackage{titlesec} | |
| \usepackage{lastpage} % Used to determine the number of pages in the document (for "Page X of Total") |
| // Interpolate between 2 colors in C# | |
| // Taken from answer by user Jason | |
| // http://stackoverflow.com/questions/1236683/color-interpolation-between-3-colors-in-net | |
| class ColorInterpolator { | |
| delegate byte ComponentSelector(Color color); | |
| static ComponentSelector _redSelector = color => color.R; | |
| static ComponentSelector _greenSelector = color => color.G; | |
| static ComponentSelector _blueSelector = color => color.B; | |
| public static Color InterpolateBetween( |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>name</key> | |
| <string>Comments</string> | |
| <key>scope</key> | |
| <string>source.cs</string> | |
| <key>settings</key> | |
| <dict> |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
| /*IPython Notebook Dark CSS style*/ | |
| /*URLs matching the regexp: .*127.0.0.1:8\d\d\d.* */ | |
| body { | |
| background-color: #111 !important; | |
| color: #ccc !important; | |
| } | |
| .dropdown-menu>li>a, li, ul { | |
| color: #ccc !important; |
| /*Dark CSS theme for regex match of .*mightytext.net.* */ | |
| textarea, div, span, body, .nav-tabs, div#pinnedContent, .thread-tab { | |
| background-color: rgb(30,30,30) !important; | |
| color: rgb(170,170,170) !important; | |
| } | |
| span { | |
| background-color: transparent !important; | |
| } | |
| a#share-button-main, a#follow-button-main, span#alert-bottom-right-corner { | |
| visibility: hidden !important; |
| { | |
| "bold_folder_labels": true, | |
| "fade_fold_buttons": false, | |
| "font_size": 9, | |
| "highlight_line": true, | |
| "highlight_modified_tabs": true, | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], |
| .nH, .Bk, .gstt, .gbqfif, .mG, .mD, font, div.im, .amn, .hP, .Ap, .Ar.Au, .editable, .ej, .Bu, .M9, .fN, div#loading, div.nr.tMHS5d, div.ip.adB, .ef, .eh, .dW.E, .cf { | |
| background-color: #161612!important; | |
| color: #D7D8D1!important; | |
| } | |
| .gD, .gK, .gH, .ii a , iw, amt{ | |
| color: #97FFFF; | |
| } | |
| a { | |
| color: #D7D8D1!important; | |
| } |
| import os | |
| # get a list of files containing a certain string/extension | |
| l = [f for f in os.listdir('.') if '.markers' in f] | |
| lFNA = [f for f in os.listdir('.') if '.fna' in f] | |
| # print the matching files to stdout | |
| # get commandline command for running MIST | |
| print 'MIST.exe -j mist.json -T tmp -t ' + ' -t '.join(l) + ' ' + ' '.join(lFNA) |