├── .gitignore ├── .gitmodules ├── Brewfile ├── CHANGELOG.md ├── README.md ├── Rakefile ├── VERSION ├── ack └── ackrc ├── ag └── agignore ├── atom ├── .gitignore ├── config.cson ├── github.cson ├── init.coffee ├── keymap.cson ├── packages.cson ├── projects.cson ├── snippets.cson └── styles.less ├── bash ├── bash_profile ├── completions │ └── git.bash ├── inputrc └── partials │ ├── config │ ├── prompt │ └── prompt-powerline ├── bitbar └── github ├── bundle └── config ├── coffeelint └── coffeelint.json ├── dygma └── Layers.json ├── editorconfig └── editorconfig ├── eslint ├── README.md └── eslintrc ├── gem └── gemrc ├── git ├── gitconfig ├── gitignore └── template ├── hyper └── hyper.js ├── iterm ├── GitHub Dark Default.itermcolors ├── Night Owl.itermcolors ├── Solarized Dark.itermcolors ├── Solarized Light.itermcolors ├── Tomorrow Night Bright.itermcolors ├── Tomorrow Night.itermcolors ├── hybrid.itermcolors ├── jellybeans.itermcolors ├── tmux-256color.terminfo └── xterm-256color-italic.terminfo ├── prettier └── prettierrc ├── rspec └── rspec ├── scripts ├── command-line-tools ├── eslint ├── gems ├── git-submodules ├── homebrew ├── macos ├── npm ├── nvm ├── outliers ├── pow ├── sublime ├── terminal-italics ├── tpm ├── update ├── visual-studio-code └── vundle ├── settings.json ├── shell ├── functions │ ├── general │ ├── git │ └── wrappers └── partials │ ├── aliases │ ├── extras │ ├── overrides │ ├── path │ └── vars ├── spacemacs └── spacemacs ├── starship └── starship.toml ├── stylelint └── stylelintrc ├── sublime-text ├── Installed Packages │ ├── 0_package_control_loader.sublime-package │ ├── AdvancedNewFile.sublime-package │ ├── AngularJS (CoffeeScript).sublime-package │ ├── Better CoffeeScript.sublime-package │ ├── Emmet.sublime-package │ ├── Flow.sublime-package │ ├── GhostText.sublime-package │ ├── GitGutter.sublime-package │ ├── GraphQL.sublime-package │ ├── JSX.sublime-package │ ├── Material Theme.sublime-package │ ├── Modific.sublime-package │ ├── Nettuts+ Fetch.sublime-package │ ├── Oceanic Next Italic Color Scheme.sublime-package │ ├── Package Control.sublime-package │ ├── Pug.sublime-package │ ├── PyV8 │ │ └── osx-p3 │ │ │ ├── PyV8.py │ │ │ ├── _PyV8.so │ │ │ ├── __MACOSX │ │ │ ├── ._PyV8.py │ │ │ └── .__PyV8.so │ │ │ └── config.json │ ├── Sass.sublime-package │ ├── Schemr.sublime-package │ ├── SublimeGit.sublime-package │ ├── Surround.sublime-package │ ├── Theme - Flatland.sublime-package │ ├── Theme - Soda.sublime-package │ ├── Theme - Sodarized.sublime-package │ └── Theme - Spacegray.sublime-package └── Packages │ ├── Color Scheme - User │ ├── Bedroom in Arles.tmTheme │ ├── Chrome DevTools.tmTheme │ ├── Clouds.tmTheme │ ├── Darkside.tmTheme │ ├── Dawn.tmTheme │ ├── Espresso Soda.tmTheme │ ├── GitHub.tmTheme │ ├── Kuroir.tmTheme │ ├── Made by Phunky.tmTheme │ ├── Monokai Soda.tmTheme │ ├── Oceanic - Eighties.tmTheme │ ├── Oceanic.tmTheme │ ├── Pastels on Dark.tmTheme │ ├── PlasticCodeWrap.tmTheme │ ├── Railscasts.tmTheme │ ├── Ryan Light.tmTheme │ ├── Smyck.tmTheme │ ├── Tomorrow-Night-Blue.tmTheme │ ├── Tomorrow-Night-Bright.tmTheme │ ├── Tomorrow-Night-Eighties.tmTheme │ ├── Tomorrow-Night.tmTheme │ ├── Tomorrow.tmTheme │ └── Xcode.tmTheme │ ├── JsPrettier │ ├── .editorconfig │ ├── .env.example │ ├── .flake8 │ ├── .gitattributes │ ├── .github │ │ ├── ISSUE_TEMPLATE.md │ │ └── no-response.yml │ ├── .gitignore │ ├── .markdownlintrc │ ├── .no-sublime-package │ ├── .pylintrc │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── Context.sublime-menu │ ├── JsPrettier.py │ ├── JsPrettier.sublime-commands │ ├── JsPrettier.sublime-settings │ ├── LICENSE.txt │ ├── Main.sublime-menu │ ├── README.md │ ├── appveyor.yml │ ├── jsprettier │ │ ├── __init__.py │ │ ├── const.py │ │ ├── sthelper.py │ │ └── util.py │ ├── messages.json │ ├── messages │ │ ├── 1.0.1.txt │ │ ├── 1.0.2.txt │ │ ├── 1.0.3.txt │ │ ├── 1.1.0.txt │ │ ├── 1.1.1.txt │ │ ├── 1.1.2.txt │ │ ├── 1.1.5.txt │ │ ├── 1.1.7.txt │ │ ├── 1.10.0.txt │ │ ├── 1.11.0.txt │ │ ├── 1.12.0.txt │ │ ├── 1.13.0.txt │ │ ├── 1.14.0.txt │ │ ├── 1.15.0.txt │ │ ├── 1.16.0.txt │ │ ├── 1.17.0.txt │ │ ├── 1.18.0.txt │ │ ├── 1.19.0.txt │ │ ├── 1.2.0.txt │ │ ├── 1.2.4.txt │ │ ├── 1.2.5.txt │ │ ├── 1.20.0.txt │ │ ├── 1.3.0.txt │ │ ├── 1.3.1.txt │ │ ├── 1.4.0.txt │ │ ├── 1.5.0.txt │ │ ├── 1.6.0.txt │ │ ├── 1.7.0.txt │ │ ├── 1.8.0.txt │ │ ├── 1.9.0.txt │ │ └── install.txt │ ├── package-metadata.json │ ├── package.json │ ├── requirements.txt │ ├── screenshots │ │ ├── before_and_after.gif │ │ └── demo.gif │ ├── scripts │ │ ├── install.cmd │ │ ├── install.sh │ │ ├── release.sh │ │ ├── run_sonar_scan.sh │ │ ├── run_tests.cmd │ │ └── run_tests.sh │ ├── sonar-project.properties │ └── tests │ │ ├── __init__.py │ │ ├── test_json.py │ │ └── validate_json_format.py │ ├── PyV8 │ └── osx-p3 │ │ ├── PyV8.py │ │ ├── _PyV8.so │ │ ├── __MACOSX │ │ ├── ._PyV8.py │ │ └── .__PyV8.so │ │ └── config.json │ ├── Theme - Spacegray │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── Spacegray.png │ ├── Spacegray.sublime-theme │ ├── Spacegray │ │ ├── Widget - Spacegray.stTheme │ │ ├── Widget - Spacegray.sublime-settings │ │ ├── buffer.png │ │ ├── buffer@2x.png │ │ ├── casesens.png │ │ ├── casesens@2x.png │ │ ├── circle.png │ │ ├── circle@2x.png │ │ ├── close.png │ │ ├── close@2x.png │ │ ├── context.png │ │ ├── context@2x.png │ │ ├── folder-closed.png │ │ ├── folder-closed@2x.png │ │ ├── folder-open.png │ │ ├── folder-open@2x.png │ │ ├── highlight.png │ │ ├── highlight@2x.png │ │ ├── regex.png │ │ ├── regex@2x.png │ │ ├── reverse.png │ │ ├── reverse@2x.png │ │ ├── selection.png │ │ ├── selection@2x.png │ │ ├── wholeword.png │ │ ├── wholeword@2x.png │ │ ├── wrap.png │ │ └── wrap@2x.png │ ├── base16-ocean.dark.tmTheme │ └── base16-ocean.light.tmTheme │ ├── User │ ├── ApplySyntax.sublime-settings │ ├── CoffeeScript.sublime-settings │ ├── Default (OSX).sublime-keymap │ ├── Fetch.sublime-settings │ ├── JSX.sublime-settings │ ├── JavaScript (Babel).sublime-settings │ ├── JavaScript.sublime-settings │ ├── Package Control.ca-bundle │ ├── Package Control.ca-list │ ├── Package Control.sublime-settings │ ├── Preferences.sublime-settings │ ├── Ruby Haml.sublime-settings │ ├── Sass.sublime-settings │ └── SchemrFavorites.sublime-settings │ ├── markupsafe │ ├── .hg_archival.txt │ ├── .hgtags │ ├── all │ │ └── markupsafe │ │ │ ├── __init__.py │ │ │ ├── _compat.py │ │ │ ├── _constants.py │ │ │ └── _native.py │ └── dependency-metadata.json │ ├── mdpopups │ ├── .gitignore │ ├── .spelling.yml │ ├── .travis.yml │ ├── LICENSE │ ├── Preferences.sublime-settings │ ├── README.md │ ├── css │ │ └── default.css │ ├── dependency-metadata.json │ ├── docs │ │ ├── src │ │ │ └── markdown │ │ │ │ ├── _snippets │ │ │ │ ├── abbr.md │ │ │ │ ├── links.md │ │ │ │ ├── refs.md │ │ │ │ └── uml.md │ │ │ │ ├── api.md │ │ │ │ ├── changelog.md │ │ │ │ ├── contributing.md │ │ │ │ ├── faq.md │ │ │ │ ├── images │ │ │ │ └── tooltips_test.png │ │ │ │ ├── index.md │ │ │ │ ├── installation.md │ │ │ │ ├── license.md │ │ │ │ ├── settings.md │ │ │ │ └── styling.md │ │ └── theme │ │ │ ├── extra-d04c85ed4a.css │ │ │ └── extra-d8800ea088.js │ ├── mkdocs.yml │ ├── setup.cfg │ ├── st3 │ │ └── mdpopups │ │ │ ├── __init__.py │ │ │ ├── colorbox.py │ │ │ ├── file_strip │ │ │ ├── __init__.py │ │ │ ├── comments.py │ │ │ └── json.py │ │ │ ├── frontmatter.py │ │ │ ├── imagetint.py │ │ │ ├── mdx │ │ │ ├── __init__.py │ │ │ ├── highlight.py │ │ │ ├── inlinehilite.py │ │ │ └── superfences.py │ │ │ ├── png.py │ │ │ ├── rgba.py │ │ │ ├── st_clean_css.py │ │ │ ├── st_code_highlight.py │ │ │ ├── st_color_scheme_matcher.py │ │ │ ├── st_mapping.py │ │ │ ├── st_pygments_highlight.py │ │ │ ├── st_scheme_template.py │ │ │ ├── version.py │ │ │ └── x11colors.py │ └── tests │ │ ├── __init__.py │ │ ├── spellcheck.py │ │ ├── test_json.py │ │ └── validate_json_format.py │ ├── pygments │ ├── .gitignore │ ├── README.md │ ├── all │ │ └── pygments │ │ │ ├── __init__.py │ │ │ ├── cmdline.py │ │ │ ├── console.py │ │ │ ├── filter.py │ │ │ ├── filters │ │ │ └── __init__.py │ │ │ ├── formatter.py │ │ │ ├── formatters │ │ │ ├── __init__.py │ │ │ ├── _mapping.py │ │ │ ├── bbcode.py │ │ │ ├── html.py │ │ │ ├── img.py │ │ │ ├── latex.py │ │ │ ├── other.py │ │ │ ├── rtf.py │ │ │ ├── svg.py │ │ │ ├── terminal.py │ │ │ └── terminal256.py │ │ │ ├── lexer.py │ │ │ ├── lexers │ │ │ ├── __init__.py │ │ │ ├── _asy_builtins.py │ │ │ ├── _cl_builtins.py │ │ │ ├── _cocoa_builtins.py │ │ │ ├── _lasso_builtins.py │ │ │ ├── _lua_builtins.py │ │ │ ├── _mapping.py │ │ │ ├── _mql_builtins.py │ │ │ ├── _openedge_builtins.py │ │ │ ├── _php_builtins.py │ │ │ ├── _postgres_builtins.py │ │ │ ├── _scilab_builtins.py │ │ │ ├── _sourcemod_builtins.py │ │ │ ├── _stan_builtins.py │ │ │ ├── _vim_builtins.py │ │ │ ├── actionscript.py │ │ │ ├── agile.py │ │ │ ├── algebra.py │ │ │ ├── ambient.py │ │ │ ├── apl.py │ │ │ ├── asm.py │ │ │ ├── automation.py │ │ │ ├── basic.py │ │ │ ├── business.py │ │ │ ├── c_cpp.py │ │ │ ├── c_like.py │ │ │ ├── chapel.py │ │ │ ├── compiled.py │ │ │ ├── configs.py │ │ │ ├── console.py │ │ │ ├── css.py │ │ │ ├── d.py │ │ │ ├── dalvik.py │ │ │ ├── data.py │ │ │ ├── diff.py │ │ │ ├── dotnet.py │ │ │ ├── dsls.py │ │ │ ├── dylan.py │ │ │ ├── ecl.py │ │ │ ├── eiffel.py │ │ │ ├── erlang.py │ │ │ ├── esoteric.py │ │ │ ├── factor.py │ │ │ ├── fantom.py │ │ │ ├── felix.py │ │ │ ├── fortran.py │ │ │ ├── foxpro.py │ │ │ ├── functional.py │ │ │ ├── go.py │ │ │ ├── graph.py │ │ │ ├── graphics.py │ │ │ ├── haskell.py │ │ │ ├── haxe.py │ │ │ ├── hdl.py │ │ │ ├── html.py │ │ │ ├── idl.py │ │ │ ├── igor.py │ │ │ ├── inferno.py │ │ │ ├── installers.py │ │ │ ├── int_fiction.py │ │ │ ├── iolang.py │ │ │ ├── javascript.py │ │ │ ├── julia.py │ │ │ ├── jvm.py │ │ │ ├── lisp.py │ │ │ ├── make.py │ │ │ ├── markup.py │ │ │ ├── math.py │ │ │ ├── matlab.py │ │ │ ├── ml.py │ │ │ ├── modeling.py │ │ │ ├── modula2.py │ │ │ ├── nimrod.py │ │ │ ├── nit.py │ │ │ ├── nix.py │ │ │ ├── objective.py │ │ │ ├── ooc.py │ │ │ ├── other.py │ │ │ ├── parsers.py │ │ │ ├── pascal.py │ │ │ ├── pawn.py │ │ │ ├── perl.py │ │ │ ├── php.py │ │ │ ├── prolog.py │ │ │ ├── python.py │ │ │ ├── r.py │ │ │ ├── rdf.py │ │ │ ├── rebol.py │ │ │ ├── resource.py │ │ │ ├── robotframework.py │ │ │ ├── ruby.py │ │ │ ├── rust.py │ │ │ ├── scripting.py │ │ │ ├── shell.py │ │ │ ├── smalltalk.py │ │ │ ├── snobol.py │ │ │ ├── special.py │ │ │ ├── sql.py │ │ │ ├── tcl.py │ │ │ ├── templates.py │ │ │ ├── testing.py │ │ │ ├── text.py │ │ │ ├── textedit.py │ │ │ ├── textfmts.py │ │ │ ├── theorem.py │ │ │ ├── urbi.py │ │ │ ├── web.py │ │ │ └── webmisc.py │ │ │ ├── modeline.py │ │ │ ├── plugin.py │ │ │ ├── regexopt.py │ │ │ ├── scanner.py │ │ │ ├── sphinxext.py │ │ │ ├── style.py │ │ │ ├── styles │ │ │ ├── __init__.py │ │ │ ├── algol.py │ │ │ ├── algol_nu.py │ │ │ ├── arduino.py │ │ │ ├── autumn.py │ │ │ ├── borland.py │ │ │ ├── bw.py │ │ │ ├── colorful.py │ │ │ ├── default.py │ │ │ ├── emacs.py │ │ │ ├── friendly.py │ │ │ ├── fruity.py │ │ │ ├── igor.py │ │ │ ├── lovelace.py │ │ │ ├── manni.py │ │ │ ├── monokai.py │ │ │ ├── murphy.py │ │ │ ├── native.py │ │ │ ├── paraiso_dark.py │ │ │ ├── paraiso_light.py │ │ │ ├── pastie.py │ │ │ ├── perldoc.py │ │ │ ├── rrt.py │ │ │ ├── tango.py │ │ │ ├── trac.py │ │ │ ├── vim.py │ │ │ ├── vs.py │ │ │ └── xcode.py │ │ │ ├── token.py │ │ │ ├── unistring.py │ │ │ └── util.py │ └── dependency-metadata.json │ ├── pymdownx │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── dependency-metadata.json │ └── st3 │ │ └── pymdownx │ │ ├── __init__.py │ │ ├── __version__.py │ │ ├── arithmatex.py │ │ ├── b64.py │ │ ├── betterem.py │ │ ├── caret.py │ │ ├── critic.py │ │ ├── details.py │ │ ├── emoji.py │ │ ├── emoji1_db.py │ │ ├── escapeall.py │ │ ├── extra.py │ │ ├── extrarawhtml.py │ │ ├── gemoji_db.py │ │ ├── github.py │ │ ├── highlight.py │ │ ├── inlinehilite.py │ │ ├── keymap_db.py │ │ ├── keys.py │ │ ├── magiclink.py │ │ ├── mark.py │ │ ├── pathconverter.py │ │ ├── plainhtml.py │ │ ├── progressbar.py │ │ ├── slugs.py │ │ ├── smartsymbols.py │ │ ├── snippets.py │ │ ├── striphtml.py │ │ ├── superfences.py │ │ ├── tasklist.py │ │ ├── tilde.py │ │ ├── twemoji_db.py │ │ └── util.py │ ├── python-jinja2 │ ├── .hg_archival.txt │ ├── .hgtags │ ├── all │ │ └── jinja2 │ │ │ ├── __init__.py │ │ │ ├── _compat.py │ │ │ ├── _stringdefs.py │ │ │ ├── bccache.py │ │ │ ├── compiler.py │ │ │ ├── constants.py │ │ │ ├── debug.py │ │ │ ├── defaults.py │ │ │ ├── environment.py │ │ │ ├── exceptions.py │ │ │ ├── ext.py │ │ │ ├── filters.py │ │ │ ├── lexer.py │ │ │ ├── loaders.py │ │ │ ├── meta.py │ │ │ ├── nodes.py │ │ │ ├── optimizer.py │ │ │ ├── parser.py │ │ │ ├── runtime.py │ │ │ ├── sandbox.py │ │ │ ├── tests.py │ │ │ ├── utils.py │ │ │ └── visitor.py │ └── dependency-metadata.json │ ├── python-markdown │ ├── .gitignore │ ├── README.md │ ├── dependency-metadata.json │ └── st3 │ │ ├── LICENSE.md │ │ └── markdown │ │ ├── __init__.py │ │ ├── __main__.py │ │ ├── __version__.py │ │ ├── blockparser.py │ │ ├── blockprocessors.py │ │ ├── extensions │ │ ├── __init__.py │ │ ├── abbr.py │ │ ├── admonition.py │ │ ├── attr_list.py │ │ ├── codehilite.py │ │ ├── def_list.py │ │ ├── extra.py │ │ ├── fenced_code.py │ │ ├── footnotes.py │ │ ├── headerid.py │ │ ├── meta.py │ │ ├── nl2br.py │ │ ├── sane_lists.py │ │ ├── smart_strong.py │ │ ├── smarty.py │ │ ├── tables.py │ │ ├── toc.py │ │ └── wikilinks.py │ │ ├── inlinepatterns.py │ │ ├── odict.py │ │ ├── postprocessors.py │ │ ├── preprocessors.py │ │ ├── serializers.py │ │ ├── treeprocessors.py │ │ └── util.py │ └── pyyaml │ ├── README.md │ ├── dependency-metadata.json │ ├── st2 │ ├── LICENSE │ └── yaml │ │ ├── __init__.py │ │ ├── composer.py │ │ ├── constructor.py │ │ ├── cyaml.py │ │ ├── dumper.py │ │ ├── emitter.py │ │ ├── error.py │ │ ├── events.py │ │ ├── loader.py │ │ ├── nodes.py │ │ ├── parser.py │ │ ├── reader.py │ │ ├── representer.py │ │ ├── resolver.py │ │ ├── scanner.py │ │ ├── serializer.py │ │ └── tokens.py │ └── st3 │ ├── LICENSE │ └── yaml │ ├── __init__.py │ ├── composer.py │ ├── constructor.py │ ├── cyaml.py │ ├── dumper.py │ ├── emitter.py │ ├── error.py │ ├── events.py │ ├── loader.py │ ├── nodes.py │ ├── parser.py │ ├── reader.py │ ├── representer.py │ ├── resolver.py │ ├── scanner.py │ ├── serializer.py │ └── tokens.py ├── terminal ├── GitHub Dark.terminal ├── Solarized Dark.terminal └── Solarized Light.terminal ├── tmux ├── tmux.conf └── tmuxline_snapshot ├── vim ├── colors │ ├── Tomorrow-Night-Bright.vim │ ├── Tomorrow-Night.vim │ ├── distinguished.vim │ ├── grb256.vim │ ├── ir_black.vim │ ├── jellybeans.vim │ └── sunburst.vim ├── gvimrc ├── partials │ ├── completion.vim │ ├── filetypes.vim │ ├── functions.vim │ ├── general.vim │ ├── init.vim │ ├── mappings.vim │ ├── plugins.vim │ ├── settings.vim │ └── visual.vim ├── shortcuts.md └── vimrc ├── visual-studio-code └── settings.json ├── warp └── themes │ └── github_dark.yaml └── zsh ├── completions └── completion.zsh ├── partials └── config └── zshrc /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | atom/.apm 4 | atom/.node-gyp 5 | atom/.npm 6 | atom/compile-cache 7 | atom/dev 8 | atom/packages 9 | atom/storage 10 | atom/storage 11 | atom/blob-store 12 | 13 | bitbar/config 14 | 15 | doc/tags 16 | 17 | gitconfig.local 18 | 19 | sublime-text/Packages/bz2 20 | sublime-text/Packages/Babel 21 | sublime-text/Packages/User/Package Control.cache 22 | sublime-text/Packages/User/Package Control.last-run 23 | sublime-text/Packages/User/Package Control.merged-ca-bundle 24 | sublime-text/Packages/User/Package Control.system-ca-bundle 25 | sublime-text/Packages/User/Package Control.user-ca-bundle 26 | sublime-text/Packages/User/oscrypto-ca-bundle.crt 27 | 28 | vim/bundle 29 | vim/.netrwhist 30 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "vim/UltiSnips"] 2 | path = vim/UltiSnips 3 | url = git@github.com:drewbarontini/vim-snippets.git 4 | [submodule "sublime-text/Packages/User/Snippets"] 5 | path = sublime-text/Packages/User/Snippets 6 | url = git@github.com:drewbarontini/sublime-text-snippets.git 7 | [submodule "bin"] 8 | path = bin 9 | url = git@github.com:drewbarontini/bin-scripts.git 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Dotfiles 2 | 3 | My personal dotfiles covering a wide range of development and macOS settings. 4 | 5 | ```shell 6 | git clone git@github.com:drewbarontini/dotfiles.git ~/.dotfiles 7 | cd ~/.dotfiles 8 | ``` 9 | 10 | ```shell 11 | rake install # Install drewbarontini/dotfiles 12 | rake install:cleanup # Clean up after installation 13 | rake install:command_line_tools # Install XCode command line tools 14 | rake install:gems # Install Ruby gems 15 | rake install:git_submodules # Install git submodules 16 | rake install:homebrew # Install Homebrew for managing dev packages 17 | rake install:brewfile # Install Homebrew packages and Mac apps 18 | rake install:macos_settings # Install custom macOS settings and configuration 19 | rake install:npm_packages # Install NPM packages 20 | rake install:nvm # Install NVM for managing Node versions 21 | rake install:outliers # (INACTIVE) Install outlier applications 22 | rake install:pow # (INACTIVE) Install Pow for Rails URLs in dev 23 | rake install:rbenv # Install rbenv for managing Ruby versions 24 | rake install:sublime_text_settings # (INACTIVE) Install Sublime Text settings 25 | rake install:symlinks # Create symlinks 26 | rake install:terminal_italics # Install Terminal italics 27 | rake install:tmux_plugin_manager # Install tpm for managing Tmux plugins 28 | rake install:visual_studio_code_settings # Install Visual Studio Code settings 29 | rake install:vundle # Install Vundle for managing Vim plugins 30 | rake update # Update drewbarontini/dotfiles 31 | ``` 32 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 1.10.0 2 | -------------------------------------------------------------------------------- /ack/ackrc: -------------------------------------------------------------------------------- 1 | # **************************************************** 2 | # 3 | # Ackrc 4 | # -> Ack configuration 5 | # 6 | # **************************************************** 7 | 8 | # ---------------------------------------------------- 9 | # Color 10 | # ---------------------------------------------------- 11 | 12 | --color 13 | --color-filename=green 14 | --color-lineno=white 15 | --color-match=blue 16 | 17 | # ---------------------------------------------------- 18 | # Pager 19 | # ---------------------------------------------------- 20 | 21 | --pager=less -FRSX 22 | 23 | # ---------------------------------------------------- 24 | # Filetypes 25 | # ---------------------------------------------------- 26 | 27 | --type-add=html=.haml 28 | --type-add=ruby=.haml 29 | --type-set=coffee=.coffee 30 | --type-set=haml=.haml 31 | 32 | # ---------------------------------------------------- 33 | # Ignores 34 | # ---------------------------------------------------- 35 | 36 | # ----- Filetypes ----- # 37 | 38 | --nocss 39 | 40 | # ----- Directories ----- # 41 | 42 | --ignore-dir=.sass-cache 43 | --ignore-dir=bower_components 44 | --ignore-dir=build 45 | --ignore-dir=bundle 46 | --ignore-dir=log 47 | --ignore-dir=node_modules 48 | --ignore-dir=tmp 49 | 50 | # ---------------------------------------------------- 51 | # Search 52 | # ---------------------------------------------------- 53 | 54 | # Ignore case in lowercase searches 55 | --smart-case 56 | -------------------------------------------------------------------------------- /ag/agignore: -------------------------------------------------------------------------------- 1 | # **************************************************** 2 | # 3 | # Ag 4 | # -> Ag ignored files 5 | # 6 | # **************************************************** 7 | 8 | # ---------------------------------------------------- 9 | # Directories 10 | # ---------------------------------------------------- 11 | 12 | .sass-cache/ 13 | bower_components/ 14 | build/ 15 | bundle/ 16 | log/ 17 | node_modules/ 18 | tmp/ 19 | 20 | # ---------------------------------------------------- 21 | # Files 22 | # ---------------------------------------------------- 23 | 24 | *.log 25 | *.tmp 26 | -------------------------------------------------------------------------------- /atom/.gitignore: -------------------------------------------------------------------------------- 1 | storage 2 | compile-cache 3 | dev 4 | .npm 5 | .node-gyp 6 | -------------------------------------------------------------------------------- /atom/github.cson: -------------------------------------------------------------------------------- 1 | # Store non-visible GitHub package state. 2 | -------------------------------------------------------------------------------- /atom/init.coffee: -------------------------------------------------------------------------------- 1 | # Your init script 2 | # 3 | # Atom will evaluate this file each time a new window is opened. It is run 4 | # after packages are loaded/activated and after the previous editor state 5 | # has been restored. 6 | # 7 | # An example hack to log to the console when each text editor is saved. 8 | # 9 | # atom.workspace.observeTextEditors (editor) -> 10 | # editor.onDidSave -> 11 | # console.log "Saved! #{editor.getPath()}" 12 | -------------------------------------------------------------------------------- /atom/keymap.cson: -------------------------------------------------------------------------------- 1 | # Your keymap 2 | # 3 | # Atom keymaps work similarly to style sheets. Just as style sheets use 4 | # selectors to apply styles to elements, Atom keymaps use selectors to associate 5 | # keystrokes with events in specific contexts. 6 | # 7 | # You can create a new keybinding in this file by typing "key" and then hitting 8 | # tab. 9 | # 10 | # Here's an example taken from Atom's built-in keymap: 11 | # 12 | # 'atom-text-editor': 13 | # 'enter': 'editor:newline' 14 | # 15 | # 'atom-workspace': 16 | # 'ctrl-shift-p': 'core:move-up' 17 | # 'ctrl-p': 'core:move-down' 18 | # 19 | # You can find more information about keymaps in these guides: 20 | # * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings 21 | # * https://atom.io/docs/latest/behind-atom-keymaps-in-depth 22 | # 23 | # This file uses CoffeeScript Object Notation (CSON). 24 | # If you are unfamiliar with CSON, you can read more about it here: 25 | # https://github.com/bevry/cson#what-is-cson 26 | 27 | 'atom-text-editor:not(.mini)': 28 | 'ctrl-e': 'editor:move-to-end-of-line' 29 | 'cmd-shift-e' : 'emmet:expand-abbreviation' 30 | 'cmd-shift-j': 'easy-motion-redux:words' 31 | -------------------------------------------------------------------------------- /atom/packages.cson: -------------------------------------------------------------------------------- 1 | packages: [ 2 | "advanced-open-file" 3 | "apex-syntax" 4 | "apex-ui" 5 | "atom-csscomb" 6 | "atom-ide-ui" 7 | "atom-jade" 8 | "atom-material-syntax" 9 | "atom-material-syntax-dark" 10 | "atom-material-ui" 11 | "busy-signal" 12 | "docblockr" 13 | "emmet" 14 | "file-icons" 15 | "git-plus" 16 | "ide-flowtype" 17 | "intentions" 18 | "language-babel" 19 | "language-graphql" 20 | "language-haml" 21 | "language-javascript-jsx" 22 | "language-viml" 23 | "linter" 24 | "linter-eslint" 25 | "linter-ui-default" 26 | "minimap" 27 | "oceanic-next" 28 | "package-sync" 29 | "prettier-atom" 30 | "pristine-ui" 31 | "project-manager" 32 | "relative-numbers" 33 | "vim-mode-plus" 34 | "vim-mode-plus-keymaps-for-surround" 35 | "Zen" 36 | ] 37 | -------------------------------------------------------------------------------- /atom/projects.cson: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | title: "Belay" 4 | group: "Products" 5 | paths: [ 6 | "/Users/drewbarontini/Code/Sites/belay" 7 | ] 8 | }, 9 | { 10 | title: "Creator" 11 | group: "Products" 12 | paths: [ 13 | "/Users/drewbarontini/Code/Apps/creator" 14 | ] 15 | } 16 | { 17 | title: "New North" 18 | group: "Products" 19 | paths: [ 20 | "/Users/drewbarontini/Code/Sites/new-north" 21 | ] 22 | } 23 | ] 24 | -------------------------------------------------------------------------------- /atom/styles.less: -------------------------------------------------------------------------------- 1 | /* 2 | * Your Stylesheet 3 | * 4 | * This stylesheet is loaded when Atom starts up and is reloaded automatically 5 | * when it is changed and saved. 6 | * 7 | * Add your own CSS or Less to fully customize Atom. 8 | * If you are unfamiliar with Less, you can read more about it here: 9 | * http://lesscss.org 10 | */ 11 | 12 | /* 13 | * Examples 14 | * (To see them, uncomment and save) 15 | */ 16 | 17 | // style the background color of the tree view 18 | .tree-view { 19 | // background-color: whitesmoke; 20 | } 21 | 22 | // style the background and foreground colors on the atom-text-editor-element itself 23 | atom-text-editor { 24 | // color: white; 25 | // background-color: hsl(180, 24%, 12%); 26 | } 27 | 28 | // To style other content in the text editor's shadow DOM, use the ::shadow expression 29 | atom-text-editor .cursor { 30 | // border-color: red; 31 | } 32 | 33 | // Custom 34 | atom-text-editor { 35 | text-rendering: optimizeLegibility; 36 | 37 | .syntax--comment, 38 | .syntax--attribute-name.syntax--jsx, 39 | .syntax--attribute-name.syntax--html, 40 | .syntax--module.syntax--control.syntax--js, 41 | .syntax--storage.syntax--type.syntax--js:not(.syntax--arrow):not(.syntax--function), 42 | .syntax--keyword.syntax--typedef.syntax--flowtype, 43 | .syntax--keyword.syntax--control.syntax--conditional, 44 | .syntax--keyword.syntax--control.syntax--flow, 45 | .syntax--variable.syntax--this.syntax--js { 46 | font-style: italic !important; 47 | } 48 | 49 | .syntax--storage.syntax--type.syntax--function.syntax--arrow, 50 | .syntax--keyword.syntax--operator.syntax--logical:not(.syntax--control), 51 | .syntax--keyword.syntax--operator.syntax--comparison, 52 | .syntax--keyword.syntax--operator.syntax--relational, 53 | .syntax--keyword.syntax--operator.syntax--arithmetic, 54 | .syntax--punctuation.syntax--definition { 55 | font-family: "Fira Code"; 56 | } 57 | 58 | .syntax--meta.syntax--brace { 59 | font-family: "Operator Mono"; 60 | } 61 | 62 | .syntax--string.syntax--quoted, 63 | .syntax--string.syntax--regexp { 64 | -webkit-font-feature-settings: "liga" off, "calt" off; 65 | } 66 | } 67 | 68 | // Hides artifact from the `relative-numbers` plugin 69 | .linter-row { 70 | .absolute, 71 | .relative { 72 | display: none !important; 73 | } 74 | } 75 | 76 | // Apex theme overrides 77 | .settings-view .setting-description { 78 | font-weight: normal; 79 | } 80 | -------------------------------------------------------------------------------- /bash/bash_profile: -------------------------------------------------------------------------------- 1 | # ************************************* 2 | # 3 | # Bash Profile 4 | # 5 | # ************************************* 6 | 7 | # ------------------------------------- 8 | # Base 9 | # ------------------------------------- 10 | 11 | source ~/.shell/partials/path 12 | source ~/.shell/partials/vars 13 | source ~/.bash/partials/config 14 | source ~/.shell/partials/aliases 15 | source ~/.bash/completions/git.bash 16 | source ~/.shell/functions/general 17 | source ~/.shell/functions/git 18 | source ~/.shell/functions/wrappers 19 | source ~/.bash/partials/prompt 20 | source ~/.shell/partials/overrides 21 | 22 | # ------------------------------------- 23 | # Local 24 | # -> Files included in private, local dotfiles. 25 | # ------------------------------------- 26 | 27 | [[ -f ~/.shell-local/partials/init ]] && source ~/.shell-local/partials/init 28 | 29 | # ------------------------------------- 30 | # Extras 31 | # ------------------------------------- 32 | 33 | source ~/.shell/partials/extras 34 | -------------------------------------------------------------------------------- /bash/inputrc: -------------------------------------------------------------------------------- 1 | # ************************************* 2 | # 3 | # Inputrc 4 | # -> Readline configuration 5 | # 6 | # ************************************* 7 | 8 | # ------------------------------------- 9 | # Completion 10 | # ------------------------------------- 11 | 12 | # Enable completion case insensitivity 13 | set completion-ignore-case on 14 | 15 | # Show completion after press without bell 16 | set show-all-if-ambiguous on 17 | set show-all-if-unmodified on 18 | 19 | # Style completion list 20 | set colored-stats on 21 | set visible-stats on 22 | 23 | # ------------------------------------- 24 | # Mappings 25 | # ------------------------------------- 26 | 27 | # Use and to search history 28 | # '\C-j': history-search-forward 29 | # '\C-k': history-search-backward 30 | -------------------------------------------------------------------------------- /bash/partials/config: -------------------------------------------------------------------------------- 1 | # ************************************* 2 | # 3 | # Config 4 | # 5 | # ************************************* 6 | 7 | # ------------------------------------- 8 | # Exports 9 | # ------------------------------------- 10 | 11 | export CLICOLOR=1 12 | export EDITOR='vim' 13 | export SHELL='/bin/bash' 14 | 15 | # ------------------------------------- 16 | # vi Editing Mode 17 | # ------------------------------------- 18 | 19 | set -o vi 20 | 21 | # ------------------------------------- 22 | # rbenv 23 | # ------------------------------------- 24 | 25 | if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi 26 | export CFLAGS="-Wno-error=implicit-function-declaration" 27 | export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl) --with-readline-dir=$(brew --prefix readline) --with-libyaml-dir=$(brew --prefix libyaml) --with-zlib-dir=$(brew --prefix zlib)" 28 | 29 | # ------------------------------------- 30 | # Autojump 31 | # ------------------------------------- 32 | 33 | [[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh 34 | 35 | # ------------------------------------- 36 | # NVM 37 | # ------------------------------------- 38 | 39 | export NVM_DIR="$HOME/.nvm" 40 | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm 41 | [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion 42 | 43 | # ------------------------------------- 44 | # starship 45 | # ------------------------------------- 46 | 47 | eval "$(starship init bash)" 48 | 49 | # ------------------------------------- 50 | # Gulp Autocomplete 51 | # ------------------------------------- 52 | 53 | # eval "$(gulp --completion=bash)" 54 | -------------------------------------------------------------------------------- /bundle/config: -------------------------------------------------------------------------------- 1 | --- 2 | BUNDLE_BUILD__EVENTMACHINE: "--with-cppflags=-I/usr/local/opt/openssl/include" 3 | BUNDLE_PATH: ".bundle" 4 | BUNDLE_BUILD__PG: "--with-pg-config=/usr/local/bin/pg_config" 5 | BUNDLE_JOBS: "3" 6 | BUNDLE_BUILD__LIBV8: "--with-system-v8" 7 | BUNDLE_BUILD__PUMA: "--with-cflags=-Wno-error=implicit-function-declaration" 8 | -------------------------------------------------------------------------------- /editorconfig/editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_size = 2 9 | indent_style = space 10 | insert_final_newline = false 11 | trim_trailing_whitespace = true 12 | -------------------------------------------------------------------------------- /eslint/README.md: -------------------------------------------------------------------------------- 1 | ``` 2 | $ bash setup/eslint 3 | ``` -------------------------------------------------------------------------------- /eslint/eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "parser": "babel-eslint", 3 | "extends": [ 4 | "airbnb", 5 | "react-app", 6 | "plugin:react/recommended", 7 | "prettier", 8 | "prettier/react" 9 | ], 10 | "plugins": ["flowtype", "import", "jsx-a11y", "prettier", "react"], 11 | "env": { 12 | "browser": true, 13 | "node": true, 14 | "es6": true, 15 | "jest": true 16 | }, 17 | "parserOptions": { 18 | "ecmaVersion": 2018, 19 | "ecmaFeatures": { 20 | "jsx": true 21 | } 22 | }, 23 | "rules": { 24 | "strict": 0, 25 | "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], 26 | "class-methods-use-this": 0, 27 | "no-param-reassign": 0, 28 | "no-underscore-dangle": 0, 29 | "import/no-unresolved": [2, { "caseSensitive": false }] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /gem/gemrc: -------------------------------------------------------------------------------- 1 | gem: --no-rdoc --no-ri 2 | -------------------------------------------------------------------------------- /git/gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .bundle 3 | .vimrc.local 4 | -------------------------------------------------------------------------------- /git/template: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /iterm/tmux-256color.terminfo: -------------------------------------------------------------------------------- 1 | # A tmux-256color based TERMINFO that adds the escape sequences for italic. 2 | tmux-256color|screen with 256 colors and italic, 3 | sitm=\E[3m, ritm=\E[23m, 4 | use=screen-256color, 5 | -------------------------------------------------------------------------------- /iterm/xterm-256color-italic.terminfo: -------------------------------------------------------------------------------- 1 | # A xterm-256color based TERMINFO that adds the escape sequences for italic. 2 | xterm-256color-italic|xterm with 256 colors and italic, 3 | sitm=\E[3m, ritm=\E[23m, 4 | use=xterm-256color, 5 | -------------------------------------------------------------------------------- /prettier/prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "es5", 3 | "tabWidth": 2, 4 | "singleQuote": true, 5 | "proseWrap": "always" 6 | } 7 | -------------------------------------------------------------------------------- /rspec/rspec: -------------------------------------------------------------------------------- 1 | --color 2 | -------------------------------------------------------------------------------- /scripts/command-line-tools: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Command Line Tools 5 | # 6 | # **************************************************** 7 | 8 | xcode-select --install 9 | -------------------------------------------------------------------------------- /scripts/eslint: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # ESLint 5 | # 6 | # **************************************************** 7 | 8 | packages=( 9 | babel-eslint 10 | eslint 11 | eslint-config-airbnb 12 | eslint-config-flowtype 13 | eslint-config-prettier 14 | eslint-config-react-app 15 | eslint-plugin-prettier 16 | eslint-plugin-react 17 | eslint-plugin-import 18 | eslint-plugin-jsx-a11y 19 | prettier 20 | prettier-eslint 21 | ) 22 | 23 | if [[ -f yarn.lock ]]; then 24 | for package in ${packages[@]}; do 25 | yarn add --dev $package 26 | done 27 | else 28 | for package in ${packages[@]}; do 29 | npm install --dev $package 30 | done 31 | fi 32 | 33 | # npx install-peerdeps --dev eslint-config-airbnb 34 | 35 | function copy_eslintrc() { 36 | cat ~/.eslintrc >> .eslintrc 37 | } 38 | 39 | if [[ -f .eslintrc ]]; then 40 | copy_eslintrc 41 | else 42 | touch .eslintrc && copy_eslintrc 43 | fi 44 | 45 | # ---------------------------------------------------- 46 | # Disabled 47 | # ---------------------------------------------------- 48 | 49 | # prettier-eslint-cli -------------------------------------------------------------------------------- /scripts/gems: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Gems 5 | # 6 | # **************************************************** 7 | 8 | gems=() 9 | 10 | for gem in ${gems[@]}; do 11 | gem install $gem 12 | done 13 | 14 | # ---------------------------------------------------- 15 | # Disabled 16 | # ---------------------------------------------------- 17 | 18 | # bundler 19 | # desktop 20 | # rails 21 | -------------------------------------------------------------------------------- /scripts/git-submodules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Git Submodules 5 | # 6 | # **************************************************** 7 | 8 | git submodule init 9 | git submodule update 10 | -------------------------------------------------------------------------------- /scripts/homebrew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Homebrew 5 | # 6 | # **************************************************** 7 | 8 | if ! [ -x "$(command -v brew)" ]; then 9 | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 10 | else 11 | echo 'Homebrew is already installed on this machine.' 12 | fi -------------------------------------------------------------------------------- /scripts/npm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # NPM 5 | # 6 | # **************************************************** 7 | 8 | packages=( 9 | npx 10 | prettier 11 | prettier-eslint 12 | prettier-eslint-cli 13 | project-name-generator 14 | ) 15 | 16 | for package in ${packages[@]}; do 17 | npm install -g $package 18 | done 19 | 20 | # ---------------------------------------------------- 21 | # Disabled 22 | # ---------------------------------------------------- 23 | 24 | # avn 25 | # avn-nvm 26 | # avn-n 27 | # babel-eslint 28 | # create-react-app 29 | # eslint 30 | # eslint-config-prettier 31 | # eslint-config-react-app 32 | # eslint-plugin-prettier 33 | # eslint-plugin-react 34 | # eslint-plugin-import 35 | # eslint-plugin-jsx-a11y 36 | # flow-bin 37 | # gatsby-cli 38 | # imageoptim-cli 39 | # parker 40 | # psi 41 | # remind 42 | # remind-me 43 | # speed-test 44 | # stylefmt 45 | # stylelint 46 | # stylelint-order 47 | # stylestats 48 | # svgo 49 | -------------------------------------------------------------------------------- /scripts/nvm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # NVM 5 | # 6 | # **************************************************** 7 | 8 | function install_latest_node() { 9 | [[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh 10 | nvm install node 11 | nvm use node 12 | nvm alias default node 13 | } 14 | 15 | if [ ! -d "$HOME/.nvm" ]; then 16 | curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash 17 | install_latest_node 18 | else 19 | echo 'NVM is already installed on this machine. Installing latest Node...' 20 | install_latest_node 21 | fi 22 | -------------------------------------------------------------------------------- /scripts/outliers: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Outliers 5 | # -> Applications not in Cask or the Mac App Store 6 | # 7 | # **************************************************** 8 | 9 | # Linear 10 | # https://linear.app/download 11 | -------------------------------------------------------------------------------- /scripts/pow: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Pow 5 | # 6 | # **************************************************** 7 | 8 | curl get.pow.cx | sh -------------------------------------------------------------------------------- /scripts/sublime: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Sublime Text 5 | # 6 | # **************************************************** 7 | 8 | cd ~/Library/Application\ Support/Sublime\ Text\ 3/ 9 | rm -rf Packages 10 | rm -rf Installed\ Packages 11 | 12 | ln -s ~/.dotfiles/sublime-text/Packages Packages 13 | echo 'Symlinked ~/.dotfiles/sublime-text/Packages to Sublime Text Packages' 14 | 15 | ln -s ~/.dotfiles/sublime-text/Installed\ Packages Installed\ Packages 16 | echo 'Symlinked ~/.dotfiles/sublime-text/Installed\ Packages to Sublime Text Installed Packages' 17 | 18 | ln -s ~/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl 19 | echo 'Symlinked Sublime Text subl to /usr/local/bin/subl' 20 | -------------------------------------------------------------------------------- /scripts/terminal-italics: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # ************************************* 3 | # 4 | # Terminal Italics 5 | # 6 | # ************************************* 7 | 8 | tic ~/.dotfiles/iterm/tmux-256color.terminfo 9 | tic ~/.dotfiles/iterm/xterm-256color-italic.terminfo 10 | -------------------------------------------------------------------------------- /scripts/tpm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # TPM 5 | # 6 | # **************************************************** 7 | 8 | DIRECTORY="$HOME/.tmux/plugins/tpm" 9 | 10 | if [ ! -d "$DIRECTORY" ]; then 11 | git clone https://github.com/tmux-plugins/tpm $DIRECTORY 12 | echo "Done! Run 'Prefix + I' in Tmux to install plugins." 13 | else 14 | echo 'TPM is already installed on this machine.' 15 | fi 16 | -------------------------------------------------------------------------------- /scripts/update: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Update 5 | # 6 | # **************************************************** 7 | 8 | # NVM 9 | ( 10 | cd "$NVM_DIR" 11 | git fetch --tags origin 12 | git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)` 13 | ) && \. "$NVM_DIR/nvm.sh" 14 | 15 | # Git Submodules 16 | git submodule foreach git pull 17 | 18 | # Homebrew & Homebrew Packages 19 | brew update && brew cleanup && brew cleanup --prune-prefix && brew doctor 20 | -------------------------------------------------------------------------------- /scripts/visual-studio-code: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Visual Studio Code 5 | # 6 | # **************************************************** 7 | 8 | cd ~/Library/Application\ Support/Code/User 9 | [[ -f settings.json ]] && rm settings.json 10 | ln -s ~/.dotfiles/visual-studio-code/settings.json settings.json 11 | echo 'Symlinked ~/.dotfiles/visual-studio-code/snippets.json to Visual Studio Code Settings' 12 | -------------------------------------------------------------------------------- /scripts/vundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # **************************************************** 3 | # 4 | # Vundle 5 | # 6 | # **************************************************** 7 | 8 | DIRECTORY="$HOME/.vim/bundle/Vundle.vim" 9 | 10 | if [ ! -d "$DIRECTORY" ]; then 11 | git clone https://github.com/VundleVim/Vundle.vim.git $DIRECTORY 12 | echo "Done! Run ':PluginInstall' in Vim to install plugins." 13 | else 14 | echo 'Vundle is already installed on this machine.' 15 | fi 16 | -------------------------------------------------------------------------------- /settings.json: -------------------------------------------------------------------------------- 1 | /Users/drewbarontini/.dotfiles/visual-studio-code/settings.json -------------------------------------------------------------------------------- /shell/functions/wrappers: -------------------------------------------------------------------------------- 1 | # ************************************* 2 | # 3 | # Functions - Wrappers 4 | # 5 | # ************************************* 6 | 7 | # ------------------------------------- 8 | # Homebrew Dependencies 9 | # -> List out all brew packages and associated dependencies 10 | # ------------------------------------- 11 | # 12 | # Usage: `brew_deps` 13 | # 14 | 15 | function brew_deps() { 16 | brew list | while read cask; do echo -n $cask; brew deps $cask | awk '{ printf(" %s ", $0) }'; echo ""; done 17 | } 18 | 19 | # ------------------------------------- 20 | # Vim Launch 21 | # -> Launches vim with file or at root 22 | # ------------------------------------- 23 | # 24 | 25 | function vim_launch() { 26 | # If there are arguments... 27 | if [ $# -gt 0 ]; then 28 | vim "$@" 29 | else 30 | vim ./ 31 | fi 32 | } 33 | 34 | function vim_launch_no_fun() { 35 | # If there are arguments... 36 | if [ $# -gt 0 ]; then 37 | vim "$@" --cmd "let nofun=1" 38 | else 39 | vim ./ --cmd "let nofun=1" 40 | fi 41 | } 42 | -------------------------------------------------------------------------------- /shell/partials/extras: -------------------------------------------------------------------------------- 1 | # ************************************* 2 | # 3 | # Extras 4 | # 5 | # ************************************* 6 | 7 | # ------------------------------------- 8 | # Docker 9 | # ------------------------------------- 10 | 11 | export DOCKER_DEFAULT_PLATFORM=linux/amd64 12 | 13 | # ------------------------------------- 14 | # Prompt Command 15 | # ------------------------------------- 16 | 17 | export DISPATCHED=0 18 | export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND} history -a; dispatch" 19 | 20 | # ------------------------------------- 21 | # Disable C-s 22 | # ------------------------------------- 23 | 24 | stty -ixon 25 | stty stop undef 26 | -------------------------------------------------------------------------------- /shell/partials/overrides: -------------------------------------------------------------------------------- 1 | # ************************************* 2 | # 3 | # Overrides 4 | # 5 | # ************************************* 6 | 7 | # ------------------------------------- 8 | # git 9 | # ------------------------------------- 10 | 11 | __git_complete g __git_main 12 | 13 | # ------------------------------------- 14 | # git branch 15 | # ------------------------------------- 16 | 17 | __git_complete gb _git_branch 18 | __git_complete gbd _git_branch 19 | __git_complete git_delete_branch_for_real _git_branch 20 | 21 | # ------------------------------------- 22 | # git diff 23 | # ------------------------------------- 24 | 25 | __git_complete git_diff_from_master _git_diff 26 | 27 | # ------------------------------------- 28 | # git merge 29 | # ------------------------------------- 30 | 31 | __git_complete gm _git_merge 32 | 33 | # ------------------------------------- 34 | # git checkout 35 | # ------------------------------------- 36 | 37 | __git_complete go _git_checkout 38 | -------------------------------------------------------------------------------- /shell/partials/path: -------------------------------------------------------------------------------- 1 | # ************************************* 2 | # 3 | # Path 4 | # 5 | # ************************************* 6 | 7 | PATH_DIRECTORIES=( 8 | '/usr/local/bin' 9 | '/opt/homebrew/bin' 10 | '/usr/bin' 11 | '/bin' 12 | '/usr/sbin' 13 | '/sbin' 14 | "$HOME/.dotfiles/bin" 15 | ) 16 | 17 | [[ -d ~/.dotfiles-local/bin ]] && PATH_DIRECTORIES+=("$HOME/.dotfiles-local/bin") 18 | 19 | export PATH=$( IFS=:; echo "${PATH_DIRECTORIES[*]}" ) 20 | -------------------------------------------------------------------------------- /shell/partials/vars: -------------------------------------------------------------------------------- 1 | # ************************************* 2 | # 3 | # Vars 4 | # 5 | # ************************************* 6 | 7 | # ------------------------------------- 8 | # Paths 9 | # ------------------------------------- 10 | 11 | ALIASES_PATH="$HOME/.dotfiles/shell/partials/aliases" 12 | DOTFILES_PATH="$HOME/.dotfiles" 13 | DOTFILES_LOCAL_PATH="$HOME/.dotfiles-local" 14 | GENERALFUNC_PATH="$HOME/.dotfiles/shell/functions/general" -------------------------------------------------------------------------------- /starship/starship.toml: -------------------------------------------------------------------------------- 1 | [git_branch] 2 | symbol = "🌱 " 3 | 4 | [nodejs] 5 | symbol = "🤖 " 6 | 7 | [package] 8 | disabled = true 9 | 10 | [aws] 11 | disabled = true 12 | 13 | [pulumi] 14 | symbol = "🛥 " 15 | 16 | [cmd_duration] 17 | disabled = true 18 | 19 | command_timeout=1000 20 | -------------------------------------------------------------------------------- /sublime-text/Installed Packages/0_package_control_loader.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/0_package_control_loader.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/AdvancedNewFile.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/AdvancedNewFile.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/AngularJS (CoffeeScript).sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/AngularJS (CoffeeScript).sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Better CoffeeScript.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Better CoffeeScript.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Emmet.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Emmet.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Flow.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Flow.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/GhostText.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/GhostText.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/GitGutter.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/GitGutter.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/GraphQL.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/GraphQL.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/JSX.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/JSX.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Material Theme.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Material Theme.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Modific.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Modific.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Nettuts+ Fetch.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Nettuts+ Fetch.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Oceanic Next Italic Color Scheme.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Oceanic Next Italic Color Scheme.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Package Control.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Package Control.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Pug.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Pug.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/PyV8/osx-p3/_PyV8.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/PyV8/osx-p3/_PyV8.so -------------------------------------------------------------------------------- /sublime-text/Installed Packages/PyV8/osx-p3/__MACOSX/._PyV8.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/PyV8/osx-p3/__MACOSX/._PyV8.py -------------------------------------------------------------------------------- /sublime-text/Installed Packages/PyV8/osx-p3/__MACOSX/.__PyV8.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/PyV8/osx-p3/__MACOSX/.__PyV8.so -------------------------------------------------------------------------------- /sublime-text/Installed Packages/PyV8/osx-p3/config.json: -------------------------------------------------------------------------------- 1 | {"last_update": 1529494480.780743, "last_id": "cac719a547387675ff3d06804fb91691eae78c2d", "skip_update": false} -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Sass.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Sass.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Schemr.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Schemr.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/SublimeGit.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/SublimeGit.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Surround.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Surround.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Theme - Flatland.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Theme - Flatland.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Theme - Soda.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Theme - Soda.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Theme - Sodarized.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Theme - Sodarized.sublime-package -------------------------------------------------------------------------------- /sublime-text/Installed Packages/Theme - Spacegray.sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Installed Packages/Theme - Spacegray.sublime-package -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_style = space 7 | indent_size = 4 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.py] 12 | max_line_length = 120 13 | 14 | [{Context.sublime-menu,JsPrettier.sublime-commands,JsPrettier.sublime-settings}] 15 | indent_style = tab 16 | 17 | [*.{json,yml}] 18 | indent_size = 2 19 | 20 | [.markdownlintrc] 21 | indent_size = 2 22 | 23 | [{*.cmd,appveyor.yml}] 24 | end_of_line = crlf 25 | 26 | [*.{md,txt}] 27 | trim_trailing_whitespaces = false 28 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.env.example: -------------------------------------------------------------------------------- 1 | ######################################################################## 2 | # .env example file 3 | # 4 | # Rename this file to '.env' for your local environment variables to 5 | # be read (POSIX platforms only). 6 | ######################################################################## 7 | 8 | # 9 | # SonarQube Login Token (https://sonarcloud.io/account/security/): 10 | SONAR_LOGIN= 11 | 12 | # 13 | # Path to SonarQube Executable/Command (ex: '/usr/local/bin/sonar-scanner'): 14 | SONAR_SCANNER_CMD= 15 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 120 3 | ignore = D100,D101,D102,F811,E722,F821 4 | exclude = .git,__pycache__,.idea,messages,screenshots 5 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.cmd text eol=crlf 3 | appveyor.yml text eol=crlf 4 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.github/no-response.yml: -------------------------------------------------------------------------------- 1 | # Configuration for probot-no-response - https://github.com/probot/no-response 2 | 3 | # Number of days of inactivity before an Issue is closed for lack of response 4 | daysUntilClose: 14 5 | # Label requiring a response 6 | responseRequiredLabel: "awaiting-response" 7 | # Comment to post when closing an Issue for lack of response. Set to `false` to disable 8 | closeComment: > 9 | This issue has been automatically closed because there has been no response 10 | to our request for more information from the original author. With only the 11 | information that is currently in the issue, we don't have enough information 12 | to take action. Please reach out if you have or find the answers we need so 13 | that we can investigate further. 14 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.py[co] 3 | .cache 4 | __pycache__ 5 | node_modules 6 | *.html 7 | /tmp/ 8 | /.idea/ 9 | /.scannerwork/ 10 | /.env 11 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.markdownlintrc: -------------------------------------------------------------------------------- 1 | { 2 | "default": true, 3 | "headers": { "style": "atx" }, 4 | "line_length": { "line_length": 120 }, 5 | "whitespace": { "br_spaces": 2 }, 6 | "ul": { "indent": 4 }, 7 | "ol": { "style": "ordered" }, 8 | "html": { 9 | "allowed_elements": [ 10 | "a", 11 | "details", 12 | "kbd", 13 | "p", 14 | "strong", 15 | "summary" 16 | ] 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.no-sublime-package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/JsPrettier/.no-sublime-package -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.pylintrc: -------------------------------------------------------------------------------- 1 | [MASTER] 2 | ignore=.cache,.git,.idea,__pycache__,messages,screenshots 3 | 4 | [MESSAGES CONTROL] 5 | disable=missing-docstring,too-many-branches,too-many-public-methods,unidiomatic-typecheck,len-as-condition,too-many-return-statements,too-many-statements,fixme,too-many-locals,too-many-arguments,invalid-name,inconsistent-return-statements,too-many-lines,relative-beyond-top-level 6 | 7 | [FORMAT] 8 | max-line-length=120 9 | expected-line-ending-format=LF 10 | 11 | [TYPECHECK] 12 | ignored-modules=sublime,sublime_plugin 13 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/.travis.yml: -------------------------------------------------------------------------------- 1 | dist: trusty 2 | sudo: false 3 | 4 | # 5 | # required to run sonarqube/sonarcloud add-on: 6 | addons: 7 | sonarcloud: 8 | organization: "jonlabelle-github" 9 | token: 10 | secure: "EfB1NODLgc/Sp8JGzckrrxLPWB3x/mmfujMAMNBpLSbMDTn6tWdG7PKrOS5VNBlv/UtkSJgJ3VJkDA7A0IS8IxAdy1fxRBK/XB1Ws/OAh8m25/3Unm05PBGLOtyZlgup3jUzWm7pLtz+TLGLcvp+Z+RD80BM9Ck6dDZZrDBeImw9vwINebHGbbwrAUK07vqwl0BCrTmAWwILyPXLO4vlXtJyZeiUIVP2xaBXXG0rjpmy8Re4VIs/BClkGVAa5R0hKZAq5lsFavMXROLeUQyJd4axqsXY9/btCBGxvFFZW39OZPtZvAKTsvtbmyWwg8YgkhUx8bbEu6IkEgJKFZfrZEdPqWmQGH97fMVR2N8vl0ln0n0HHGtjGuXxtK3pWgp20Texa7BR+pMJRZkd/hVdXdKbQ/5og4ZwGZUwP//Ct9Mhq9gJ5dzYNsYx9vIsT6O++71jQM6zlETHpRjzBByt4BDOl6eHSDw1yqWqBJL++Wci64jE9HQFvflgVywCzQU4O0b0fLZcn/A2/d+b6dYF8yxpS26ZQ0yUotCBhbRMzHTqENemMAyyyuJgtdkEcH0l2j6ZmFAWWDgfus/H6cYM52mLUcu6lFgKzl6IRIrBUq4E4jEiU7J/DYRpFvY2/5xoWeJ11E6oOPCr+M3khHLArV221KLqFWwI/qTuy1hA1VY=" 11 | branches: master 12 | jdk: 13 | - oraclejdk8 14 | 15 | language: 16 | - python 17 | - node_js 18 | 19 | python: 20 | - "2.7" 21 | - "3.3" 22 | 23 | node_js: 24 | - "node" 25 | 26 | # 27 | # limit clone depth to 3, to speed up build: 28 | git: 29 | depth: 3 30 | 31 | cache: 32 | directories: 33 | - $HOME/.pylint.d 34 | - $HOME/.sonar/cache 35 | 36 | install: 37 | - bash scripts/install.sh 38 | 39 | script: 40 | - bash scripts/run_tests.sh 41 | - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sonar-scanner; fi' 42 | 43 | notifications: 44 | email: 45 | on_success: never 46 | on_failure: always 47 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Contributions to the project are welcome! Just open an [issue] or send a pull 4 | request. After review/acceptance, the change will be incorporated as soon as 5 | possible. 6 | 7 | ## Submitting a pull request 8 | 9 | When submitting changes, you can use whatever workflow you're more comfortable 10 | with. 11 | 12 | ### Using Github's web interface 13 | 14 | The easiest way to submit a change is to just edit the page directly on the 15 | Github interface. Check out the step-by-step instructions (with screenshots) on 16 | [Github Help]. 17 | 18 | ### Using the command line 19 | 20 | Alternatively, you can do most of the process from the command line: 21 | 22 | - [fork the repository] on the github web interface 23 | 24 | - clone your fork locally: 25 | `git clone https://github.com/{your_username}/SublimeJsPrettier.git 'JsPrettier' && cd JsPrettier` 26 | 27 | - create a feature branch, e.g. named after the command you plan to edit: 28 | `git checkout -b {branch_name}` 29 | 30 | - make your changes (edit existing files or create a new one) 31 | 32 | - commit the changes: 33 | `git commit --all -m "{commit_message}"` 34 | 35 | - push to your fork: 36 | `git push origin {branch_name}` 37 | 38 | - go to the github page for your fork, and click the green pull request button. 39 | 40 | > **NOTE:** Please send only related changes in the same pull request. Typically 41 | > a pull request will include changes in a single file. 42 | 43 | ### Commit message 44 | 45 | For the commit message, please follow the 46 | *[The seven rules of a great Git commit message]*. 47 | 48 | [issue]: https://github.com/jonlabelle/SublimeJsPrettier/issues 49 | [Github Help]: https://help.github.com/articles/editing-files-in-another-user-s-repository/ 50 | [The seven rules of a great Git commit message]: https://chris.beams.io/posts/git-commit/#seven-rules 51 | [fork the repository]: https://github.com/jonlabelle/SublimeJsPrettier/fork 52 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/Context.sublime-menu: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "caption": "-" 4 | }, 5 | { 6 | "caption": "JsPrettier Format Code", 7 | "command": "js_prettier" 8 | }, 9 | { 10 | "caption": "-" 11 | } 12 | ] 13 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/JsPrettier.sublime-commands: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "caption": "JsPrettier: Format Code", 4 | "command": "js_prettier" 5 | }, 6 | { 7 | "caption": "Preferences: JsPrettier Settings - Default", 8 | "command": "open_file", 9 | "args": { 10 | "file": "${packages}/JsPrettier/JsPrettier.sublime-settings" 11 | } 12 | }, 13 | { 14 | "caption": "Preferences: JsPrettier Settings - User", 15 | "command": "open_file", 16 | "args": { 17 | "file": "${packages}/User/JsPrettier.sublime-settings" 18 | } 19 | } 20 | ] 21 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 Jon LaBelle 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/Main.sublime-menu: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "caption": "Preferences", 4 | "mnemonic": "n", 5 | "id": "preferences", 6 | "children": [ 7 | { 8 | "caption": "Package Settings", 9 | "mnemonic": "P", 10 | "id": "package-settings", 11 | "children": [ 12 | { 13 | "caption": "JsPrettier", 14 | "children": [ 15 | { 16 | "command": "open_file", 17 | "args": { 18 | "file": "${packages}/JsPrettier/JsPrettier.sublime-settings" 19 | }, 20 | "caption": "Settings – Default" 21 | }, 22 | { 23 | "command": "open_file", 24 | "args": { 25 | "file": "${packages}/User/JsPrettier.sublime-settings" 26 | }, 27 | "caption": "Settings – User" 28 | }, 29 | { 30 | "caption": "-" 31 | }, 32 | { 33 | "command": "open_file", 34 | "args": { 35 | "file": "${packages}/JsPrettier/CHANGELOG.md" 36 | }, 37 | "caption": "Changelog..." 38 | }, 39 | { 40 | "caption": "-" 41 | } 42 | ] 43 | } 44 | ] 45 | } 46 | ] 47 | } 48 | ] 49 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/appveyor.yml: -------------------------------------------------------------------------------- 1 | build: off 2 | deploy: off 3 | version: '{build}' 4 | clone_depth: 3 5 | shallow_clone: true 6 | pull_requests: 7 | do_not_increment_build_number: true 8 | 9 | environment: 10 | matrix: 11 | - PYTHON: C:\Python27 12 | - PYTHON: C:\Python33 13 | 14 | install: 15 | - ps: Install-Product node '' 16 | - scripts\install.cmd %PYTHON% 17 | 18 | test_script: 19 | - scripts\run_tests.cmd %PYTHON% 20 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/jsprettier/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/JsPrettier/jsprettier/__init__.py -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/jsprettier/const.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | from __future__ import print_function 3 | 4 | 5 | PLUGIN_NAME = 'JsPrettier' 6 | PLUGIN_CMD_NAME = 'js_prettier' 7 | PROJECT_SETTINGS_KEY = PLUGIN_CMD_NAME 8 | SETTINGS_FILENAME = '{0}.sublime-settings'.format(PLUGIN_NAME) 9 | PRETTIER_OPTIONS_KEY = 'prettier_options' 10 | 11 | # https://prettier.io/docs/en/configuration.html 12 | PRETTIER_CONFIG_FILES = [ 13 | '.prettierrc', 14 | '.prettierrc.yml', 15 | '.prettierrc.yaml', 16 | '.prettierrc.json', 17 | '.prettierrc.js', 18 | 'prettier.config.js', 19 | 'package.json' 20 | ] 21 | 22 | PRETTIER_IGNORE_FILE = '.prettierignore' 23 | 24 | PRETTIER_OPTION_CLI_MAP = [ 25 | { 26 | 'option': 'printWidth', 27 | 'cli': '--print-width', 28 | 'default': '80' 29 | }, 30 | { 31 | 'option': 'singleQuote', 32 | 'cli': '--single-quote', 33 | 'default': 'false' 34 | }, 35 | { 36 | 'option': 'trailingComma', 37 | 'cli': '--trailing-comma', 38 | 'default': 'none' 39 | }, 40 | { 41 | 'option': 'bracketSpacing', 42 | 'cli': '--bracket-spacing', 43 | 'default': 'true' 44 | }, 45 | { 46 | 'option': 'jsxBracketSameLine', 47 | 'cli': '--jsx-bracket-same-line', 48 | 'default': 'false' 49 | }, 50 | { 51 | 'option': 'parser', 52 | 'cli': '--parser', 53 | 'default': 'babylon' 54 | }, 55 | { 56 | 'option': 'semi', 57 | 'cli': '--semi', 58 | 'default': 'true' 59 | }, 60 | { 61 | 'option': 'requirePragma', 62 | 'cli': '--require-pragma', 63 | 'default': 'false' 64 | }, 65 | { 66 | 'option': 'proseWrap', 67 | 'cli': '--prose-wrap', 68 | 'default': 'preserve' 69 | }, 70 | { 71 | 'option': 'arrowParens', 72 | 'cli': '--arrow-parens', 73 | 'default': 'avoid' 74 | } 75 | ] 76 | 77 | AUTO_FORMAT_FILE_EXTENSIONS = [ 78 | 'js', 79 | 'jsx', 80 | 'json', 81 | 'graphql', 82 | 'gql', 83 | 'ts', 84 | 'tsx', 85 | 'css', 86 | 'scss', 87 | 'less', 88 | 'md', 89 | 'vue' 90 | ] 91 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages.json: -------------------------------------------------------------------------------- 1 | { 2 | "install": "messages/install.txt", 3 | "1.0.1": "messages/1.0.1.txt", 4 | "1.0.2": "messages/1.0.2.txt", 5 | "1.0.3": "messages/1.0.3.txt", 6 | "1.1.0": "messages/1.1.0.txt", 7 | "1.1.1": "messages/1.1.1.txt", 8 | "1.1.5": "messages/1.1.5.txt", 9 | "1.1.7": "messages/1.1.7.txt", 10 | "1.2.0": "messages/1.2.0.txt", 11 | "1.2.4": "messages/1.2.4.txt", 12 | "1.2.5": "messages/1.2.5.txt", 13 | "1.3.0": "messages/1.3.0.txt", 14 | "1.3.1": "messages/1.3.1.txt", 15 | "1.4.0": "messages/1.4.0.txt", 16 | "1.5.0": "messages/1.5.0.txt", 17 | "1.6.0": "messages/1.6.0.txt", 18 | "1.7.0": "messages/1.7.0.txt", 19 | "1.8.0": "messages/1.8.0.txt", 20 | "1.9.0": "messages/1.9.0.txt", 21 | "1.10.0": "messages/1.10.0.txt", 22 | "1.11.0": "messages/1.11.0.txt", 23 | "1.12.0": "messages/1.12.0.txt", 24 | "1.13.0": "messages/1.13.0.txt", 25 | "1.14.0": "messages/1.14.0.txt", 26 | "1.15.0": "messages/1.15.0.txt", 27 | "1.16.0": "messages/1.16.0.txt", 28 | "1.17.0": "messages/1.17.0.txt", 29 | "1.18.0": "messages/1.18.0.txt", 30 | "1.19.0": "messages/1.19.0.txt", 31 | "1.20.0": "messages/1.20.0.txt" 32 | } 33 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.0.1.txt: -------------------------------------------------------------------------------- 1 | ## 1.0.1 2 | 3 | Release Date: 2017-01-18 4 | 5 | - Fixed package path to use "JsPrettier" instead of "SublimeJsPrettier". 6 | Previously caused the "Default" settings file not to open from the Main Menu. 7 | 8 | - Add notice regarding local installations of Prettier. The `node_modules` 9 | directory will be deleted after every package update pushed by Package 10 | Control. 11 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.0.2.txt: -------------------------------------------------------------------------------- 1 | ## 1.0.2 2 | 3 | Release Date: 2017-01-19 4 | 5 | - Remove the default value for "node_path", and internally try to sniff out the 6 | appropriate path. 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.0.3.txt: -------------------------------------------------------------------------------- 1 | ## 1.0.3 2 | 3 | Release Date: 2017-01-19 4 | 5 | - Incorporate new prettier option to specify which parser to use. Valid options 6 | for `parser` are `flow` and `babylon`. The `useFlowParser` option has been 7 | deprecated, in favor of the new `parser` option. 8 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.1.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.1.0 2 | 3 | Release Date: 2017-01-21 4 | 5 | - Removed the `node_path` option from settings. 6 | - Added new `prettier_cli_path` setting for those wanting to explicitly set the 7 | path to the prettier executable/command. 8 | - Removed support for local prettier installations stored in the Sublime Text 9 | Package directory. 10 | - Improved detection of environment prettier path. -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.1.1.txt: -------------------------------------------------------------------------------- 1 | ## 1.1.1 2 | 3 | Release Date: 2017-01-22 4 | 5 | - Introduced less aggressive error reporting (#4). Errors generated by the 6 | `prettier` cli are written to Sublime Text's console output window, instead of 7 | an alert dialog. 8 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.1.2.txt: -------------------------------------------------------------------------------- 1 | ## 1.1.2 2 | 3 | Release Date: 2017-01-28 4 | 5 | - Added support for merging selective `prettier_options` in the *User* 6 | `JsPrettier.sublime-settings` file. 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.1.5.txt: -------------------------------------------------------------------------------- 1 | ## 1.1.5 2 | 3 | Release Date: 2017-02-10 4 | 5 | - Remove extra line-breaks injected by the `prettier` cli command at the end of 6 | selected regions. 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.1.7.txt: -------------------------------------------------------------------------------- 1 | ## 1.1.7 2 | 3 | Release Date: 2017-02-10 4 | 5 | - Now when the `auto_format_on_save` setting is set to `true`, the entire file 6 | will always be formatted. 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.10.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.10.0 2 | 3 | Release Date: 2017-06-07 4 | 5 | - Added the new setting `max_file_size_limit` to restrict Prettier formatting 6 | based on file size. 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.11.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.11.0 2 | 3 | Release Date: 2017-06-29 4 | 5 | - Added support for JSON formatting (requires prettier v1.5+). 6 | - Added support for GraphQL formatting (requires prettier v1.5+). 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.12.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.12.0 2 | 3 | Release Date: 2017-07-02 4 | 5 | - Added new `auto_format_on_save_excludes` setting to ignore auto formatting 6 | when the target file, or its path resides in a particular location, and when 7 | `auto_format_on_save` is turned on. 8 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.13.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.13.0 2 | 3 | Release Date: 2017-09-01 4 | 5 | - Add support for reading configuration options from Prettier configuration 6 | files (e.g.: `.prettierrc` files). Requires prettier v1.6+. 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.14.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.14.0 2 | 3 | Release Date: 2017-09-02 4 | 5 | - Prettier configuration files are now automatically resolved via the 6 | `prettier --find-config-path ` command. 7 | Requires prettier v1.6+. 8 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.15.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.15.0 2 | 3 | Release Date: 2017-09-05 4 | 5 | - Added support for setting a custom Prettier config path 6 | (via`additional_cli_args` setting), or disabling Prettier config discovery all 7 | together; using the `additional_cli_args` setting. 8 | 9 | See the docs for more details and config examples: 10 | https://github.com/jonlabelle/SublimeJsPrettier#prettier-configuration-files 11 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.16.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.16.0 2 | 3 | Release Date: 2017-09-23 4 | 5 | - Added new setting for [requirePragma](https://github.com/prettier/prettier#require-pragma) option. 6 | 7 | - Allow formatting to take place when Prettier reports non-fatal errors. For 8 | example, when Prettier reports warnings (to stderr) about *unknown options* 9 | (#63, #64, #67, #68, #72). 10 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.17.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.17.0 2 | 3 | Release Date: 2017-11-10 4 | 5 | - Add support for formatting Markdown files (requires Prettier v1.8+). 6 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.18.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.18.0 2 | 3 | Release Date: 2017-12-09 4 | 5 | - Added support for "arrowParens" option. Configure formatting to include 6 | parentheses around a sole arrow function parameter. Requires Prettier v1.9+. 7 | 8 | See the Prettier "arrowParens" doc page for more info: 9 | https://prettier.io/docs/en/options.html#arrow-function-parentheses 10 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.19.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.19.0 2 | 3 | Release Date: 2018-01-12 4 | 5 | - Support for Vue Single File Components. Requires Prettier v1.10+. 6 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.2.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.2.0 2 | 3 | Release Date: 2017-02-10 4 | 5 | - Now when the `auto_format_on_save` setting is set to `true`, the entire file 6 | will always be formatted. 7 | - Remove extra line-breaks injected by the `prettier` cli command at the end of 8 | selected regions and entire file. 9 | - Added Context Menu shortcut. 10 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.2.4.txt: -------------------------------------------------------------------------------- 1 | ## 1.2.4 2 | 3 | Release Date: 2017-02-16 4 | 5 | - Added support for the new `jsxBracketSameLine` option. When 6 | `jsxBracketSameLine` is true (the default is false), right-angle brackets ">" 7 | of multi-line jsx elements will be placed at the end of the last line, instead 8 | of being alone on the next line. You may be required to update to the latest 9 | version of the Prettier to leverage the `jsxBracketSameLine` option 10 | (available since v0.17.0). 11 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.2.5.txt: -------------------------------------------------------------------------------- 1 | ## 1.2.5 2 | 3 | Release Date: 2017-02-16 4 | 5 | - Added format on save support for .jsx files. 6 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.20.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.20.0 2 | 3 | Release Date: 2018-02-13 4 | 5 | - Added new `auto_format_on_save_requires_prettier_config` setting that will 6 | enable/disable auto format on save *only* if a Prettier config file is (or isn't) found. 7 | 8 | The Prettier config file is resolved by first checking if a `--config ` 9 | is specified in the `additional_cli_args` setting, then by searching the 10 | location of the file being formatted, and finally navigating up the file tree 11 | until a config file is (or isn't) found. 12 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.3.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.3.0 2 | 3 | Release Date: 2017-02-18 4 | 5 | - Added the new setting `allow_inline_formatting` (defaults to `false`) which 6 | provides the ability to format "selections" of in-lined JavaScript code, 7 | outside of the normal JavaScript syntax. For example, to format a selection of 8 | JavaScript code within a PHP or HTML file. When `true`, the JsPrettier command 9 | is available for use across all Sublime Text syntaxes. 10 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.3.1.txt: -------------------------------------------------------------------------------- 1 | ## 1.3.1 2 | 3 | Release Date: 2017-02-19 4 | 5 | - Added support for modified `trailingComma` option. The `trailingComma` option 6 | controls the printing of trailing commas wherever possible. 7 | 8 | Valid options are: 9 | 10 | "none" - No trailing commas 11 | "es5" - Trailing commas where valid in ES5 (objects, arrays, etc) 12 | "all" - Trailing commas wherever possible (function arguments) 13 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.4.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.4.0 2 | 3 | Release Date: 2017-02-20 4 | 5 | - Added support for Project-level settings. 6 | For usage, see: 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.5.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.5.0 2 | 3 | Release Date: 2017-02-24 4 | 5 | - Added the ability to specify a custom node path, via the `node_path` setting. 6 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.6.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.6.0 2 | 3 | Release Date: 2017-03-08 4 | 5 | - Introduced the `debug` (bool) setting. When enabled (true), additional 6 | debugging information about the command and configured settings will be 7 | printed to the Sublime Text Console; useful for troubleshooting purposes. 8 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.7.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.7.0 2 | 3 | Release Date: 2017-04-13 4 | 5 | - Added support for new `--semi` and `--use-tabs` options. 6 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.8.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.8.0 2 | 3 | Release Date: 2017-06-04 4 | 5 | - Added new setting to allow formatting custom file extensions. 6 | - Added support for CSS formatting (requires prettier v1.4+). 7 | - Built-in support for TypeScript. 8 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/messages/1.9.0.txt: -------------------------------------------------------------------------------- 1 | ## 1.9.0 2 | 3 | Release Date: 2017-06-05 4 | 5 | - Added new setting `additional_cli_args` for appending additional arguments to 6 | the prettier cli command. 7 | 8 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/package-metadata.json: -------------------------------------------------------------------------------- 1 | {"sublime_text": "*", "platforms": ["*"], "description": "JsPrettier is a Sublime Text Plug-in for Prettier, the opinionated code formatter.", "dependencies": [], "version": "1.20.17", "url": "https://github.com/jonlabelle/SublimeJsPrettier"} -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sublime-js-prettier", 3 | "version": "1.20.17", 4 | "description": "JsPrettier is a Sublime Text Plug-in for Prettier, the opinionated code formatter.", 5 | "author": "Jon LaBelle", 6 | "license": "MIT", 7 | "dependencies": { 8 | "prettier": "latest" 9 | }, 10 | "repository": "jonlabelle/SublimeJsPrettier", 11 | "keywords": [ 12 | "sublime", 13 | "sublimetext", 14 | "plugin", 15 | "prettier", 16 | "jsprettier", 17 | "formatter", 18 | "javascript", 19 | "css" 20 | ], 21 | "bugs": { 22 | "url": "https://github.com/jonlabelle/SublimeJsPrettier/issues" 23 | }, 24 | "homepage": "https://github.com/jonlabelle/SublimeJsPrettier" 25 | } 26 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/requirements.txt: -------------------------------------------------------------------------------- 1 | # pip dev/test dependencies 2 | flake8 3 | pep8-naming 4 | pytest==3.2.3 5 | pylint 6 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/screenshots/before_and_after.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/JsPrettier/screenshots/before_and_after.gif -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/screenshots/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/JsPrettier/screenshots/demo.gif -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/scripts/install.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | set PYTHON=%~1 5 | if defined PYTHON set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% 6 | set SCRIPTSDIR=%~dp0 7 | 8 | pushd "%SCRIPTSDIR%" && pushd .. 9 | 10 | echo. > Install pip requirements 11 | pip install -r requirements.txt 12 | 13 | echo. > Install npm packages 14 | npm install -g markdownlint-cli 15 | 16 | popd && popd 17 | 18 | echo. 19 | echo. Finished. 20 | endlocal 21 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | [ "$TRAVIS" == "true" ] && set -x 5 | 6 | readonly PREVIOUSWRKDIR="$(pwd)" 7 | readonly SCRIPTSDIR="$(cd "$(dirname "${0}")"; echo "$(pwd)")" 8 | 9 | PIPCMD= 10 | 11 | 12 | cd_project_root() { 13 | cd "${SCRIPTSDIR}" && cd .. 14 | } 15 | 16 | cd_previous_working_dir() { 17 | [ -d "${PREVIOUSWRKDIR}" ] && cd "${PREVIOUSWRKDIR}" 18 | } 19 | 20 | python_major_version() { 21 | echo -n "> Parse Python major version " >&2 22 | 23 | local py_ver= 24 | local py_major_ver= 25 | 26 | py_ver="$(python --version 2>&1)" 27 | echo "($py_ver)" >&2 28 | py_major_ver="$(echo "$py_ver" | cut -d' ' -f 2 | cut -d'.' -f 1)" 29 | echo "major version is '$py_major_ver'" >&2 30 | echo "$py_major_ver" 31 | } 32 | 33 | resolve_pip_cmd() { 34 | echo && echo '> Resolve pip command' 35 | 36 | local py_major_ver="$1" 37 | local pip_cmd_ver="pip${py_major_ver}" 38 | 39 | if [ -x "$(command -v pip)" ]; then 40 | PIPCMD=$(which pip) 41 | elif [ -x "$(command -v "$pip_cmd_ver")" ]; then 42 | PIPCMD=$(which "$pip_cmd_ver") 43 | else 44 | echo "Error: Could not resolve path to pip." >&2 45 | exit 1 46 | fi 47 | 48 | echo "$PIPCMD" 49 | } 50 | 51 | install_pip_requirements() { 52 | echo && echo '> Install pip requirements' 53 | "${PIPCMD}" install -r requirements.txt 54 | } 55 | 56 | install_npm_packages() { 57 | echo && echo '> Install npm packages' 58 | npm install -g markdownlint-cli 59 | } 60 | 61 | 62 | main() { 63 | cd_project_root 64 | resolve_pip_cmd "$(python_major_version)" 65 | install_pip_requirements 66 | install_npm_packages 67 | cd_previous_working_dir 68 | 69 | echo && echo 'Finished.' 70 | } 71 | 72 | main 73 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/scripts/run_tests.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | set PYTHON=%~1 5 | if defined PYTHON set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% 6 | set SCRIPTSDIR=%~dp0 7 | 8 | pushd "%SCRIPTSDIR%" && pushd .. 9 | 10 | echo. 11 | echo. > Run pytest 12 | py.test . 13 | 14 | echo. 15 | echo. > Run flake8 16 | flake8 . 17 | 18 | echo. 19 | echo. > Run pylint 20 | pylint JsPrettier.py 21 | 22 | echo. 23 | echo. > Run markdownlint 24 | markdownlint . 25 | 26 | popd && popd 27 | 28 | echo. 29 | echo. Finished. 30 | endlocal 31 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/scripts/run_tests.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | [ "$TRAVIS" == "true" ] && set -x 5 | 6 | readonly PREVIOUSWRKDIR="$(pwd)" 7 | readonly SCRIPTSDIR="$(cd "$(dirname "${0}")"; echo "$(pwd)")" 8 | 9 | 10 | cd_project_root() { 11 | echo '> cd to project root' 12 | cd "${SCRIPTSDIR}" && cd .. 13 | } 14 | 15 | cd_previous_working_dir() { 16 | echo '> Restore previous working directory' 17 | [ -d "${PREVIOUSWRKDIR}" ] && cd "${PREVIOUSWRKDIR}" 18 | } 19 | 20 | run_pytest() { 21 | echo 22 | echo '> Run pytest' 23 | py.test . 24 | } 25 | 26 | run_flake8() { 27 | echo 28 | echo '> Run flake8' 29 | echo -n 'Total errors: ' 30 | flake8 . --count 31 | } 32 | 33 | run_pylint() { 34 | echo 35 | echo '> Run pylint' 36 | pylint JsPrettier.py 37 | } 38 | 39 | run_markdownlint() { 40 | echo '> Run markdownlint' 41 | markdownlint . 42 | echo 'Markdown looks good.' && echo 43 | } 44 | 45 | 46 | main() { 47 | cd_project_root 48 | run_pytest 49 | run_flake8 50 | run_pylint 51 | run_markdownlint 52 | cd_previous_working_dir 53 | 54 | echo & echo 'Finished.' 55 | } 56 | 57 | main 58 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/sonar-project.properties: -------------------------------------------------------------------------------- 1 | sonar.projectKey=org.jonlabelle-github:SublimeJsPrettier 2 | sonar.projectName=SublimeJsPrettier 3 | sonar.projectVersion=latest 4 | sonar.organization=jonlabelle-github 5 | 6 | sonar.links.homepage=https://github.com/jonlabelle/SublimeJsPrettier 7 | sonar.links.ci=https://travis-ci.org/jonlabelle/SublimeJsPrettier 8 | sonar.links.scm=https://github.com/jonlabelle/SublimeJsPrettier 9 | sonar.links.issue=https://github.com/jonlabelle/SublimeJsPrettier/issues 10 | 11 | sonar.host.url=https://sonarcloud.io 12 | 13 | sonar.sourceEncoding=UTF-8 14 | sonar.exclusions=.git/**/*,.github/*,.idea/**/*,messages/*,screenshots/*,*.html,.env,.env.example 15 | sonar.coverage.exclusions=*.*,jsprettier/*,tests/* 16 | sonar.sources=. 17 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/tests/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit tests.""" 2 | -------------------------------------------------------------------------------- /sublime-text/Packages/JsPrettier/tests/test_json.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | import fnmatch 4 | import os 5 | import unittest 6 | 7 | from . import validate_json_format 8 | 9 | 10 | class TestSettings(unittest.TestCase): 11 | def _get_json_files(self, file_pattern, folder='.'): 12 | for root, dirnames, filenames in os.walk(folder): 13 | for filename in fnmatch.filter(filenames, file_pattern): 14 | yield os.path.join(root, filename) 15 | for dirname in [d for d in dirnames 16 | if d not in ('.cache', '.git', '.github', '.idea', 17 | 'messages', 'screenshots', 'scripts', os.path.join('tests', '__pycache__'))]: 18 | for f in self._get_json_files(file_pattern, os.path.join(root, dirname)): 19 | yield f 20 | 21 | def test_json_settings(self): 22 | """Test each JSON file.""" 23 | file_patterns = ( 24 | '*.json', 25 | '*.sublime-commands', 26 | '*.sublime-menu', 27 | '*.sublime-settings', 28 | '.markdownlintrc' 29 | ) 30 | for file_pattern in file_patterns: 31 | for f in self._get_json_files(file_pattern): 32 | print(f) 33 | self.assertFalse(validate_json_format.CheckJsonFormat(False, True).check_format(f), 34 | "%s does not comform to expected format!" % f) 35 | -------------------------------------------------------------------------------- /sublime-text/Packages/PyV8/osx-p3/_PyV8.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/PyV8/osx-p3/_PyV8.so -------------------------------------------------------------------------------- /sublime-text/Packages/PyV8/osx-p3/__MACOSX/._PyV8.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/PyV8/osx-p3/__MACOSX/._PyV8.py -------------------------------------------------------------------------------- /sublime-text/Packages/PyV8/osx-p3/__MACOSX/.__PyV8.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/PyV8/osx-p3/__MACOSX/.__PyV8.so -------------------------------------------------------------------------------- /sublime-text/Packages/PyV8/osx-p3/config.json: -------------------------------------------------------------------------------- 1 | {"skip_update": false, "last_id": "cac719a547387675ff3d06804fb91691eae78c2d", "last_update": 1484076423.626742} -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/.gitignore: -------------------------------------------------------------------------------- 1 | site 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 Gadzhi Kharkharov 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/README.md: -------------------------------------------------------------------------------- 1 | # Spacegray 2 | 3 | Spacegray is all about hype and minimal. 4 | 5 | ![Screenshot](Spacegray.png) 6 | 7 | ## Install 8 | 9 | ### Via Package Control 10 | 11 | Theme is listed as `Theme - Spacegray` in Will Bond's [Sublime Package Control](https://sublime.wbond.net). 12 | 13 | ### Manual 14 | 15 | 1. [Download the .zip](https://github.com/kkga/spacegray/archive/master.zip) 16 | 2. Unzip and rename the folder to `Theme - Spacegray` 17 | 3. Copy the folder into `Packages` directory, which you can find using the menu item `Preferences -> Browse Packages...` in Sublime Text 18 | 19 | ## Setup 20 | 21 | Activate the UI theme and color scheme by modifying your user preferences file, which you can find using the menu item `Preferences -> Settings - User` in Sublime Text or by clicking `cmd + ,` on a Mac. 22 | 23 | Spacegray works best and comes with [Base16 Ocean](http://chriskempson.github.io/base16/#ocean) color scheme by Chris Kempson. 24 | 25 | ### Example settings 26 | ``` 27 | { 28 | "theme": "Spacegray.sublime-theme", 29 | "color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme" 30 | } 31 | ``` 32 | -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/Widget - Spacegray.stTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | author 6 | Gadzhi Kharkharov 7 | comment 8 | Spacegray 9 | name 10 | Spacegray 11 | settings 12 | 13 | 14 | settings 15 | 16 | background 17 | #222830 18 | caret 19 | #ECCC87 20 | foreground 21 | #ECCC87 22 | invisibles 23 | #4f5b66 24 | selection 25 | #4f5b66 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/Widget - Spacegray.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "color_scheme": "Packages/Theme - Spacegray/Spacegray/Widget - Spacegray.stTheme", 3 | "draw_shadows": false 4 | } 5 | -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/buffer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/buffer.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/buffer@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/buffer@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/casesens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/casesens.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/casesens@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/casesens@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/circle.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/circle@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/circle@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/close.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/close@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/close@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/context.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/context.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/context@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/context@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/folder-closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/folder-closed.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/folder-closed@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/folder-closed@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/folder-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/folder-open.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/folder-open@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/folder-open@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/highlight.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/highlight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/highlight@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/regex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/regex.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/regex@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/regex@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/reverse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/reverse.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/reverse@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/reverse@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/selection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/selection.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/selection@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/selection@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/wholeword.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/wholeword.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/wholeword@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/wholeword@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/wrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/wrap.png -------------------------------------------------------------------------------- /sublime-text/Packages/Theme - Spacegray/Spacegray/wrap@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/Theme - Spacegray/Spacegray/wrap@2x.png -------------------------------------------------------------------------------- /sublime-text/Packages/User/ApplySyntax.sublime-settings: -------------------------------------------------------------------------------- 1 | 2 | { 3 | // If you want exceptions reraised so you can see them in the console, change this to true. 4 | "reraise_exceptions": false, 5 | 6 | // If you want to have a syntax applied when new files are created, set new_file_syntax to the name of the syntax to use. 7 | // The format is exactly the same as "name" in the rules below. For example, if you want to have a new file use 8 | // JavaScript syntax, set new_file_syntax to 'JavaScript'. 9 | "new_file_syntax": false, 10 | 11 | // Put your custom syntax rules here: 12 | "syntaxes": [ 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/CoffeeScript.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "extensions": 3 | [ 4 | "coffee" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/Default (OSX).sublime-keymap: -------------------------------------------------------------------------------- 1 | [ 2 | { "keys": ["shift+alt+n"], "command": "advanced_new_file"}, 3 | {"keys": ["ctrl+u"], "command": "scroll_lines", "args": {"amount": 40.0}, "context": [{ "key": "setting.command_mode" }]}, 4 | {"keys": ["ctrl+d"], "command": "scroll_lines", "args": {"amount": -40.0}, "context": [{"key": "setting.command_mode"}]}, 5 | { "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, "context": 6 | [ 7 | { "key": "following_text", "operator": "regex_contains", "operand": "^[)\"\\]]", "match_all": true }, 8 | { "key": "auto_complete_visible", "operator": "equal", "operand": false } 9 | ] 10 | } 11 | ] 12 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/Fetch.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "files": 3 | { 4 | "jquery": "http://code.jquery.com/jquery.min.js", 5 | "mvcss-app": "https://raw.github.com/mvcss/mvcss/master/application.sass", 6 | "mvcss-base": "https://github.com/mvcss/mvcss/blob/master/core/_base.sass", 7 | "mvcss-content": "https://github.com/mvcss/mvcss/blob/master/core/_content.sass", 8 | "mvcss-grid": "https://raw.github.com/mvcss/library/master/modules/_grid.sass", 9 | "mvcss-helpers": "https://github.com/mvcss/mvcss/blob/master/core/_helpers.sass", 10 | "mvcss-layout": "https://github.com/mvcss/mvcss/blob/master/core/_layout.sass", 11 | "mvcss-reset": "https://github.com/mvcss/mvcss/blob/master/core/_reset.scss", 12 | "mvcss-settings": "https://github.com/mvcss/mvcss/blob/master/core/_settings.sass" 13 | }, 14 | "packages": 15 | { 16 | "html5_boilerplate": "https://github.com/h5bp/html5-boilerplate/zipball/master", 17 | "mvcss": "https://github.com/mvcss/mvcss/zipball/master", 18 | "mvcss-library": "https://github.com/mvcss/library/zipball/master" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/JSX.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "extensions": 3 | [ 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/JavaScript (Babel).sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "extensions": 3 | [ 4 | "js" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/JavaScript.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "extensions": 3 | [ 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/Package Control.ca-list: -------------------------------------------------------------------------------- 1 | [ 2 | "1c5282418e2cb4989cd6beddcdbab0b5", 3 | "6835ae85517390462efa57fe8cace7bc", 4 | "7f4f8622b4fd001c7f648e09aae7edaa", 5 | "897abe0b41fd2f64e9e2e351cbc36d76", 6 | "d867a7b2aecc46f9c31afc4f2f50de05", 7 | "7d0986b90061d60c8c02aa3b1cf23850" 8 | ] -------------------------------------------------------------------------------- /sublime-text/Packages/User/Package Control.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "auto_upgrade_last_run": null, 3 | "bootstrapped": true, 4 | "in_process_packages": 5 | [ 6 | "Better CoffeeScript", 7 | "CoffeeScript", 8 | "GitGutter", 9 | "JsPrettier" 10 | ], 11 | "installed_packages": 12 | [ 13 | "AdvancedNewFile", 14 | "AngularJS (CoffeeScript)", 15 | "Babel", 16 | "Better CoffeeScript", 17 | "CoffeeScript", 18 | "Emmet", 19 | "Flow", 20 | "GhostText", 21 | "GitGutter", 22 | "GraphQL", 23 | "JsPrettier", 24 | "JSX", 25 | "Material Theme", 26 | "Modific", 27 | "Nettuts+ Fetch", 28 | "Oceanic Next Italic Color Scheme", 29 | "Package Control", 30 | "Pug", 31 | "Sass", 32 | "Schemr", 33 | "SublimeGit", 34 | "Surround", 35 | "Theme - Flatland", 36 | "Theme - Soda", 37 | "Theme - Sodarized", 38 | "Theme - Spacegray" 39 | ] 40 | } 41 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/Preferences.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "auto_complete_commit_on_tab": true, 3 | "bold_folder_labels": true, 4 | "caret_style": "wide", 5 | "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", 6 | "create_window_at_startup": false, 7 | "ensure_newline_at_eof_on_save": true, 8 | "file_exclude_patterns": 9 | [ 10 | ".DS_Store" 11 | ], 12 | "folder_exclude_patterns": 13 | [ 14 | "bin", 15 | ".bundle", 16 | ".git", 17 | ".gulp-scss-cache", 18 | "node_modules", 19 | ".sass-cache", 20 | "tmp" 21 | ], 22 | "font_face": "Operator Mono", 23 | "font_options": 24 | [ 25 | "subpixel_antialias" 26 | ], 27 | "font_size": 15.0, 28 | "highlight_line": true, 29 | "highlight_modified_tabs": true, 30 | "ignored_packages": 31 | [ 32 | "Better CoffeeScript", 33 | "CoffeeScript", 34 | "GitGutter", 35 | "JsPrettier", 36 | "Modific" 37 | ], 38 | "indent_guide_options": 39 | [ 40 | "draw_normal", 41 | "draw_active" 42 | ], 43 | "line_padding_bottom": 3, 44 | "line_padding_top": 3, 45 | "material_theme_tabs_autowidth": true, 46 | "open_files_in_new_window": false, 47 | "rulers": 48 | [ 49 | 80 50 | ], 51 | "scroll_past_end": true, 52 | "tab_size": 2, 53 | "theme": "Default.sublime-theme", 54 | "translate_tabs_to_spaces": true, 55 | "trim_trailing_white_space_on_save": true, 56 | "vintage_start_in_command_mode": true, 57 | "wide_caret": true, 58 | "word_wrap": false 59 | } 60 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/Ruby Haml.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "extensions": 3 | [ 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/Sass.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "extensions": 3 | [ 4 | "sass" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /sublime-text/Packages/User/SchemrFavorites.sublime-settings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/User/SchemrFavorites.sublime-settings -------------------------------------------------------------------------------- /sublime-text/Packages/markupsafe/.hg_archival.txt: -------------------------------------------------------------------------------- 1 | repo: f36d758e33e33fa6c6578316c3ef73ffba6d3e19 2 | node: a04e870e72ae7244e3843372acb272132e69f133 3 | branch: default 4 | tag: 0.23.0 5 | -------------------------------------------------------------------------------- /sublime-text/Packages/markupsafe/.hgtags: -------------------------------------------------------------------------------- 1 | f36d758e33e33fa6c6578316c3ef73ffba6d3e19 0.23 2 | f36d758e33e33fa6c6578316c3ef73ffba6d3e19 0.23 3 | 0000000000000000000000000000000000000000 0.23 4 | -------------------------------------------------------------------------------- /sublime-text/Packages/markupsafe/all/markupsafe/_compat.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | markupsafe._compat 4 | ~~~~~~~~~~~~~~~~~~ 5 | 6 | Compatibility module for different Python versions. 7 | 8 | :copyright: (c) 2013 by Armin Ronacher. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | import sys 12 | 13 | PY2 = sys.version_info[0] == 2 14 | 15 | if not PY2: 16 | text_type = str 17 | string_types = (str,) 18 | unichr = chr 19 | int_types = (int,) 20 | iteritems = lambda x: iter(x.items()) 21 | else: 22 | text_type = unicode 23 | string_types = (str, unicode) 24 | unichr = unichr 25 | int_types = (int, long) 26 | iteritems = lambda x: x.iteritems() 27 | -------------------------------------------------------------------------------- /sublime-text/Packages/markupsafe/all/markupsafe/_native.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | markupsafe._native 4 | ~~~~~~~~~~~~~~~~~~ 5 | 6 | Native Python implementation the C module is not compiled. 7 | 8 | :copyright: (c) 2010 by Armin Ronacher. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | from markupsafe import Markup 12 | from markupsafe._compat import text_type 13 | 14 | 15 | def escape(s): 16 | """Convert the characters &, <, >, ' and " in string s to HTML-safe 17 | sequences. Use this if you need to display text that might contain 18 | such characters in HTML. Marks return value as markup string. 19 | """ 20 | if hasattr(s, '__html__'): 21 | return s.__html__() 22 | return Markup(text_type(s) 23 | .replace('&', '&') 24 | .replace('>', '>') 25 | .replace('<', '<') 26 | .replace("'", ''') 27 | .replace('"', '"') 28 | ) 29 | 30 | 31 | def escape_silent(s): 32 | """Like :func:`escape` but converts `None` into an empty 33 | markup string. 34 | """ 35 | if s is None: 36 | return Markup() 37 | return escape(s) 38 | 39 | 40 | def soft_unicode(s): 41 | """Make a string unicode if it isn't already. That way a markup 42 | string is not converted back to unicode. 43 | """ 44 | if not isinstance(s, text_type): 45 | s = text_type(s) 46 | return s 47 | -------------------------------------------------------------------------------- /sublime-text/Packages/markupsafe/dependency-metadata.json: -------------------------------------------------------------------------------- 1 | {"sublime_text": "*", "version": "0.23.0", "description": "Python MarkupSafe module", "platforms": ["*"], "url": "https://bitbucket.org/teddy_beer_maniac/sublime-text-dependency-markupsafe/issues"} -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | 5 | # C extensions 6 | *.so 7 | 8 | # Distribution / packaging 9 | .Python 10 | env/ 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | *.egg-info/ 23 | .installed.cfg 24 | *.egg 25 | 26 | # PyInstaller 27 | # Usually these files are written by a python script from a template 28 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 29 | *.manifest 30 | *.spec 31 | 32 | # Installer logs 33 | pip-log.txt 34 | pip-delete-this-directory.txt 35 | 36 | # Unit test / coverage reports 37 | htmlcov/ 38 | .tox/ 39 | .coverage 40 | .coverage.* 41 | .cache 42 | nosetests.xml 43 | coverage.xml 44 | *,cover 45 | 46 | # Translations 47 | *.mo 48 | *.pot 49 | 50 | # Django stuff: 51 | *.log 52 | 53 | # Sphinx documentation 54 | docs/_build/ 55 | 56 | # PyBuilder 57 | target/ 58 | 59 | site/* 60 | *.patch 61 | dictionary.bin 62 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/.spelling.yml: -------------------------------------------------------------------------------- 1 | # Document HTML files or folders of HTML files to search 2 | # Files are relative to the CWD, not the config file itself. 3 | docs: 4 | - site 5 | 6 | # Dictionary of words to ignore 7 | dictionary: 8 | - API 9 | - CSS 10 | - Changelog 11 | - Control's 12 | - Desaturate 13 | - EmojiOne 14 | - Frontmatter 15 | - GitHub 16 | - GitLab 17 | - Jinja 18 | - MERCHANTABILITY 19 | - MdPopups 20 | - MkDocs 21 | - NONINFRINGEMENT 22 | - Oct 23 | - PNG 24 | - PackageDev 25 | - Plugins 26 | - Popup 27 | - Popups 28 | - Popups 29 | - PyMdown 30 | - Pygments 31 | - RGB 32 | - RGBA 33 | - Screenshot 34 | - Sublime's 35 | - SuperFences 36 | - TextMate 37 | - UML 38 | - YAML 39 | - builtins 40 | - deprecations 41 | - desaturate 42 | - docstrings 43 | - ebeweber 44 | - facelessuser 45 | - frontmatter 46 | - frontmatter's 47 | - gforcada 48 | - grayscale 49 | - inline 50 | - linting 51 | - matcher 52 | - mdpopup 53 | - mkdocs 54 | - monospace 55 | - namespace 56 | - namespaced 57 | - pha 58 | - plugin 59 | - plugins 60 | - popup 61 | - popups 62 | - preformatted 63 | - pycqa 64 | - pymdown 65 | - requesters 66 | - squidfunk 67 | - sublicense 68 | - tooltips 69 | - traceback 70 | - tuple 71 | - unescaping 72 | - vendored 73 | - versa 74 | - whitespace 75 | 76 | # Attributes of tags to also spell check along with tag content 77 | attributes: 78 | - title 79 | - alt 80 | 81 | # Selectors describing tags to ignore (tag, class, and/or id only) 82 | ignores: 83 | - code 84 | - pre 85 | - script 86 | - style 87 | - a.magiclink-compare 88 | - a.magiclink-commit 89 | - .MathJax_Preview 90 | - .md-nav__link 91 | - .md-footer-custom-text 92 | - .md-source__repository 93 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: python 4 | 5 | # Limit git depth to speed up build 6 | git: 7 | depth: 5 8 | 9 | matrix: 10 | include: 11 | - python: 3.6 12 | env: TESTENV=unittest 13 | - python: 3.6 14 | env: TESTENV=documents 15 | 16 | install: 17 | - pip install flake8 18 | - pip install flake8-docstrings 19 | - pip install flake8-mutable 20 | - pip install flake8-builtins 21 | - pip install pep8-naming 22 | - pip install pytest 23 | - pip install mkdocs-material 24 | - pip install pymdown-extensions 25 | - pip install html5lib 26 | - pip install beautifulsoup4 27 | - pip install pygments 28 | 29 | addons: 30 | apt: 31 | packages: 32 | - aspell 33 | - aspell-en 34 | 35 | script: 36 | - if [ $TESTENV = unittest ]; then py.test .; fi 37 | - if [ $TESTENV = unittest ]; then flake8 .; fi 38 | - if [ $TESTENV = documents ]; then mkdocs build --clean --verbose --strict; fi 39 | - if [ $TESTENV = documents ]; then python tests/spellcheck.py; fi 40 | 41 | deploy: 42 | - provider: pages 43 | github_token: $GITHUB_TOKEN 44 | name: $GITHUB_USER 45 | email: $GITHUB_EMAIL 46 | skip_cleanup: true 47 | local_dir: site 48 | on: 49 | tags: true 50 | repo: facelessuser/sublime-markdown-popups 51 | condition: "$TESTENV = documents" 52 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 - 2018 Isaac Muse 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/Preferences.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | // Global kill switch to prevent popups (created by MdPopups) from appearing. 3 | "mdpopups.disable": false, 4 | 5 | // Controls which information are dumped out to the console. 6 | // This is more useful for plugin developers. It works by specifying an error level. 7 | // "0" don't print any message 8 | // "1" print errors 9 | // "2" print errors, warnings 10 | // "3" print errors, warnings, debug infos 11 | "mdpopups.debug": 0, 12 | 13 | // Control how long a CSS theme file will be in the cache before being refreshed. 14 | // Value should be a positive integer greater than 0. 15 | // Units are in minutes. Default is 30. 16 | "mdpopups.cache_refresh_time": 30, 17 | 18 | // Control how many CSS theme files will be kept in cache at any given time. 19 | // Value should be a positive integer greater than or equal to 0. 20 | "mdpopups.cache_limit": 10, 21 | 22 | // Controls whether the Pygments or the native Sublime syntax highlighter 23 | // is used for code highlighting. This affects code highlighting in Markdown 24 | // conversion and when code is directly processed using syntax_highlight. 25 | // Valid values are: 26 | // "true": use Sublime Text 27 | // "false": use Pygments 28 | "mdpopups.use_sublime_highlighter": true, 29 | 30 | // This setting is for the Sublime Syntax Highlighter and allows 31 | // the mapping of personal Sublime syntax languages which are not yet included, 32 | // or will not be included, in the official mapping table. 33 | // You can either define your own new entry, or use the same language name 34 | // of an existing entry to extend the language mapping_alias or syntax languages. 35 | // When extending, the user mappings will be cycled through first. 36 | "mdpopups.sublime_user_lang_map": {}, 37 | 38 | // Controls whether MdPopups' default styling (contained in default.css) will be applied or not. 39 | "mdpopups.default_style": true, 40 | 41 | // Relative path of the user defined stylesheet. 42 | // Overrides the default CSS and/or CSS of plugins. 43 | "mdpopups.user_css": "Packages/User/mdpopups.css" 44 | } 45 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/dependency-metadata.json: -------------------------------------------------------------------------------- 1 | {"sublime_text": ">=3124", "url": "https://github.com/facelessuser/sublime-markdown-popups/issues", "platforms": ["*"], "description": "Markdown Popups for Sublime", "version": "3.3.3"} -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/src/markdown/_snippets/abbr.md: -------------------------------------------------------------------------------- 1 | *[ST2]: Sublime Text 2 2 | *[ST3]: Sublime Text 3 3 | *[ST4]: Sublime Text 4 4 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/src/markdown/_snippets/links.md: -------------------------------------------------------------------------------- 1 | [admonition]: https://pythonhosted.org/Markdown/extensions/admonition.html 2 | [attr_list]: https://pythonhosted.org/Markdown/extensions/attr_list.html 3 | [betterem]: http://facelessuser.github.io/pymdown-extensions/extensions/betterem/ 4 | [custom-fences]: http://facelessuser.github.io/pymdown-extensions/extensions/superfences/#custom-fences 5 | [def_list]: https://pythonhosted.org/Markdown/extensions/definition_lists.html 6 | [default-css]: https://github.com/facelessuser/sublime-markdown-popups/blob/master/css/default.css 7 | [extrarawhtml]: http://facelessuser.github.io/pymdown-extensions/extensions/extrarawhtml/ 8 | [highlight]: http://facelessuser.github.io/pymdown-extensions/extensions/highlight/ 9 | [inlinehilite]: http://facelessuser.github.io/pymdown-extensions/extensions/inlinehilite/ 10 | [language-map]: https://github.com/facelessuser/sublime-markdown-popups/blob/master/st3/mdpopups/st_mapping.py 11 | [magiclink]: http://facelessuser.github.io/pymdown-extensions/extensions/magiclink/ 12 | [mdpopup_test]: https://github.com/facelessuser/mdpopup_test 13 | [mkdocs]: http://www.mkdocs.org 14 | [minihtml]: https://www.sublimetext.com/docs/3/minihtml.html 15 | [mkdocs-material]: https://github.com/squidfunk/mkdocs-material 16 | [nl2br]: https://pythonhosted.org/Markdown/extensions/nl2br.html 17 | [package-control]: https://packagecontrol.io/ 18 | [pc-dependencies]: https://packagecontrol.io/docs/dependencies 19 | [pymd]: https://pythonhosted.org/Markdown/ 20 | [pymdown-extensions]: https://github.com/facelessuser/pymdown-extensions 21 | [scopes]: http://facelessuser.github.io/sublime-markdown-popups/textmate_scopes/ 22 | [superfences]: http://facelessuser.github.io/pymdown-extensions/extensions/superfences/ 23 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/src/markdown/_snippets/refs.md: -------------------------------------------------------------------------------- 1 | --8<-- 2 | links.md 3 | abbr.md 4 | --8<-- 5 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/src/markdown/_snippets/uml.md: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/src/markdown/faq.md: -------------------------------------------------------------------------------- 1 | # F.A.Q 2 | 3 | ## Questions 4 | 5 | - **Why don't `#!html
` tags work right when I do them, but MdPopups' work correctly?**
 6 | 
 7 |     This is because the HTML engine in Sublime treats `#!html 
` tags just as a normal block elements; it doesn't treat the content as preformatted.  When MdPopups creates code blocks, it actually does a lot of special formatting to the blocks.  It converts tabs to 4 spaces, and spaces are converted to `#!html  ` to prevent wrapping.  Lastly, new lines get converted to `#!html 
` tags. 8 | {: style="font-style: italic"} 9 | 10 | - **Why in code blocks do tabs get converted to 4 spaces?** 11 | 12 | Because I like it that way. If you are planning on having a snippet of text sent through the syntax highlighter and do not want your tabs to be converted to 4 spaces, you should convert it to the number of spaces you like **before** sending it through the syntax highlighter. 13 | {: style="font-style: italic"} 14 | 15 | - **Why does <insert element> not work, or cause the popup/phantom not to show?** 16 | 17 | Because Sublime's HTML engine is extremely limited or the element you are trying to use hasn't been styled correctly yet. Though I do not have a complete list of all supported elements, you can check out the provided `default.css` on the repository to see what is supported. There are probably some elements you could style and then would work correctly, but there are others like `#!html ` will not *currently* work. In general, you should keep things basic, but feel free to experiment to get an understanding of Sublime's `minihtml` engine limitations. 18 | {: style="font-style: italic"} 19 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/src/markdown/images/tooltips_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drewbarontini/dotfiles/0d84eb2fd3bf2c758a214c90ea2a84a5e4df045c/sublime-text/Packages/mdpopups/docs/src/markdown/images/tooltips_test.png -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/src/markdown/index.md: -------------------------------------------------------------------------------- 1 | # About Markdown Popups 2 | 3 | ## Overview 4 | 5 | Sublime Markdown Popups (MdPopups) is a library for Sublime Text plugins. It utilizes the new plugin API found in ST3 Beta to create popups and phantoms from Markdown or HTML. It requires at least ST3 3124+. MdPopups utilizes Python Markdown with a couple of special extensions to convert Markdown to HTML that can be used to create popups and/or phantoms. It also provides a number of other helpful API commands to aid in creating great popups and phantoms. 6 | 7 | MdPopups will use your color scheme to create popups/phantoms that fit your editors look. 8 | 9 | ![Screenshot](images/tooltips_test.png) 10 | 11 | ## Features 12 | 13 | - Can take Markdown or HTML and create nice looking popups and phantoms. 14 | - Dynamically creates popup and phantom themes from your current Sublime color scheme. 15 | - Can create syntax highlighted code blocks easily using your existing Sublime color scheme (can also use Pygments with some setup). 16 | - Can create color preview boxes via API calls. 17 | - A CSS template environment that allows users to override and tweak the overall look of the popups and phantoms to better fit their preferred look. 18 | - Plugins can extend the current CSS to inject plugin specific class styling. 19 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/src/markdown/installation.md: -------------------------------------------------------------------------------- 1 | # Installation 2 | 3 | ## Package Control 4 | 5 | In order for your plugin to utilize Markdown Popups, you must be using [Package Control][package-control], and you must add `mdpopups` (and other related dependencies) as a dependency for your plugin. This can be done in one of two ways, both of which are [documented][pc-dependencies] by Package Control; see **Using Dependencies**. Package Control will install and update the dependency for you. Package Control will also ensure that `mdpopups` is loaded before your plugin loads. 6 | 7 | If ever you are on a older version than is currently released, and Package Control has not updated to the latest, you can force the update by running the `Package Control: Satisfy Dependencies` command from the command palette. 8 | 9 | Remember, MdPopups is for Sublime Text 3 builds 3124+. 10 | 11 | --8<-- "refs.md" 12 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/src/markdown/license.md: -------------------------------------------------------------------------------- 1 | # License 2 | 3 | Sublime Markdown Popups is released under the MIT license. 4 | 5 | Copyright (c) 2015 - 2018 Isaac Muse 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 10 | 11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/docs/theme/extra-d8800ea088.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var e=function(e,t,n){for(var o=function(e){for(var t="",n=0;n 6 | """ 7 | import re 8 | from .comments import Comments 9 | 10 | JSON_PATTERN = re.compile( 11 | r'''(?x) 12 | ( 13 | (?P 14 | , # trailing comma 15 | (?P[\s\r\n]*) # white space 16 | (?P\]) # bracket 17 | ) 18 | | (?P 19 | , # trailing comma 20 | (?P[\s\r\n]*) # white space 21 | (?P\}) # bracket 22 | ) 23 | ) 24 | | (?P 25 | "(?:\\.|[^"\\])*" # double quoted string 26 | | '(?:\\.|[^'\\])*' # single quoted string 27 | | .[^,"']* # everything else 28 | ) 29 | ''', 30 | re.DOTALL 31 | ) 32 | 33 | 34 | def strip_dangling_commas(text, preserve_lines=False): 35 | """Strip dangling commas.""" 36 | 37 | regex = JSON_PATTERN 38 | 39 | def remove_comma(g, preserve_lines): 40 | """Remove comma.""" 41 | 42 | if preserve_lines: 43 | # ,] -> ] else ,} -> } 44 | if g["square_comma"] is not None: 45 | return g["square_ws"] + g["square_bracket"] 46 | else: 47 | return g["curly_ws"] + g["curly_bracket"] 48 | else: 49 | # ,] -> ] else ,} -> } 50 | return g["square_bracket"] if g["square_comma"] else g["curly_bracket"] 51 | 52 | def evaluate(m, preserve_lines): 53 | """Search for dangling comma.""" 54 | 55 | g = m.groupdict() 56 | return remove_comma(g, preserve_lines) if g["code"] is None else g["code"] 57 | 58 | return ''.join(map(lambda m: evaluate(m, preserve_lines), regex.finditer(text))) 59 | 60 | 61 | def strip_comments(text, preserve_lines=False): 62 | """Strip JavaScript like comments.""" 63 | 64 | return Comments('json', preserve_lines).strip(text) 65 | 66 | 67 | def sanitize_json(text, preserve_lines=False): 68 | """Sanitize the JSON file by removing comments and dangling commas.""" 69 | 70 | return strip_dangling_commas(Comments('json', preserve_lines).strip(text), preserve_lines) 71 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/st3/mdpopups/imagetint.py: -------------------------------------------------------------------------------- 1 | """ 2 | Image tinting. 3 | 4 | Licensed under MIT 5 | Copyright (c) 2015 - 2016 Isaac Muse 6 | """ 7 | from .png import Reader, Writer 8 | from .rgba import RGBA 9 | import base64 10 | import io 11 | 12 | 13 | def tint_raw(byte_string, color, opacity=255): 14 | """Tint the image and return a byte string.""" 15 | 16 | # Read the bytestring as a rgba image. 17 | width, height, pixels, meta = Reader(bytes=byte_string).asRGBA() 18 | 19 | # Clamp opacity 20 | if opacity < 0: 21 | opacity = 0 22 | elif opacity > 255: 23 | opacity = 255 24 | 25 | # Tint 26 | p = [] 27 | y = 0 28 | for row in pixels: 29 | p.append([]) 30 | columns = int(len(row) / 4) 31 | start = 0 32 | for x in range(columns): 33 | rgba = RGBA(color) 34 | rgba.a = opacity 35 | rgba.apply_alpha(background='#%02X%02X%02XFF' % tuple(row[start:start + 3])) 36 | p[y] += [rgba.r, rgba.g, rgba.b, row[start + 3]] 37 | start += 4 38 | y += 1 39 | 40 | # Create bytes buffer for png 41 | with io.BytesIO() as f: 42 | 43 | # Write out png 44 | img = Writer(width, height, alpha=True) 45 | img.write(f, p) 46 | 47 | # Read out png bytes and base64 encode 48 | f.seek(0) 49 | 50 | return f.read() 51 | 52 | 53 | def tint(byte_string, color, opacity=255, height=None, width=None): 54 | """Base64 encode the tint.""" 55 | 56 | style = '' 57 | if width: 58 | style = 'style="width: %dpx;"' % width 59 | if height is not None and style is None: 60 | style = 'style="height: %dpx;"' % width 61 | elif height is not None: 62 | style = style[:-1] + (' height: %dpx;" ' % height) 63 | 64 | return "" % ( 65 | style, 66 | base64.b64encode(tint_raw(byte_string, color, opacity)).decode('ascii') 67 | ) 68 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/st3/mdpopups/mdx/__init__.py: -------------------------------------------------------------------------------- 1 | """Modules for Python Markdown.""" 2 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/st3/mdpopups/st_clean_css.py: -------------------------------------------------------------------------------- 1 | """ 2 | File Strip. 3 | 4 | Licensed under MIT 5 | Copyright (c) 2012 - 2016 Isaac Muse 6 | """ 7 | import re 8 | 9 | LINE_PRESERVE = re.compile(r"\r?\n", re.MULTILINE) 10 | CSS_PATTERN = re.compile( 11 | r'''(?x) 12 | (?P 13 | /\*[^*]*\*+(?:[^/*][^*]*\*+)*/ # multi-line comments 14 | ) 15 | | (?P 16 | "(?:\\.|[^"\\])*" # double quotes 17 | | '(?:\\.|[^'\\])*' # single quotes 18 | | .[^/"']* # everything else 19 | ) 20 | ''', 21 | re.DOTALL 22 | ) 23 | 24 | 25 | def clean_css(text, preserve_lines=False): 26 | """Clean css.""" 27 | 28 | def remove_comments(group, preserve_lines=False): 29 | """Remove comments.""" 30 | 31 | return ''.join([x[0] for x in LINE_PRESERVE.findall(group)]) if preserve_lines else '' 32 | 33 | def evaluate(m, preserve_lines): 34 | """Search for comments.""" 35 | 36 | g = m.groupdict() 37 | return g["code"] if g["code"] is not None else remove_comments(g["comments"], preserve_lines) 38 | 39 | return ''.join(map(lambda m: evaluate(m, preserve_lines), CSS_PATTERN.finditer(text.replace('\r', '')))) 40 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/st3/mdpopups/version.py: -------------------------------------------------------------------------------- 1 | """Version.""" 2 | 3 | _version_info = (3, 3, 3) 4 | __version__ = '.'.join([str(x) for x in _version_info]) 5 | 6 | 7 | def version(): 8 | """Get the current version.""" 9 | 10 | return _version_info 11 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/tests/__init__.py: -------------------------------------------------------------------------------- 1 | """Unit Tests.""" 2 | -------------------------------------------------------------------------------- /sublime-text/Packages/mdpopups/tests/test_json.py: -------------------------------------------------------------------------------- 1 | """Test JSON.""" 2 | import unittest 3 | from . import validate_json_format 4 | import os 5 | import fnmatch 6 | 7 | 8 | class TestSettings(unittest.TestCase): 9 | """Test JSON settings.""" 10 | 11 | def _get_json_files(self, pattern, folder='.'): 12 | """Get json files.""" 13 | 14 | for root, dirnames, filenames in os.walk(folder): 15 | for filename in fnmatch.filter(filenames, pattern): 16 | yield os.path.join(root, filename) 17 | for dirname in [d for d in dirnames if d not in ('.svn', '.git', '.tox')]: 18 | for f in self._get_json_files(pattern, os.path.join(root, dirname)): 19 | yield f 20 | 21 | def test_json_settings(self): 22 | """Test each JSON file.""" 23 | 24 | patterns = ( 25 | '*.sublime-settings', 26 | '*.sublime-keymap', 27 | '*.sublime-commands', 28 | '*.sublime-menu', 29 | '*.sublime-theme', 30 | '*.sublime-color-scheme' 31 | ) 32 | 33 | for pattern in patterns: 34 | for f in self._get_json_files(pattern): 35 | print(f) 36 | self.assertFalse( 37 | validate_json_format.CheckJsonFormat(False, True).check_format(f), 38 | "%s does not comform to expected format!" % f 39 | ) 40 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-project 2 | *.sublime-workspace 3 | *.pyc 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/README.md: -------------------------------------------------------------------------------- 1 | # *pygments* module for Package Control 2 | 3 | This is the *[pygments][]* module bundled for usage with [Package Control][], a package manager for the [Sublime Text][] text editor. 4 | 5 | 6 | This repository | Pypi 7 | ---- | ---- 8 | ![Latest tag](https://img.shields.io/github/tag/packagecontrol/pygments.svg) | [![pypi](https://img.shields.io/pypi/v/pygments.svg)][pypi] 9 | 10 | 11 | ## How to use *pygments* as a dependency 12 | 13 | In order to tell Package Control that you are using the *pygments* module in your ST package, create a `dependencies.json` file in your package root with the following contents: 14 | 15 | ```js 16 | { 17 | "*": { 18 | "*": [ 19 | "pygments" 20 | ] 21 | } 22 | } 23 | ``` 24 | 25 | If the file exists already, add `"pygments"` to the every dependency list. 26 | 27 | Then run the **Package Control: Satisfy Dependencies** command to make Package Control install the module for you locally (if you don't have it already). 28 | 29 | After all this you can use `import pygments` in any of your Python plugins. 30 | 31 | See also: [Documentation on Dependencies](https://packagecontrol.io/docs/dependencies) 32 | 33 | 34 | ## How to update this repository (for contributors) 35 | 36 | 1. Download the latest zip from [Bitbucket][]. 37 | 2. Delete everything inside the `all/` folder. 38 | 3. Copy the `pygments/` folder to the `all/` folder. 39 | 4. Commit changes and either create a pull request or create a tag directly in the format `v` (in case you have push access). 40 | 41 | 42 | ## License 43 | 44 | The contents of the root folder in this repository are released under the *public domain*. The contents of the `all/` folder fall under *their own bundled licenses* displayed on top of every file. If not displayed, see the `LICENSE` file on pygments' [Bitbucket][]. 45 | 46 | 47 | [pygments]: http://pygments.org 48 | [Package Control]: http://packagecontrol.io/ 49 | [Sublime Text]: http://sublimetext.com/ 50 | [pypi]: https://pypi.python.org/pypi/pygments 51 | [Bitbucket]: https://bitbucket.org/birkenfeld/pygments-main 52 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/console.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.console 4 | ~~~~~~~~~~~~~~~~ 5 | 6 | Format colored console output. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | esc = "\x1b[" 13 | 14 | codes = {} 15 | codes[""] = "" 16 | codes["reset"] = esc + "39;49;00m" 17 | 18 | codes["bold"] = esc + "01m" 19 | codes["faint"] = esc + "02m" 20 | codes["standout"] = esc + "03m" 21 | codes["underline"] = esc + "04m" 22 | codes["blink"] = esc + "05m" 23 | codes["overline"] = esc + "06m" 24 | 25 | dark_colors = ["black", "darkred", "darkgreen", "brown", "darkblue", 26 | "purple", "teal", "lightgray"] 27 | light_colors = ["darkgray", "red", "green", "yellow", "blue", 28 | "fuchsia", "turquoise", "white"] 29 | 30 | x = 30 31 | for d, l in zip(dark_colors, light_colors): 32 | codes[d] = esc + "%im" % x 33 | codes[l] = esc + "%i;01m" % x 34 | x += 1 35 | 36 | del d, l, x 37 | 38 | codes["darkteal"] = codes["turquoise"] 39 | codes["darkyellow"] = codes["brown"] 40 | codes["fuscia"] = codes["fuchsia"] 41 | codes["white"] = codes["bold"] 42 | 43 | 44 | def reset_color(): 45 | return codes["reset"] 46 | 47 | 48 | def colorize(color_key, text): 49 | return codes[color_key] + text + codes["reset"] 50 | 51 | 52 | def ansiformat(attr, text): 53 | """ 54 | Format ``text`` with a color and/or some attributes:: 55 | 56 | color normal color 57 | *color* bold color 58 | _color_ underlined color 59 | +color+ blinking color 60 | """ 61 | result = [] 62 | if attr[:1] == attr[-1:] == '+': 63 | result.append(codes['blink']) 64 | attr = attr[1:-1] 65 | if attr[:1] == attr[-1:] == '*': 66 | result.append(codes['bold']) 67 | attr = attr[1:-1] 68 | if attr[:1] == attr[-1:] == '_': 69 | result.append(codes['underline']) 70 | attr = attr[1:-1] 71 | result.append(codes[attr]) 72 | result.append(text) 73 | result.append(codes['reset']) 74 | return ''.join(result) 75 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/filter.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.filter 4 | ~~~~~~~~~~~~~~~ 5 | 6 | Module that implements the default filter. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | 13 | def apply_filters(stream, filters, lexer=None): 14 | """ 15 | Use this method to apply an iterable of filters to 16 | a stream. If lexer is given it's forwarded to the 17 | filter, otherwise the filter receives `None`. 18 | """ 19 | def _apply(filter_, stream): 20 | for token in filter_.filter(lexer, stream): 21 | yield token 22 | for filter_ in filters: 23 | stream = _apply(filter_, stream) 24 | return stream 25 | 26 | 27 | def simplefilter(f): 28 | """ 29 | Decorator that converts a function into a filter:: 30 | 31 | @simplefilter 32 | def lowercase(self, lexer, stream, options): 33 | for ttype, value in stream: 34 | yield ttype, value.lower() 35 | """ 36 | return type(f.__name__, (FunctionFilter,), { 37 | 'function': f, 38 | '__module__': getattr(f, '__module__'), 39 | '__doc__': f.__doc__ 40 | }) 41 | 42 | 43 | class Filter(object): 44 | """ 45 | Default filter. Subclass this class or use the `simplefilter` 46 | decorator to create own filters. 47 | """ 48 | 49 | def __init__(self, **options): 50 | self.options = options 51 | 52 | def filter(self, lexer, stream): 53 | raise NotImplementedError() 54 | 55 | 56 | class FunctionFilter(Filter): 57 | """ 58 | Abstract class used by `simplefilter` to create simple 59 | function filters on the fly. The `simplefilter` decorator 60 | automatically creates subclasses of this class for 61 | functions passed to it. 62 | """ 63 | function = None 64 | 65 | def __init__(self, **options): 66 | if not hasattr(self, 'function'): 67 | raise TypeError('%r used without bound function' % 68 | self.__class__.__name__) 69 | Filter.__init__(self, **options) 70 | 71 | def filter(self, lexer, stream): 72 | # pylint: disable-msg=E1102 73 | for ttype, value in self.function(lexer, stream, self.options): 74 | yield ttype, value 75 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/lexers/agile.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.lexers.agile 4 | ~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Just export lexer classes previously contained in this module. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.lexers.lisp import SchemeLexer 13 | from pygments.lexers.jvm import IokeLexer, ClojureLexer 14 | from pygments.lexers.python import PythonLexer, PythonConsoleLexer, \ 15 | PythonTracebackLexer, Python3Lexer, Python3TracebackLexer, DgLexer 16 | from pygments.lexers.ruby import RubyLexer, RubyConsoleLexer, FancyLexer 17 | from pygments.lexers.perl import PerlLexer, Perl6Lexer 18 | from pygments.lexers.d import CrocLexer, MiniDLexer 19 | from pygments.lexers.iolang import IoLexer 20 | from pygments.lexers.tcl import TclLexer 21 | from pygments.lexers.factor import FactorLexer 22 | from pygments.lexers.scripting import LuaLexer, MoonScriptLexer 23 | 24 | __all__ = [] 25 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/lexers/compiled.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.lexers.compiled 4 | ~~~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Just export lexer classes previously contained in this module. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.lexers.jvm import JavaLexer, ScalaLexer 13 | from pygments.lexers.c_cpp import CLexer, CppLexer 14 | from pygments.lexers.d import DLexer 15 | from pygments.lexers.objective import ObjectiveCLexer, \ 16 | ObjectiveCppLexer, LogosLexer 17 | from pygments.lexers.go import GoLexer 18 | from pygments.lexers.rust import RustLexer 19 | from pygments.lexers.c_like import ECLexer, ValaLexer, CudaLexer 20 | from pygments.lexers.pascal import DelphiLexer, Modula2Lexer, AdaLexer 21 | from pygments.lexers.business import CobolLexer, CobolFreeformatLexer 22 | from pygments.lexers.fortran import FortranLexer 23 | from pygments.lexers.prolog import PrologLexer 24 | from pygments.lexers.python import CythonLexer 25 | from pygments.lexers.graphics import GLShaderLexer 26 | from pygments.lexers.ml import OcamlLexer 27 | from pygments.lexers.basic import BlitzBasicLexer, BlitzMaxLexer, MonkeyLexer 28 | from pygments.lexers.dylan import DylanLexer, DylanLidLexer, DylanConsoleLexer 29 | from pygments.lexers.ooc import OocLexer 30 | from pygments.lexers.felix import FelixLexer 31 | from pygments.lexers.nimrod import NimrodLexer 32 | 33 | __all__ = [] 34 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/lexers/functional.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.lexers.functional 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Just export lexer classes previously contained in this module. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.lexers.lisp import SchemeLexer, CommonLispLexer, RacketLexer, \ 13 | NewLispLexer 14 | from pygments.lexers.haskell import HaskellLexer, LiterateHaskellLexer, \ 15 | KokaLexer 16 | from pygments.lexers.theorem import CoqLexer 17 | from pygments.lexers.erlang import ErlangLexer, ErlangShellLexer, \ 18 | ElixirConsoleLexer, ElixirLexer 19 | from pygments.lexers.ml import SMLLexer, OcamlLexer, OpaLexer 20 | 21 | __all__ = [] 22 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/lexers/iolang.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.lexers.iolang 4 | ~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Lexers for the Io language. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.lexer import RegexLexer 13 | from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ 14 | Number 15 | 16 | __all__ = ['IoLexer'] 17 | 18 | 19 | class IoLexer(RegexLexer): 20 | """ 21 | For `Io `_ (a small, prototype-based 22 | programming language) source. 23 | 24 | .. versionadded:: 0.10 25 | """ 26 | name = 'Io' 27 | filenames = ['*.io'] 28 | aliases = ['io'] 29 | mimetypes = ['text/x-iosrc'] 30 | tokens = { 31 | 'root': [ 32 | (r'\n', Text), 33 | (r'\s+', Text), 34 | # Comments 35 | (r'//(.*?)\n', Comment.Single), 36 | (r'#(.*?)\n', Comment.Single), 37 | (r'/(\\\n)?[*](.|\n)*?[*](\\\n)?/', Comment.Multiline), 38 | (r'/\+', Comment.Multiline, 'nestedcomment'), 39 | # DoubleQuotedString 40 | (r'"(\\\\|\\"|[^"])*"', String), 41 | # Operators 42 | (r'::=|:=|=|\(|\)|;|,|\*|-|\+|>|<|@|!|/|\||\^|\.|%|&|\[|\]|\{|\}', 43 | Operator), 44 | # keywords 45 | (r'(clone|do|doFile|doString|method|for|if|else|elseif|then)\b', 46 | Keyword), 47 | # constants 48 | (r'(nil|false|true)\b', Name.Constant), 49 | # names 50 | (r'(Object|list|List|Map|args|Sequence|Coroutine|File)\b', 51 | Name.Builtin), 52 | ('[a-zA-Z_]\w*', Name), 53 | # numbers 54 | (r'(\d+\.?\d*|\d*\.\d+)([eE][+-]?[0-9]+)?', Number.Float), 55 | (r'\d+', Number.Integer) 56 | ], 57 | 'nestedcomment': [ 58 | (r'[^+/]+', Comment.Multiline), 59 | (r'/\+', Comment.Multiline, '#push'), 60 | (r'\+/', Comment.Multiline, '#pop'), 61 | (r'[+/]', Comment.Multiline), 62 | ] 63 | } 64 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/lexers/math.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.lexers.math 4 | ~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Just export lexers that were contained in this module. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.lexers.python import NumPyLexer 13 | from pygments.lexers.matlab import MatlabLexer, MatlabSessionLexer, \ 14 | OctaveLexer, ScilabLexer 15 | from pygments.lexers.julia import JuliaLexer, JuliaConsoleLexer 16 | from pygments.lexers.r import RConsoleLexer, SLexer, RdLexer 17 | from pygments.lexers.modeling import BugsLexer, JagsLexer, StanLexer 18 | from pygments.lexers.idl import IDLLexer 19 | from pygments.lexers.algebra import MuPADLexer 20 | 21 | __all__ = [] 22 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/lexers/other.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.lexers.other 4 | ~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Just export lexer classes previously contained in this module. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.lexers.sql import SqlLexer, MySqlLexer, SqliteConsoleLexer 13 | from pygments.lexers.shell import BashLexer, BashSessionLexer, BatchLexer, \ 14 | TcshLexer 15 | from pygments.lexers.robotframework import RobotFrameworkLexer 16 | from pygments.lexers.testing import GherkinLexer 17 | from pygments.lexers.esoteric import BrainfuckLexer, BefungeLexer, RedcodeLexer 18 | from pygments.lexers.prolog import LogtalkLexer 19 | from pygments.lexers.snobol import SnobolLexer 20 | from pygments.lexers.rebol import RebolLexer 21 | from pygments.lexers.configs import KconfigLexer, Cfengine3Lexer 22 | from pygments.lexers.modeling import ModelicaLexer 23 | from pygments.lexers.scripting import AppleScriptLexer, MOOCodeLexer, \ 24 | HybrisLexer 25 | from pygments.lexers.graphics import PostScriptLexer, GnuplotLexer, \ 26 | AsymptoteLexer, PovrayLexer 27 | from pygments.lexers.business import ABAPLexer, OpenEdgeLexer, \ 28 | GoodDataCLLexer, MaqlLexer 29 | from pygments.lexers.automation import AutoItLexer, AutohotkeyLexer 30 | from pygments.lexers.dsls import ProtoBufLexer, BroLexer, PuppetLexer, \ 31 | MscgenLexer, VGLLexer 32 | from pygments.lexers.basic import CbmBasicV2Lexer 33 | from pygments.lexers.pawn import SourcePawnLexer, PawnLexer 34 | from pygments.lexers.ecl import ECLLexer 35 | from pygments.lexers.urbi import UrbiscriptLexer 36 | from pygments.lexers.smalltalk import SmalltalkLexer, NewspeakLexer 37 | from pygments.lexers.installers import NSISLexer, RPMSpecLexer 38 | from pygments.lexers.textedit import AwkLexer 39 | 40 | __all__ = [] 41 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/lexers/text.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.lexers.text 4 | ~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Lexers for non-source code file types. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.lexers.configs import ApacheConfLexer, NginxConfLexer, \ 13 | SquidConfLexer, LighttpdConfLexer, IniLexer, RegeditLexer, PropertiesLexer 14 | from pygments.lexers.console import PyPyLogLexer 15 | from pygments.lexers.textedit import VimLexer 16 | from pygments.lexers.markup import BBCodeLexer, MoinWikiLexer, RstLexer, \ 17 | TexLexer, GroffLexer 18 | from pygments.lexers.installers import DebianControlLexer, SourcesListLexer 19 | from pygments.lexers.make import MakefileLexer, BaseMakefileLexer, CMakeLexer 20 | from pygments.lexers.haxe import HxmlLexer 21 | from pygments.lexers.diff import DiffLexer, DarcsPatchLexer 22 | from pygments.lexers.data import YamlLexer 23 | from pygments.lexers.textfmts import IrcLogsLexer, GettextLexer, HttpLexer 24 | 25 | __all__ = [] 26 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/lexers/web.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.lexers.web 4 | ~~~~~~~~~~~~~~~~~~~ 5 | 6 | Just export previously exported lexers. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.lexers.html import HtmlLexer, DtdLexer, XmlLexer, XsltLexer, \ 13 | HamlLexer, ScamlLexer, JadeLexer 14 | from pygments.lexers.css import CssLexer, SassLexer, ScssLexer 15 | from pygments.lexers.javascript import JavascriptLexer, LiveScriptLexer, \ 16 | DartLexer, TypeScriptLexer, LassoLexer, ObjectiveJLexer, CoffeeScriptLexer 17 | from pygments.lexers.actionscript import ActionScriptLexer, \ 18 | ActionScript3Lexer, MxmlLexer 19 | from pygments.lexers.php import PhpLexer 20 | from pygments.lexers.webmisc import DuelLexer, XQueryLexer, SlimLexer, QmlLexer 21 | from pygments.lexers.data import JsonLexer 22 | JSONLexer = JsonLexer # for backwards compatibility with Pygments 1.5 23 | 24 | __all__ = [] 25 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/modeline.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.modeline 4 | ~~~~~~~~~~~~~~~~~ 5 | 6 | A simple modeline parser (based on pymodeline). 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | import re 13 | 14 | __all__ = ['get_filetype_from_buffer'] 15 | 16 | modeline_re = re.compile(r''' 17 | (?: vi | vim | ex ) (?: [<=>]? \d* )? : 18 | .* (?: ft | filetype | syn | syntax ) = ( [^:\s]+ ) 19 | ''', re.VERBOSE) 20 | 21 | def get_filetype_from_line(l): 22 | m = modeline_re.search(l) 23 | if m: 24 | return m.group(1) 25 | 26 | def get_filetype_from_buffer(buf, max_lines=5): 27 | """ 28 | Scan the buffer for modelines and return filetype if one is found. 29 | """ 30 | lines = buf.splitlines() 31 | for l in lines[-1:-max_lines-1:-1]: 32 | ret = get_filetype_from_line(l) 33 | if ret: 34 | return ret 35 | for l in lines[max_lines:0:-1]: 36 | ret = get_filetype_from_line(l) 37 | if ret: 38 | return ret 39 | 40 | return None 41 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/plugin.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.plugin 4 | ~~~~~~~~~~~~~~~ 5 | 6 | Pygments setuptools plugin interface. The methods defined 7 | here also work if setuptools isn't installed but they just 8 | return nothing. 9 | 10 | lexer plugins:: 11 | 12 | [pygments.lexers] 13 | yourlexer = yourmodule:YourLexer 14 | 15 | formatter plugins:: 16 | 17 | [pygments.formatters] 18 | yourformatter = yourformatter:YourFormatter 19 | /.ext = yourformatter:YourFormatter 20 | 21 | As you can see, you can define extensions for the formatter 22 | with a leading slash. 23 | 24 | syntax plugins:: 25 | 26 | [pygments.styles] 27 | yourstyle = yourstyle:YourStyle 28 | 29 | filter plugin:: 30 | 31 | [pygments.filter] 32 | yourfilter = yourfilter:YourFilter 33 | 34 | 35 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 36 | :license: BSD, see LICENSE for details. 37 | """ 38 | try: 39 | import pkg_resources 40 | except ImportError: 41 | pkg_resources = None 42 | 43 | LEXER_ENTRY_POINT = 'pygments.lexers' 44 | FORMATTER_ENTRY_POINT = 'pygments.formatters' 45 | STYLE_ENTRY_POINT = 'pygments.styles' 46 | FILTER_ENTRY_POINT = 'pygments.filters' 47 | 48 | 49 | def find_plugin_lexers(): 50 | if pkg_resources is None: 51 | return 52 | for entrypoint in pkg_resources.iter_entry_points(LEXER_ENTRY_POINT): 53 | yield entrypoint.load() 54 | 55 | 56 | def find_plugin_formatters(): 57 | if pkg_resources is None: 58 | return 59 | for entrypoint in pkg_resources.iter_entry_points(FORMATTER_ENTRY_POINT): 60 | yield entrypoint.name, entrypoint.load() 61 | 62 | 63 | def find_plugin_styles(): 64 | if pkg_resources is None: 65 | return 66 | for entrypoint in pkg_resources.iter_entry_points(STYLE_ENTRY_POINT): 67 | yield entrypoint.name, entrypoint.load() 68 | 69 | 70 | def find_plugin_filters(): 71 | if pkg_resources is None: 72 | return 73 | for entrypoint in pkg_resources.iter_entry_points(FILTER_ENTRY_POINT): 74 | yield entrypoint.name, entrypoint.load() 75 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/autumn.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.autumn 4 | ~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | A colorful style, inspired by the terminal highlighting style. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Keyword, Name, Comment, String, Error, \ 14 | Number, Operator, Generic, Whitespace 15 | 16 | 17 | class AutumnStyle(Style): 18 | """ 19 | A colorful style, inspired by the terminal highlighting style. 20 | """ 21 | 22 | default_style = "" 23 | 24 | styles = { 25 | Whitespace: '#bbbbbb', 26 | 27 | Comment: 'italic #aaaaaa', 28 | Comment.Preproc: 'noitalic #4c8317', 29 | Comment.Special: 'italic #0000aa', 30 | 31 | Keyword: '#0000aa', 32 | Keyword.Type: '#00aaaa', 33 | 34 | Operator.Word: '#0000aa', 35 | 36 | Name.Builtin: '#00aaaa', 37 | Name.Function: '#00aa00', 38 | Name.Class: 'underline #00aa00', 39 | Name.Namespace: 'underline #00aaaa', 40 | Name.Variable: '#aa0000', 41 | Name.Constant: '#aa0000', 42 | Name.Entity: 'bold #800', 43 | Name.Attribute: '#1e90ff', 44 | Name.Tag: 'bold #1e90ff', 45 | Name.Decorator: '#888888', 46 | 47 | String: '#aa5500', 48 | String.Symbol: '#0000aa', 49 | String.Regex: '#009999', 50 | 51 | Number: '#009999', 52 | 53 | Generic.Heading: 'bold #000080', 54 | Generic.Subheading: 'bold #800080', 55 | Generic.Deleted: '#aa0000', 56 | Generic.Inserted: '#00aa00', 57 | Generic.Error: '#aa0000', 58 | Generic.Emph: 'italic', 59 | Generic.Strong: 'bold', 60 | Generic.Prompt: '#555555', 61 | Generic.Output: '#888888', 62 | Generic.Traceback: '#aa0000', 63 | 64 | Error: '#F00 bg:#FAA' 65 | } 66 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/borland.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.borland 4 | ~~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Style similar to the style used in the Borland IDEs. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Keyword, Name, Comment, String, Error, \ 14 | Number, Operator, Generic, Whitespace 15 | 16 | 17 | class BorlandStyle(Style): 18 | """ 19 | Style similar to the style used in the borland IDEs. 20 | """ 21 | 22 | default_style = '' 23 | 24 | styles = { 25 | Whitespace: '#bbbbbb', 26 | 27 | Comment: 'italic #008800', 28 | Comment.Preproc: 'noitalic #008080', 29 | Comment.Special: 'noitalic bold', 30 | 31 | String: '#0000FF', 32 | String.Char: '#800080', 33 | Number: '#0000FF', 34 | Keyword: 'bold #000080', 35 | Operator.Word: 'bold', 36 | Name.Tag: 'bold #000080', 37 | Name.Attribute: '#FF0000', 38 | 39 | Generic.Heading: '#999999', 40 | Generic.Subheading: '#aaaaaa', 41 | Generic.Deleted: 'bg:#ffdddd #000000', 42 | Generic.Inserted: 'bg:#ddffdd #000000', 43 | Generic.Error: '#aa0000', 44 | Generic.Emph: 'italic', 45 | Generic.Strong: 'bold', 46 | Generic.Prompt: '#555555', 47 | Generic.Output: '#888888', 48 | Generic.Traceback: '#aa0000', 49 | 50 | Error: 'bg:#e3d2d2 #a61717' 51 | } 52 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/bw.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.bw 4 | ~~~~~~~~~~~~~~~~~~ 5 | 6 | Simple black/white only style. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Keyword, Name, Comment, String, Error, \ 14 | Operator, Generic 15 | 16 | 17 | class BlackWhiteStyle(Style): 18 | 19 | background_color = "#ffffff" 20 | default_style = "" 21 | 22 | styles = { 23 | Comment: "italic", 24 | Comment.Preproc: "noitalic", 25 | 26 | Keyword: "bold", 27 | Keyword.Pseudo: "nobold", 28 | Keyword.Type: "nobold", 29 | 30 | Operator.Word: "bold", 31 | 32 | Name.Class: "bold", 33 | Name.Namespace: "bold", 34 | Name.Exception: "bold", 35 | Name.Entity: "bold", 36 | Name.Tag: "bold", 37 | 38 | String: "italic", 39 | String.Interpol: "bold", 40 | String.Escape: "bold", 41 | 42 | Generic.Heading: "bold", 43 | Generic.Subheading: "bold", 44 | Generic.Emph: "italic", 45 | Generic.Strong: "bold", 46 | Generic.Prompt: "bold", 47 | 48 | Error: "border:#FF0000" 49 | } 50 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/fruity.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.fruity 4 | ~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | pygments version of my "fruity" vim theme. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Token, Comment, Name, Keyword, \ 14 | Generic, Number, String, Whitespace 15 | 16 | class FruityStyle(Style): 17 | """ 18 | Pygments version of the "native" vim theme. 19 | """ 20 | 21 | background_color = '#111111' 22 | highlight_color = '#333333' 23 | 24 | styles = { 25 | Whitespace: '#888888', 26 | Token: '#ffffff', 27 | Generic.Output: '#444444 bg:#222222', 28 | Keyword: '#fb660a bold', 29 | Keyword.Pseudo: 'nobold', 30 | Number: '#0086f7 bold', 31 | Name.Tag: '#fb660a bold', 32 | Name.Variable: '#fb660a', 33 | Comment: '#008800 bg:#0f140f italic', 34 | Name.Attribute: '#ff0086 bold', 35 | String: '#0086d2', 36 | Name.Function: '#ff0086 bold', 37 | Generic.Heading: '#ffffff bold', 38 | Keyword.Type: '#cdcaa9 bold', 39 | Generic.Subheading: '#ffffff bold', 40 | Name.Constant: '#0086d2', 41 | Comment.Preproc: '#ff0007 bold' 42 | } 43 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/igor.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.igor 4 | ~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Igor Pro default style. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Keyword, Name, Comment, String 14 | 15 | 16 | class IgorStyle(Style): 17 | """ 18 | Pygments version of the official colors for Igor Pro procedures. 19 | """ 20 | default_style = "" 21 | 22 | styles = { 23 | Comment: 'italic #FF0000', 24 | Keyword: '#0000FF', 25 | Name.Function: '#C34E00', 26 | Name.Decorator: '#CC00A3', 27 | Name.Class: '#007575', 28 | String: '#009C00' 29 | } 30 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/native.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.native 4 | ~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | pygments version of my "native" vim theme. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Keyword, Name, Comment, String, Error, \ 14 | Number, Operator, Generic, Token, Whitespace 15 | 16 | 17 | class NativeStyle(Style): 18 | """ 19 | Pygments version of the "native" vim theme. 20 | """ 21 | 22 | background_color = '#202020' 23 | highlight_color = '#404040' 24 | 25 | styles = { 26 | Token: '#d0d0d0', 27 | Whitespace: '#666666', 28 | 29 | Comment: 'italic #999999', 30 | Comment.Preproc: 'noitalic bold #cd2828', 31 | Comment.Special: 'noitalic bold #e50808 bg:#520000', 32 | 33 | Keyword: 'bold #6ab825', 34 | Keyword.Pseudo: 'nobold', 35 | Operator.Word: 'bold #6ab825', 36 | 37 | String: '#ed9d13', 38 | String.Other: '#ffa500', 39 | 40 | Number: '#3677a9', 41 | 42 | Name.Builtin: '#24909d', 43 | Name.Variable: '#40ffff', 44 | Name.Constant: '#40ffff', 45 | Name.Class: 'underline #447fcf', 46 | Name.Function: '#447fcf', 47 | Name.Namespace: 'underline #447fcf', 48 | Name.Exception: '#bbbbbb', 49 | Name.Tag: 'bold #6ab825', 50 | Name.Attribute: '#bbbbbb', 51 | Name.Decorator: '#ffa500', 52 | 53 | Generic.Heading: 'bold #ffffff', 54 | Generic.Subheading: 'underline #ffffff', 55 | Generic.Deleted: '#d22323', 56 | Generic.Inserted: '#589819', 57 | Generic.Error: '#d22323', 58 | Generic.Emph: 'italic', 59 | Generic.Strong: 'bold', 60 | Generic.Prompt: '#aaaaaa', 61 | Generic.Output: '#cccccc', 62 | Generic.Traceback: '#d22323', 63 | 64 | Error: 'bg:#e3d2d2 #a61717' 65 | } 66 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/rrt.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.rrt 4 | ~~~~~~~~~~~~~~~~~~~ 5 | 6 | pygments "rrt" theme, based on Zap and Emacs defaults. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Comment, Name, Keyword, String 14 | 15 | 16 | class RrtStyle(Style): 17 | """ 18 | Minimalistic "rrt" theme, based on Zap and Emacs defaults. 19 | """ 20 | 21 | background_color = '#000000' 22 | highlight_color = '#0000ff' 23 | 24 | styles = { 25 | Comment: '#00ff00', 26 | Name.Function: '#ffff00', 27 | Name.Variable: '#eedd82', 28 | Name.Constant: '#7fffd4', 29 | Keyword: '#ff0000', 30 | Comment.Preproc: '#e5e5e5', 31 | String: '#87ceeb', 32 | Keyword.Type: '#ee82ee', 33 | } 34 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/trac.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.trac 4 | ~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Port of the default trac highlighter design. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Keyword, Name, Comment, String, Error, \ 14 | Number, Operator, Generic, Whitespace 15 | 16 | 17 | class TracStyle(Style): 18 | """ 19 | Port of the default trac highlighter design. 20 | """ 21 | 22 | default_style = '' 23 | 24 | styles = { 25 | Whitespace: '#bbbbbb', 26 | Comment: 'italic #999988', 27 | Comment.Preproc: 'bold noitalic #999999', 28 | Comment.Special: 'bold #999999', 29 | 30 | Operator: 'bold', 31 | 32 | String: '#bb8844', 33 | String.Regex: '#808000', 34 | 35 | Number: '#009999', 36 | 37 | Keyword: 'bold', 38 | Keyword.Type: '#445588', 39 | 40 | Name.Builtin: '#999999', 41 | Name.Function: 'bold #990000', 42 | Name.Class: 'bold #445588', 43 | Name.Exception: 'bold #990000', 44 | Name.Namespace: '#555555', 45 | Name.Variable: '#008080', 46 | Name.Constant: '#008080', 47 | Name.Tag: '#000080', 48 | Name.Attribute: '#008080', 49 | Name.Entity: '#800080', 50 | 51 | Generic.Heading: '#999999', 52 | Generic.Subheading: '#aaaaaa', 53 | Generic.Deleted: 'bg:#ffdddd #000000', 54 | Generic.Inserted: 'bg:#ddffdd #000000', 55 | Generic.Error: '#aa0000', 56 | Generic.Emph: 'italic', 57 | Generic.Strong: 'bold', 58 | Generic.Prompt: '#555555', 59 | Generic.Output: '#888888', 60 | Generic.Traceback: '#aa0000', 61 | 62 | Error: 'bg:#e3d2d2 #a61717' 63 | } 64 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/vim.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.vim 4 | ~~~~~~~~~~~~~~~~~~~ 5 | 6 | A highlighting style for Pygments, inspired by vim. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Keyword, Name, Comment, String, Error, \ 14 | Number, Operator, Generic, Whitespace, Token 15 | 16 | 17 | class VimStyle(Style): 18 | """ 19 | Styles somewhat like vim 7.0 20 | """ 21 | 22 | background_color = "#000000" 23 | highlight_color = "#222222" 24 | default_style = "#cccccc" 25 | 26 | styles = { 27 | Token: "#cccccc", 28 | Whitespace: "", 29 | Comment: "#000080", 30 | Comment.Preproc: "", 31 | Comment.Special: "bold #cd0000", 32 | 33 | Keyword: "#cdcd00", 34 | Keyword.Declaration: "#00cd00", 35 | Keyword.Namespace: "#cd00cd", 36 | Keyword.Pseudo: "", 37 | Keyword.Type: "#00cd00", 38 | 39 | Operator: "#3399cc", 40 | Operator.Word: "#cdcd00", 41 | 42 | Name: "", 43 | Name.Class: "#00cdcd", 44 | Name.Builtin: "#cd00cd", 45 | Name.Exception: "bold #666699", 46 | Name.Variable: "#00cdcd", 47 | 48 | String: "#cd0000", 49 | Number: "#cd00cd", 50 | 51 | Generic.Heading: "bold #000080", 52 | Generic.Subheading: "bold #800080", 53 | Generic.Deleted: "#cd0000", 54 | Generic.Inserted: "#00cd00", 55 | Generic.Error: "#FF0000", 56 | Generic.Emph: "italic", 57 | Generic.Strong: "bold", 58 | Generic.Prompt: "bold #000080", 59 | Generic.Output: "#888", 60 | Generic.Traceback: "#04D", 61 | 62 | Error: "border:#FF0000" 63 | } 64 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/vs.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.vs 4 | ~~~~~~~~~~~~~~~~~~ 5 | 6 | Simple style with MS Visual Studio colors. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Keyword, Name, Comment, String, Error, \ 14 | Operator, Generic 15 | 16 | 17 | class VisualStudioStyle(Style): 18 | 19 | background_color = "#ffffff" 20 | default_style = "" 21 | 22 | styles = { 23 | Comment: "#008000", 24 | Comment.Preproc: "#0000ff", 25 | Keyword: "#0000ff", 26 | Operator.Word: "#0000ff", 27 | Keyword.Type: "#2b91af", 28 | Name.Class: "#2b91af", 29 | String: "#a31515", 30 | 31 | Generic.Heading: "bold", 32 | Generic.Subheading: "bold", 33 | Generic.Emph: "italic", 34 | Generic.Strong: "bold", 35 | Generic.Prompt: "bold", 36 | 37 | Error: "border:#FF0000" 38 | } 39 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/all/pygments/styles/xcode.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | pygments.styles.xcode 4 | ~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Style similar to the `Xcode` default theme. 7 | 8 | :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 9 | :license: BSD, see LICENSE for details. 10 | """ 11 | 12 | from pygments.style import Style 13 | from pygments.token import Keyword, Name, Comment, String, Error, \ 14 | Number, Operator, Literal 15 | 16 | 17 | class XcodeStyle(Style): 18 | """ 19 | Style similar to the Xcode default colouring theme. 20 | """ 21 | 22 | default_style = '' 23 | 24 | styles = { 25 | Comment: '#177500', 26 | Comment.Preproc: '#633820', 27 | 28 | String: '#C41A16', 29 | String.Char: '#2300CE', 30 | 31 | Operator: '#000000', 32 | 33 | Keyword: '#A90D91', 34 | 35 | Name: '#000000', 36 | Name.Attribute: '#836C28', 37 | Name.Class: '#3F6E75', 38 | Name.Function: '#000000', 39 | Name.Builtin: '#A90D91', 40 | # In Obj-C code this token is used to colour Cocoa types 41 | Name.Builtin.Pseudo: '#5B269A', 42 | Name.Variable: '#000000', 43 | Name.Tag: '#000000', 44 | Name.Decorator: '#000000', 45 | # Workaround for a BUG here: lexer treats multiline method signatres as labels 46 | Name.Label: '#000000', 47 | 48 | Literal: '#1C01CE', 49 | Number: '#1C01CE', 50 | Error: '#000000', 51 | } 52 | -------------------------------------------------------------------------------- /sublime-text/Packages/pygments/dependency-metadata.json: -------------------------------------------------------------------------------- 1 | {"sublime_text": "*", "version": "2.0.2", "description": "Python pygments module", "platforms": ["*"], "url": "https://github.com/packagecontrol/pygments/issues"} -------------------------------------------------------------------------------- /sublime-text/Packages/pymdownx/.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | wheels/ 24 | *.egg-info/ 25 | .installed.cfg 26 | *.egg 27 | 28 | # PyInstaller 29 | # Usually these files are written by a python script from a template 30 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 31 | *.manifest 32 | *.spec 33 | 34 | # Installer logs 35 | pip-log.txt 36 | pip-delete-this-directory.txt 37 | 38 | # Unit test / coverage reports 39 | htmlcov/ 40 | .tox/ 41 | .coverage 42 | .coverage.* 43 | .cache 44 | nosetests.xml 45 | coverage.xml 46 | *.cover 47 | .hypothesis/ 48 | 49 | # Translations 50 | *.mo 51 | *.pot 52 | 53 | # Django stuff: 54 | *.log 55 | local_settings.py 56 | 57 | # Flask stuff: 58 | instance/ 59 | .webassets-cache 60 | 61 | # Scrapy stuff: 62 | .scrapy 63 | 64 | # Sphinx documentation 65 | docs/_build/ 66 | 67 | # PyBuilder 68 | target/ 69 | 70 | # Jupyter Notebook 71 | .ipynb_checkpoints 72 | 73 | # pyenv 74 | .python-version 75 | 76 | # celery beat schedule file 77 | celerybeat-schedule 78 | 79 | # SageMath parsed files 80 | *.sage.py 81 | 82 | # dotenv 83 | .env 84 | 85 | # virtualenv 86 | .venv 87 | venv/ 88 | ENV/ 89 | 90 | # Spyder project settings 91 | .spyderproject 92 | .spyproject 93 | 94 | # Rope project settings 95 | .ropeproject 96 | 97 | # mkdocs documentation 98 | /site 99 | 100 | # mypy 101 | .mypy_cache/ 102 | -------------------------------------------------------------------------------- /sublime-text/Packages/pymdownx/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Isaac Muse 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /sublime-text/Packages/pymdownx/README.md: -------------------------------------------------------------------------------- 1 | PyMdown Extensions for Sublime Text 2 | 3 | Current version: 4.10.0 4 | -------------------------------------------------------------------------------- /sublime-text/Packages/pymdownx/dependency-metadata.json: -------------------------------------------------------------------------------- 1 | {"sublime_text": ">=3000", "url": "https://github.com/facelessuser/sublime-pymdownx/issues", "platforms": ["*"], "description": "PyMdown Extensions for Python Markdown", "version": "1.9.0"} -------------------------------------------------------------------------------- /sublime-text/Packages/pymdownx/st3/pymdownx/__init__.py: -------------------------------------------------------------------------------- 1 | """PyMdown extra extensions.""" 2 | 3 | from .__version__ import version, version_info # noqa 4 | -------------------------------------------------------------------------------- /sublime-text/Packages/pymdownx/st3/pymdownx/__version__.py: -------------------------------------------------------------------------------- 1 | """Version.""" 2 | 3 | # (major, minor, micro, release type, pre-release build, post-release build) 4 | version_info = (4, 10, 0, 'final', 0, 0) 5 | 6 | 7 | def _version(): 8 | """ 9 | Get the version (PEP 440). 10 | 11 | Version structure 12 | (major, minor, micro, release type, pre-release build, post-release build) 13 | Release names are named is such a way they are sortable and comparable with ease. 14 | (alpha | beta | candidate | final) 15 | 16 | - "final" should never have a pre-release build number 17 | - pre-releases should have a pre-release build number greater than 0 18 | - post-release is only applied if post-release build is greater than 0 19 | """ 20 | 21 | releases = {"alpha": 'a', "beta": 'b', "candidate": 'rc', "final": ''} 22 | # Version info should be proper length 23 | assert len(version_info) == 6 24 | # Should be a valid release 25 | assert version_info[3] in releases 26 | # Pre-release releases should have a pre-release value 27 | assert version_info[3] == 'final' or version_info[4] > 0 28 | # Final should not have a pre-release value 29 | assert version_info[3] != 'final' or version_info[4] == 0 30 | 31 | main = '.'.join(str(x)for x in (version_info[0:2] if version_info[2] == 0 else version_info[0:3])) 32 | prerel = releases[version_info[3]] 33 | prerel += str(version_info[4]) if prerel else '' 34 | postrel = '.post%d' % version_info[5] if version_info[5] > 0 else '' 35 | 36 | return ''.join((main, prerel, postrel)) 37 | 38 | 39 | version = _version() 40 | -------------------------------------------------------------------------------- /sublime-text/Packages/pymdownx/st3/pymdownx/extrarawhtml.py: -------------------------------------------------------------------------------- 1 | """ 2 | ExtraRawHtml. 3 | 4 | Split out extra raw html parsing from Python Markdown. 5 | 6 | --- 7 | Python-Markdown Extra Extension 8 | =============================== 9 | See 10 | for documentation. 11 | Copyright The Python Markdown Project 12 | License: [BSD](http://www.opensource.org/licenses/bsd-license.php) 13 | """ 14 | from __future__ import unicode_literals 15 | from markdown import Extension 16 | from markdown.extensions import extra 17 | import re 18 | 19 | 20 | class ExtraRawHtmExtension(Extension): 21 | """Add raw HTML extensions to Markdown class.""" 22 | 23 | def extendMarkdown(self, md, md_globals): 24 | """Register extension instances.""" 25 | 26 | md.registerExtension(self) 27 | 28 | if not md.safeMode: 29 | # Turn on processing of markdown text within raw html 30 | md.preprocessors['html_block'].markdown_in_raw = True 31 | md.parser.blockprocessors.add( 32 | 'markdown_block', 33 | extra.MarkdownInHtmlProcessor(md.parser), 34 | '_begin' 35 | ) 36 | md.parser.blockprocessors.tag_counter = -1 37 | md.parser.blockprocessors.contain_span_tags = re.compile( 38 | r'^(p|h[1-6]|li|dd|dt|td|th|legend|address)$', 39 | re.IGNORECASE 40 | ) 41 | 42 | 43 | def makeExtension(*args, **kwargs): 44 | """Return extension.""" 45 | 46 | return ExtraRawHtmExtension(*args, **kwargs) 47 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-jinja2/.hg_archival.txt: -------------------------------------------------------------------------------- 1 | repo: 42306b6a89059f7783d888ed2e59c66cedf8bfd9 2 | node: c3ab1cfc35483d33a789496a0d189db640fa0658 3 | branch: default 4 | tag: 2.8.0 5 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-jinja2/.hgtags: -------------------------------------------------------------------------------- 1 | 42306b6a89059f7783d888ed2e59c66cedf8bfd9 2.8-dev.0+201507211823 2 | 42306b6a89059f7783d888ed2e59c66cedf8bfd9 2.8-dev.0+201507211823 3 | 0000000000000000000000000000000000000000 2.8-dev.0+201507211823 4 | 6a1f7e503ff291599c1fe4c7d5241674a67398d0 2.8.0-dev.0+201507211823 5 | cb7a6b45781f9914cc062910c9f81e6874d0cd0c 2.7.3 6 | 6a1f7e503ff291599c1fe4c7d5241674a67398d0 2.8.0-dev.0+201507211823 7 | 0000000000000000000000000000000000000000 2.8.0-dev.0+201507211823 8 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-jinja2/all/jinja2/constants.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | jinja.constants 4 | ~~~~~~~~~~~~~~~ 5 | 6 | Various constants. 7 | 8 | :copyright: (c) 2010 by the Jinja Team. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | 12 | 13 | #: list of lorem ipsum words used by the lipsum() helper function 14 | LOREM_IPSUM_WORDS = u'''\ 15 | a ac accumsan ad adipiscing aenean aliquam aliquet amet ante aptent arcu at 16 | auctor augue bibendum blandit class commodo condimentum congue consectetuer 17 | consequat conubia convallis cras cubilia cum curabitur curae cursus dapibus 18 | diam dictum dictumst dignissim dis dolor donec dui duis egestas eget eleifend 19 | elementum elit enim erat eros est et etiam eu euismod facilisi facilisis fames 20 | faucibus felis fermentum feugiat fringilla fusce gravida habitant habitasse hac 21 | hendrerit hymenaeos iaculis id imperdiet in inceptos integer interdum ipsum 22 | justo lacinia lacus laoreet lectus leo libero ligula litora lobortis lorem 23 | luctus maecenas magna magnis malesuada massa mattis mauris metus mi molestie 24 | mollis montes morbi mus nam nascetur natoque nec neque netus nibh nisi nisl non 25 | nonummy nostra nulla nullam nunc odio orci ornare parturient pede pellentesque 26 | penatibus per pharetra phasellus placerat platea porta porttitor posuere 27 | potenti praesent pretium primis proin pulvinar purus quam quis quisque rhoncus 28 | ridiculus risus rutrum sagittis sapien scelerisque sed sem semper senectus sit 29 | sociis sociosqu sodales sollicitudin suscipit suspendisse taciti tellus tempor 30 | tempus tincidunt torquent tortor tristique turpis ullamcorper ultrices 31 | ultricies urna ut varius vehicula vel velit venenatis vestibulum vitae vivamus 32 | viverra volutpat vulputate''' 33 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-jinja2/all/jinja2/defaults.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | jinja2.defaults 4 | ~~~~~~~~~~~~~~~ 5 | 6 | Jinja default filters and tags. 7 | 8 | :copyright: (c) 2010 by the Jinja Team. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | from jinja2._compat import range_type 12 | from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner 13 | 14 | 15 | # defaults for the parser / lexer 16 | BLOCK_START_STRING = '{%' 17 | BLOCK_END_STRING = '%}' 18 | VARIABLE_START_STRING = '{{' 19 | VARIABLE_END_STRING = '}}' 20 | COMMENT_START_STRING = '{#' 21 | COMMENT_END_STRING = '#}' 22 | LINE_STATEMENT_PREFIX = None 23 | LINE_COMMENT_PREFIX = None 24 | TRIM_BLOCKS = False 25 | LSTRIP_BLOCKS = False 26 | NEWLINE_SEQUENCE = '\n' 27 | KEEP_TRAILING_NEWLINE = False 28 | 29 | 30 | # default filters, tests and namespace 31 | from jinja2.filters import FILTERS as DEFAULT_FILTERS 32 | from jinja2.tests import TESTS as DEFAULT_TESTS 33 | DEFAULT_NAMESPACE = { 34 | 'range': range_type, 35 | 'dict': dict, 36 | 'lipsum': generate_lorem_ipsum, 37 | 'cycler': Cycler, 38 | 'joiner': Joiner 39 | } 40 | 41 | 42 | # export all constants 43 | __all__ = tuple(x for x in locals().keys() if x.isupper()) 44 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-jinja2/dependency-metadata.json: -------------------------------------------------------------------------------- 1 | {"sublime_text": "*", "version": "2.8.0", "description": "Python Jinja2 module", "platforms": ["*"], "url": "https://bitbucket.org/teddy_beer_maniac/sublime-text-dependency-jinja2/issues"} -------------------------------------------------------------------------------- /sublime-text/Packages/python-markdown/.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | 5 | # C extensions 6 | *.so 7 | 8 | # Distribution / packaging 9 | .Python 10 | env/ 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | *.egg-info/ 23 | .installed.cfg 24 | *.egg 25 | 26 | # PyInstaller 27 | # Usually these files are written by a python script from a template 28 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 29 | *.manifest 30 | *.spec 31 | 32 | # Installer logs 33 | pip-log.txt 34 | pip-delete-this-directory.txt 35 | 36 | # Unit test / coverage reports 37 | htmlcov/ 38 | .tox/ 39 | .coverage 40 | .coverage.* 41 | .cache 42 | nosetests.xml 43 | coverage.xml 44 | *,cover 45 | 46 | # Translations 47 | *.mo 48 | *.pot 49 | 50 | # Django stuff: 51 | *.log 52 | 53 | # Sphinx documentation 54 | docs/_build/ 55 | 56 | # PyBuilder 57 | target/ 58 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-markdown/README.md: -------------------------------------------------------------------------------- 1 | # sublime-markdown 2 | 3 | Sublime dependency for Python Markdown 4 | 5 | Current version: 2.6.11 6 | 7 | # License 8 | 9 | https://github.com/facelessuser/sublime-markdown/blob/master/st3/LICENSE.md 10 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-markdown/dependency-metadata.json: -------------------------------------------------------------------------------- 1 | {"sublime_text": ">=3000", "url": "https://github.com/facelessuser/sublime-markdown/issues", "platforms": ["*"], "description": "Python Markdown module", "version": "2.6.11"} -------------------------------------------------------------------------------- /sublime-text/Packages/python-markdown/st3/LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright 2007, 2008 The Python Markdown Project (v. 1.7 and later) 2 | Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b) 3 | Copyright 2004 Manfred Stienstra (the original version) 4 | 5 | All rights reserved. 6 | 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the following conditions are met: 9 | 10 | * Redistributions of source code must retain the above copyright 11 | notice, this list of conditions and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in the 14 | documentation and/or other materials provided with the distribution. 15 | * Neither the name of the nor the 16 | names of its contributors may be used to endorse or promote products 17 | derived from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE PYTHON MARKDOWN PROJECT ''AS IS'' AND ANY 20 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 21 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 22 | DISCLAIMED. IN NO EVENT SHALL ANY CONTRIBUTORS TO THE PYTHON MARKDOWN PROJECT 23 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | POSSIBILITY OF SUCH DAMAGE. 30 | 31 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-markdown/st3/markdown/__version__.py: -------------------------------------------------------------------------------- 1 | # 2 | # markdown/__version__.py 3 | # 4 | # version_info should conform to PEP 386 5 | # (major, minor, micro, alpha/beta/rc/final, #) 6 | # (1, 1, 2, 'alpha', 0) => "1.1.2.dev" 7 | # (1, 2, 0, 'beta', 2) => "1.2b2" 8 | version_info = (2, 6, 11, 'final', 0) 9 | 10 | 11 | def _get_version(): 12 | " Returns a PEP 386-compliant version number from version_info. " 13 | assert len(version_info) == 5 14 | assert version_info[3] in ('alpha', 'beta', 'rc', 'final') 15 | 16 | parts = 2 if version_info[2] == 0 else 3 17 | main = '.'.join(map(str, version_info[:parts])) 18 | 19 | sub = '' 20 | if version_info[3] == 'alpha' and version_info[4] == 0: 21 | # TODO: maybe append some sort of git info here?? 22 | sub = '.dev' 23 | elif version_info[3] != 'final': 24 | mapping = {'alpha': 'a', 'beta': 'b', 'rc': 'c'} 25 | sub = mapping[version_info[3]] + str(version_info[4]) 26 | 27 | return str(main + sub) 28 | 29 | 30 | version = _get_version() 31 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-markdown/st3/markdown/extensions/nl2br.py: -------------------------------------------------------------------------------- 1 | """ 2 | NL2BR Extension 3 | =============== 4 | 5 | A Python-Markdown extension to treat newlines as hard breaks; like 6 | GitHub-flavored Markdown does. 7 | 8 | See 9 | for documentation. 10 | 11 | Oringinal code Copyright 2011 [Brian Neal](http://deathofagremmie.com/) 12 | 13 | All changes Copyright 2011-2014 The Python Markdown Project 14 | 15 | License: [BSD](http://www.opensource.org/licenses/bsd-license.php) 16 | 17 | """ 18 | 19 | from __future__ import absolute_import 20 | from __future__ import unicode_literals 21 | from . import Extension 22 | from ..inlinepatterns import SubstituteTagPattern 23 | 24 | BR_RE = r'\n' 25 | 26 | 27 | class Nl2BrExtension(Extension): 28 | 29 | def extendMarkdown(self, md, md_globals): 30 | br_tag = SubstituteTagPattern(BR_RE, 'br') 31 | md.inlinePatterns.add('nl', br_tag, '_end') 32 | 33 | 34 | def makeExtension(*args, **kwargs): 35 | return Nl2BrExtension(*args, **kwargs) 36 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-markdown/st3/markdown/extensions/sane_lists.py: -------------------------------------------------------------------------------- 1 | """ 2 | Sane List Extension for Python-Markdown 3 | ======================================= 4 | 5 | Modify the behavior of Lists in Python-Markdown to act in a sane manor. 6 | 7 | See 8 | for documentation. 9 | 10 | Original code Copyright 2011 [Waylan Limberg](http://achinghead.com) 11 | 12 | All changes Copyright 2011-2014 The Python Markdown Project 13 | 14 | License: [BSD](http://www.opensource.org/licenses/bsd-license.php) 15 | 16 | """ 17 | 18 | from __future__ import absolute_import 19 | from __future__ import unicode_literals 20 | from . import Extension 21 | from ..blockprocessors import OListProcessor, UListProcessor 22 | import re 23 | 24 | 25 | class SaneOListProcessor(OListProcessor): 26 | 27 | SIBLING_TAGS = ['ol'] 28 | 29 | def __init__(self, parser): 30 | super(SaneOListProcessor, self).__init__(parser) 31 | self.CHILD_RE = re.compile(r'^[ ]{0,%d}((\d+\.))[ ]+(.*)' % 32 | (self.tab_length - 1)) 33 | 34 | 35 | class SaneUListProcessor(UListProcessor): 36 | 37 | SIBLING_TAGS = ['ul'] 38 | 39 | def __init__(self, parser): 40 | super(SaneUListProcessor, self).__init__(parser) 41 | self.CHILD_RE = re.compile(r'^[ ]{0,%d}(([*+-]))[ ]+(.*)' % 42 | (self.tab_length - 1)) 43 | 44 | 45 | class SaneListExtension(Extension): 46 | """ Add sane lists to Markdown. """ 47 | 48 | def extendMarkdown(self, md, md_globals): 49 | """ Override existing Processors. """ 50 | md.parser.blockprocessors['olist'] = SaneOListProcessor(md.parser) 51 | md.parser.blockprocessors['ulist'] = SaneUListProcessor(md.parser) 52 | 53 | 54 | def makeExtension(*args, **kwargs): 55 | return SaneListExtension(*args, **kwargs) 56 | -------------------------------------------------------------------------------- /sublime-text/Packages/python-markdown/st3/markdown/extensions/smart_strong.py: -------------------------------------------------------------------------------- 1 | ''' 2 | Smart_Strong Extension for Python-Markdown 3 | ========================================== 4 | 5 | This extention adds smarter handling of double underscores within words. 6 | 7 | See 8 | for documentation. 9 | 10 | Original code Copyright 2011 [Waylan Limberg](http://achinghead.com) 11 | 12 | All changes Copyright 2011-2014 The Python Markdown Project 13 | 14 | License: [BSD](http://www.opensource.org/licenses/bsd-license.php) 15 | 16 | ''' 17 | 18 | from __future__ import absolute_import 19 | from __future__ import unicode_literals 20 | from . import Extension 21 | from ..inlinepatterns import SimpleTagPattern 22 | 23 | SMART_STRONG_RE = r'(?emphasis2' 37 | ) 38 | 39 | 40 | def makeExtension(*args, **kwargs): 41 | return SmartEmphasisExtension(*args, **kwargs) 42 | -------------------------------------------------------------------------------- /sublime-text/Packages/pyyaml/README.md: -------------------------------------------------------------------------------- 1 | # *pyyaml* module for Package Control 2 | 3 | This is the *[pyyaml][]* module (`yaml`) 4 | bundled for usage with [Package Control][], 5 | a package manager 6 | for the [Sublime Text][] text editor. 7 | 8 | It does **only include the pure-Python version** 9 | and not the fast LibYAML variant. 10 | This may or may not 11 | be added as a different dependency 12 | at a later point. 13 | 14 | 15 | this repo | pypi 16 | ---- | ---- 17 | ![latest tag](https://img.shields.io/github/tag/packagecontrol/pyyaml.svg) | [![pypi](https://img.shields.io/pypi/v/pyyaml.svg)][pypi] 18 | 19 | 20 | ## How to use *pyyaml* as a dependency 21 | 22 | In order to tell Package Control 23 | that you are using the *pyyaml* module 24 | in your ST package, 25 | create a `dependencies.json` file 26 | in your package root 27 | with the following contents: 28 | 29 | ```js 30 | { 31 | "*": { 32 | "*": [ 33 | "pyyaml" 34 | ] 35 | } 36 | } 37 | ``` 38 | 39 | If the file exists already, 40 | add `"pyyaml"` to the every dependency list. 41 | 42 | Then run the **Package Control: Satisfy Dependencies** command 43 | to make Package Control 44 | install the module for you locally 45 | (if you don't have it already). 46 | 47 | After all this 48 | you can use `import yaml` 49 | in any of your Python plugins. 50 | 51 | See also: 52 | [Documentation on Dependencies](https://packagecontrol.io/docs/dependencies) 53 | 54 | 55 | ## How to update this repository (for contributors) 56 | 57 | 1. Download the latest tarball 58 | from [pypi][]. 59 | 2. Delete everything inside the `st2/` and `st3/` folders. 60 | 3. Copy the `lib/` folder 61 | and everything related to copyright/licensing 62 | from the tarball 63 | to the `st2/` folder 64 | and do the same 65 | with the `lib3/` folder 66 | and `st3/`. 67 | 4. Commit changes 68 | and either create a pull request 69 | or create a tag directly 70 | in the format `v` 71 | (in case you have push access). 72 | This must be a semantic version, 73 | so append `.0`. 74 | 75 | 76 | ## License 77 | 78 | The contents of the root folder 79 | in this repository 80 | are released 81 | under the *public domain*. 82 | The contents of the `st2/` and `st3/` folders 83 | fall under *their own bundled licenses*. 84 | 85 | 86 | [pyyaml]: http://pyyaml.org/wiki/PyYAML 87 | [Package Control]: http://packagecontrol.io/ 88 | [Sublime Text]: http://sublimetext.com/ 89 | [pypi]: https://pypi.python.org/pypi/pyyaml 90 | -------------------------------------------------------------------------------- /sublime-text/Packages/pyyaml/dependency-metadata.json: -------------------------------------------------------------------------------- 1 | {"sublime_text": "*", "url": "https://github.com/packagecontrol/pyyaml/issues", "platforms": ["*"], "description": "Python PyYAML module", "version": "3.12.0"} -------------------------------------------------------------------------------- /sublime-text/Packages/pyyaml/st2/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006 Kirill Simonov 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /sublime-text/Packages/pyyaml/st2/yaml/loader.py: -------------------------------------------------------------------------------- 1 | 2 | __all__ = ['BaseLoader', 'SafeLoader', 'Loader'] 3 | 4 | from reader import * 5 | from scanner import * 6 | from parser import * 7 | from composer import * 8 | from constructor import * 9 | from resolver import * 10 | 11 | class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver): 12 | 13 | def __init__(self, stream): 14 | Reader.__init__(self, stream) 15 | Scanner.__init__(self) 16 | Parser.__init__(self) 17 | Composer.__init__(self) 18 | BaseConstructor.__init__(self) 19 | BaseResolver.__init__(self) 20 | 21 | class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver): 22 | 23 | def __init__(self, stream): 24 | Reader.__init__(self, stream) 25 | Scanner.__init__(self) 26 | Parser.__init__(self) 27 | Composer.__init__(self) 28 | SafeConstructor.__init__(self) 29 | Resolver.__init__(self) 30 | 31 | class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver): 32 | 33 | def __init__(self, stream): 34 | Reader.__init__(self, stream) 35 | Scanner.__init__(self) 36 | Parser.__init__(self) 37 | Composer.__init__(self) 38 | Constructor.__init__(self) 39 | Resolver.__init__(self) 40 | 41 | -------------------------------------------------------------------------------- /sublime-text/Packages/pyyaml/st2/yaml/nodes.py: -------------------------------------------------------------------------------- 1 | 2 | class Node(object): 3 | def __init__(self, tag, value, start_mark, end_mark): 4 | self.tag = tag 5 | self.value = value 6 | self.start_mark = start_mark 7 | self.end_mark = end_mark 8 | def __repr__(self): 9 | value = self.value 10 | #if isinstance(value, list): 11 | # if len(value) == 0: 12 | # value = '' 13 | # elif len(value) == 1: 14 | # value = '<1 item>' 15 | # else: 16 | # value = '<%d items>' % len(value) 17 | #else: 18 | # if len(value) > 75: 19 | # value = repr(value[:70]+u' ... ') 20 | # else: 21 | # value = repr(value) 22 | value = repr(value) 23 | return '%s(tag=%r, value=%s)' % (self.__class__.__name__, self.tag, value) 24 | 25 | class ScalarNode(Node): 26 | id = 'scalar' 27 | def __init__(self, tag, value, 28 | start_mark=None, end_mark=None, style=None): 29 | self.tag = tag 30 | self.value = value 31 | self.start_mark = start_mark 32 | self.end_mark = end_mark 33 | self.style = style 34 | 35 | class CollectionNode(Node): 36 | def __init__(self, tag, value, 37 | start_mark=None, end_mark=None, flow_style=None): 38 | self.tag = tag 39 | self.value = value 40 | self.start_mark = start_mark 41 | self.end_mark = end_mark 42 | self.flow_style = flow_style 43 | 44 | class SequenceNode(CollectionNode): 45 | id = 'sequence' 46 | 47 | class MappingNode(CollectionNode): 48 | id = 'mapping' 49 | 50 | -------------------------------------------------------------------------------- /sublime-text/Packages/pyyaml/st3/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006 Kirill Simonov 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /sublime-text/Packages/pyyaml/st3/yaml/loader.py: -------------------------------------------------------------------------------- 1 | 2 | __all__ = ['BaseLoader', 'SafeLoader', 'Loader'] 3 | 4 | from .reader import * 5 | from .scanner import * 6 | from .parser import * 7 | from .composer import * 8 | from .constructor import * 9 | from .resolver import * 10 | 11 | class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver): 12 | 13 | def __init__(self, stream): 14 | Reader.__init__(self, stream) 15 | Scanner.__init__(self) 16 | Parser.__init__(self) 17 | Composer.__init__(self) 18 | BaseConstructor.__init__(self) 19 | BaseResolver.__init__(self) 20 | 21 | class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver): 22 | 23 | def __init__(self, stream): 24 | Reader.__init__(self, stream) 25 | Scanner.__init__(self) 26 | Parser.__init__(self) 27 | Composer.__init__(self) 28 | SafeConstructor.__init__(self) 29 | Resolver.__init__(self) 30 | 31 | class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver): 32 | 33 | def __init__(self, stream): 34 | Reader.__init__(self, stream) 35 | Scanner.__init__(self) 36 | Parser.__init__(self) 37 | Composer.__init__(self) 38 | Constructor.__init__(self) 39 | Resolver.__init__(self) 40 | 41 | -------------------------------------------------------------------------------- /sublime-text/Packages/pyyaml/st3/yaml/nodes.py: -------------------------------------------------------------------------------- 1 | 2 | class Node(object): 3 | def __init__(self, tag, value, start_mark, end_mark): 4 | self.tag = tag 5 | self.value = value 6 | self.start_mark = start_mark 7 | self.end_mark = end_mark 8 | def __repr__(self): 9 | value = self.value 10 | #if isinstance(value, list): 11 | # if len(value) == 0: 12 | # value = '' 13 | # elif len(value) == 1: 14 | # value = '<1 item>' 15 | # else: 16 | # value = '<%d items>' % len(value) 17 | #else: 18 | # if len(value) > 75: 19 | # value = repr(value[:70]+u' ... ') 20 | # else: 21 | # value = repr(value) 22 | value = repr(value) 23 | return '%s(tag=%r, value=%s)' % (self.__class__.__name__, self.tag, value) 24 | 25 | class ScalarNode(Node): 26 | id = 'scalar' 27 | def __init__(self, tag, value, 28 | start_mark=None, end_mark=None, style=None): 29 | self.tag = tag 30 | self.value = value 31 | self.start_mark = start_mark 32 | self.end_mark = end_mark 33 | self.style = style 34 | 35 | class CollectionNode(Node): 36 | def __init__(self, tag, value, 37 | start_mark=None, end_mark=None, flow_style=None): 38 | self.tag = tag 39 | self.value = value 40 | self.start_mark = start_mark 41 | self.end_mark = end_mark 42 | self.flow_style = flow_style 43 | 44 | class SequenceNode(CollectionNode): 45 | id = 'sequence' 46 | 47 | class MappingNode(CollectionNode): 48 | id = 'mapping' 49 | 50 | -------------------------------------------------------------------------------- /tmux/tmuxline_snapshot: -------------------------------------------------------------------------------- 1 | # This tmux statusbar config was created by tmuxline.vim 2 | # on Mon, 02 Jul 2018 3 | 4 | set -g status-justify "left" 5 | set -g status "on" 6 | set -g status-attr "none" 7 | set -g message-command-bg "colour11" 8 | set -g status-left-length "100" 9 | set -g pane-active-border-fg "colour14" 10 | set -g status-bg "colour0" 11 | set -g message-command-fg "colour7" 12 | set -g pane-border-fg "colour11" 13 | set -g message-bg "colour11" 14 | set -g status-left-attr "none" 15 | set -g status-right-attr "none" 16 | set -g status-right-length "100" 17 | set -g message-fg "colour7" 18 | setw -g window-status-fg "colour10" 19 | setw -g window-status-attr "none" 20 | setw -g window-status-activity-bg "colour0" 21 | setw -g window-status-activity-attr "none" 22 | setw -g window-status-activity-fg "colour14" 23 | setw -g window-status-separator "" 24 | setw -g window-status-bg "colour0" 25 | set -g status-left "#[fg=colour15,bg=colour14,bold] #S #[fg=colour14,bg=colour0,nobold,nounderscore,noitalics]" 26 | set -g status-right "#[fg=colour0,bg=colour0,nobold,nounderscore,noitalics]#[fg=colour10,bg=colour0] #(spotify status) #[fg=colour11,bg=colour0,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour11] #(date +\"%m-%d-%y\") #(date +\"%I:%M\") #[fg=colour14,bg=colour11,nobold,nounderscore,noitalics]#[fg=colour15,bg=colour14] #(battery-percentage) " 27 | setw -g window-status-format "#[fg=colour0,bg=colour0,nobold,nounderscore,noitalics]#[default] #I:#W #[fg=colour0,bg=colour0,nobold,nounderscore,noitalics]" 28 | setw -g window-status-current-format "#[fg=colour0,bg=colour11,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour11] #I:#W #[fg=colour11,bg=colour0,nobold,nounderscore,noitalics]" 29 | -------------------------------------------------------------------------------- /vim/colors/grb256.vim: -------------------------------------------------------------------------------- 1 | " Based on 2 | runtime colors/ir_black.vim 3 | 4 | let g:colors_name = "grb256" 5 | 6 | hi Comment ctermfg=darkgrey 7 | 8 | hi StatusLine ctermbg=darkgrey ctermfg=white 9 | hi StatusLineNC ctermbg=black ctermfg=lightgrey 10 | hi VertSplit ctermbg=black ctermfg=black 11 | hi LineNr ctermfg=darkgray 12 | hi CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE 13 | hi ColorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=darkgrey cterm=NONE 14 | hi Function guifg=#FFD2A7 guibg=NONE gui=NONE ctermfg=yellow ctermbg=NONE cterm=NONE 15 | hi Visual guifg=NONE guibg=#262D51 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE 16 | 17 | hi Error guifg=NONE guibg=NONE gui=undercurl ctermfg=16 ctermbg=red cterm=NONE guisp=#FF6C60 " undercurl color 18 | hi ErrorMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=red cterm=NONE 19 | hi WarningMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=red cterm=NONE 20 | hi SpellBad guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=160 cterm=NONE 21 | hi Search guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=darkgray cterm=NONE 22 | 23 | " ir_black doesn't highlight operators for some reason 24 | hi Operator guifg=#6699CC guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE 25 | 26 | highlight DiffAdd term=reverse cterm=bold ctermbg=lightgreen ctermfg=16 27 | highlight DiffChange term=reverse cterm=bold ctermbg=lightblue ctermfg=16 28 | highlight DiffText term=reverse cterm=bold ctermbg=lightgray ctermfg=16 29 | highlight DiffDelete term=reverse cterm=bold ctermbg=lightred ctermfg=16 30 | 31 | highlight PmenuSel ctermfg=16 ctermbg=156 32 | -------------------------------------------------------------------------------- /vim/gvimrc: -------------------------------------------------------------------------------- 1 | set guifont=Operator\ Mono\ Book:h14 2 | set linespace=2 3 | set guioptions-=l 4 | set guioptions-=r 5 | set go-=L 6 | set guioptions+=e 7 | -------------------------------------------------------------------------------- /vim/partials/completion.vim: -------------------------------------------------------------------------------- 1 | " ************************************* 2 | " 3 | " Completions 4 | " 5 | " ************************************* 6 | 7 | set wildmode=list:longest 8 | set wildmenu "Enable ctrl-n and ctrl-p to scroll thru matches 9 | set wildignore=*.o,*.obj,*~ "Stuff to ignore when tab completing 10 | set wildignore+=*vim/backups* 11 | set wildignore+=*sass-cache* 12 | set wildignore+=*DS_Store* 13 | set wildignore+=vendor/rails/** 14 | set wildignore+=vendor/cache/** 15 | set wildignore+=*.gem 16 | set wildignore+=log/** 17 | set wildignore+=tmp/** 18 | set wildignore+=*.png,*.jpg,*.gif 19 | set completeopt=longest,menuone 20 | -------------------------------------------------------------------------------- /vim/partials/filetypes.vim: -------------------------------------------------------------------------------- 1 | " ************************************* 2 | " 3 | " Filetypes 4 | " 5 | " ************************************* 6 | 7 | " ------------------------------------- 8 | " Buffers 9 | " ------------------------------------- 10 | 11 | autocmd BufNewFile,BufRead *.coffee.erb set filetype=coffee 12 | autocmd BufNewFile,BufRead *.haml.erb set filetype=haml 13 | autocmd BufNewFile,BufRead *.sass set ft=sass.css 14 | autocmd BufNewFile,BufRead *.sass.erb set filetype=sass 15 | autocmd BufNewFile,BufRead *.scss set ft=scss.css 16 | autocmd BufNewFile,BufRead *.js.es6 set ft=javascript 17 | autocmd BufNewFile,BufRead *.js set ft=javascript 18 | autocmd BufNewFile,BufRead *.ts set ft=javascript 19 | 20 | " ------------------------------------- 21 | " Filetypes 22 | " ------------------------------------- 23 | 24 | autocmd FileType css set omnifunc=csscomplete#CompleteCSS 25 | autocmd Filetype gitcommit setlocal spell textwidth=72 26 | autocmd FileType html set omnifunc=htmlcomplete#CompleteTags 27 | autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS 28 | autocmd FileType markdown,md setlocal spell spelllang=en 29 | 30 | " ------------------------------------- 31 | " Pencil 32 | " ------------------------------------- 33 | 34 | " augroup pencil 35 | " autocmd! 36 | " autocmd FileType markdown,md call pencil#init() 37 | " autocmd FileType text call pencil#init() 38 | " augroup END 39 | -------------------------------------------------------------------------------- /vim/partials/functions.vim: -------------------------------------------------------------------------------- 1 | " ************************************* 2 | " 3 | " Functions 4 | " 5 | " ************************************* 6 | 7 | " ------------------------------------- 8 | " Browser 9 | " -> Open link on current line in browser 10 | " ------------------------------------- 11 | 12 | function! Browser() 13 | let s:uri = matchstr(getline("."), '[a-z]*:\/\/[^ >,;:]*') 14 | echo s:uri 15 | if s:uri != "" 16 | exec "!open \"" . s:uri . "\"" 17 | else 18 | echo "No URI found in line." 19 | endif 20 | endfunction 21 | nnoremap R :call Browser() 22 | 23 | " ------------------------------------- 24 | " Clean File 25 | " ------------------------------------- 26 | 27 | function! CleanFile() 28 | exec ':%s/\n\n\n/\r\r/ge' 29 | endfunction 30 | 31 | " ------------------------------------- 32 | " Multi-purpose Tab Key 33 | " -> Indent if we're at the beginning of a line. Else, do completion. 34 | " ------------------------------------- 35 | 36 | function! InsertTabWrapper() 37 | let col = col('.') - 1 38 | if !col || getline('.')[col - 1] !~ '\k' 39 | return "\" 40 | else 41 | return "\" 42 | endif 43 | endfunction 44 | inoremap =InsertTabWrapper() 45 | inoremap 46 | 47 | " ------------------------------------- 48 | " No Fun 49 | " -> Turns on 'no fun' mode 50 | " ------------------------------------- 51 | 52 | function! NoFunMode() 53 | syntax off 54 | set nohlsearch 55 | set t_Co=0 56 | set relativenumber! nu! 57 | endfunction 58 | 59 | " ------------------------------------- 60 | " Long Line Toggle 61 | " -> Toggle relative line numbers and cursorline; useful for long line files 62 | " ------------------------------------- 63 | 64 | function! LongLineToggle() 65 | set relativenumber! 66 | set cursorline! 67 | endfunction 68 | nnoremap ot :call LongLineToggle() 69 | 70 | " ------------------------------------- 71 | " Rename File 72 | " ------------------------------------- 73 | 74 | function! RenameFile() 75 | let old_name = expand('%') 76 | let new_name = input('New file name: ', expand('%'), 'file') 77 | if new_name != '' && new_name != old_name 78 | exec ':saveas ' . new_name 79 | exec ':silent !rm ' . old_name 80 | redraw! 81 | endif 82 | endfunction 83 | nnoremap rn :call RenameFile() 84 | -------------------------------------------------------------------------------- /vim/partials/init.vim: -------------------------------------------------------------------------------- 1 | " ************************************* 2 | " 3 | " Initialize 4 | " 5 | " ************************************* 6 | 7 | " Use Vim settings, rather then Vi settings (much better!). 8 | " This must be first, because it changes other options as a side effect. 9 | set nocompatible 10 | -------------------------------------------------------------------------------- /vim/partials/visual.vim: -------------------------------------------------------------------------------- 1 | " ************************************* 2 | " 3 | " Visual 4 | " 5 | " ************************************* 6 | 7 | " ------------------------------------- 8 | " Settings 9 | " ------------------------------------- 10 | 11 | if (&t_Co > 2 || has("gui_running")) && !exists("syntax_on") 12 | syntax on 13 | endif 14 | 15 | if (has("termguicolors")) 16 | set termguicolors 17 | endif 18 | 19 | set t_Co=256 20 | 21 | " ------------------------------------- 22 | " Theme 23 | " ------------------------------------- 24 | 25 | set background=dark 26 | color grb256 27 | 28 | " ------------------------------------- 29 | " Custom Color Adjustments 30 | " ------------------------------------- 31 | 32 | hi! Normal guibg=NONE ctermbg=NONE 33 | hi! LineNR guibg=NONE ctermbg=NONE 34 | hi! FoldColumn guibg=NONE ctermbg=NONE 35 | hi! SignColumn guibg=NONE ctermbg=NONE 36 | hi! VertSplit ctermfg=234 ctermbg=234 37 | hi! htmlArg gui=italic cterm=italic 38 | hi! Comment gui=italic cterm=italic 39 | hi! LineNr ctermfg=236 40 | -------------------------------------------------------------------------------- /vim/vimrc: -------------------------------------------------------------------------------- 1 | " ************************************* 2 | " 3 | " .vimrc 4 | " 5 | " ************************************* 6 | 7 | source ~/.vim/partials/init.vim 8 | 9 | " ------------------------------------- 10 | " General Configuration 11 | " ------------------------------------- 12 | 13 | source ~/.vim/partials/general.vim 14 | 15 | " ------------------------------------- 16 | " Vundle 17 | " ------------------------------------- 18 | 19 | source ~/.vim/partials/plugins.vim 20 | 21 | " ------------------------------------- 22 | " Colors 23 | " ------------------------------------- 24 | 25 | source ~/.vim/partials/visual.vim 26 | 27 | " ------------------------------------- 28 | " Completion 29 | " ------------------------------------- 30 | 31 | source ~/.vim/partials/completion.vim 32 | 33 | " ------------------------------------- 34 | " Mappings 35 | " ------------------------------------- 36 | 37 | source ~/.vim/partials/mappings.vim 38 | 39 | " ------------------------------------- 40 | " Functions 41 | " ------------------------------------- 42 | 43 | source ~/.vim/partials/functions.vim 44 | 45 | " ------------------------------------- 46 | " Filetypes 47 | " ------------------------------------- 48 | 49 | source ~/.vim/partials/filetypes.vim 50 | 51 | " ------------------------------------- 52 | " Settings 53 | " ------------------------------------- 54 | 55 | source ~/.vim/partials/settings.vim 56 | 57 | " ------------------------------------- 58 | " Local 59 | " ------------------------------------- 60 | 61 | " ----- Everything ----- " 62 | 63 | if filereadable( expand('~/.vimrc.local') ) 64 | source ~/.vimrc.local 65 | endif 66 | 67 | " ----- Per Project ----- " 68 | 69 | if filereadable( glob('.vimrc.local') ) 70 | source .vimrc.local 71 | endif 72 | 73 | " ------------------------------------- 74 | " Autosave 75 | " ------------------------------------- 76 | 77 | if has('autocmd') 78 | autocmd bufwritepost .vimrc source $MYVIMRC 79 | endif 80 | 81 | " ------------------------------------- 82 | " "No Fun" Drew 83 | " ------------------------------------- 84 | 85 | if exists('nofun') 86 | NoFunMode() 87 | endif 88 | -------------------------------------------------------------------------------- /warp/themes/github_dark.yaml: -------------------------------------------------------------------------------- 1 | name: GitHub Dark 2 | # Accent color for UI elements 3 | accent: '#f78166' 4 | # Terminal background color 5 | background: '#0d1117' 6 | # Whether the theme is lighter or darker. 7 | details: darker 8 | # The foreground color. 9 | foreground: '#c9d1d9' 10 | # Ansi escape colors. 11 | terminal_colors: 12 | bright: 13 | black: '#161b22' 14 | blue: '#79c0ff' 15 | cyan: '#b3f0ff' 16 | green: '#56d364' 17 | magenta: '#d2a8ff' 18 | red: '#ffa198' 19 | white: '#b1bac4' 20 | yellow: '#e3b341' 21 | normal: 22 | black: '#0d1117' 23 | blue: '#58a6ff' 24 | cyan: '#76e3ea' 25 | green: '#3fb950' 26 | magenta: '#bc8cff' 27 | red: '#ff7b72' 28 | white: '#b1bac4' 29 | yellow: '#d29922' 30 | -------------------------------------------------------------------------------- /zsh/zshrc: -------------------------------------------------------------------------------- 1 | # ************************************* 2 | # 3 | # ZSH Profile 4 | # 5 | # ************************************* 6 | 7 | # ------------------------------------- 8 | # Base 9 | # ------------------------------------- 10 | 11 | source ~/.shell/partials/path 12 | source ~/.shell/partials/vars 13 | source ~/.zsh/partials/config 14 | source ~/.shell/partials/aliases 15 | source ~/.shell/functions/general 16 | source ~/.shell/functions/git 17 | source ~/.shell/functions/wrappers 18 | 19 | # ------------------------------------- 20 | # Local 21 | # -> Files included in private, local dotfiles. 22 | # ------------------------------------- 23 | 24 | [[ -f ~/.shell-local/partials/init ]] && source ~/.shell-local/partials/init 25 | 26 | # ------------------------------------- 27 | # Extras 28 | # ------------------------------------- 29 | 30 | source ~/.shell/partials/extras 31 | 32 | export NVM_DIR="$HOME/.nvm" 33 | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm 34 | 35 | [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion 36 | --------------------------------------------------------------------------------