Browse Source

Initial commit

master
Nick Plekhanov 9 years ago
commit
3bbdf7ed75
  1. 14
      .editorconfig
  2. 4
      .gitattributes
  3. 7
      .gitignore
  4. 21
      LICENSE
  5. 86
      README.md
  6. 6
      atom/.gitignore
  7. 56
      atom/config.cson
  8. 11
      atom/init.coffee
  9. 32
      atom/keymap.cson
  10. 30
      atom/packages.list
  11. 21
      atom/snippets.cson
  12. 39
      atom/styles.less
  13. 42
      bin/batcharge.py
  14. 4
      git/gitattributes
  15. 206
      git/gitconfig
  16. 28
      git/gitignore
  17. 39
      install/brew-cask.sh
  18. 79
      install/brew.sh
  19. 44
      install/npm.sh
  20. 13
      iterm/README.md
  21. 6638
      iterm/com.googlecode.iterm2.plist
  22. BIN
      iterm/fonts/Hack-v2_019-ttf/Hack-Bold.ttf
  23. BIN
      iterm/fonts/Hack-v2_019-ttf/Hack-BoldItalic.ttf
  24. BIN
      iterm/fonts/Hack-v2_019-ttf/Hack-Italic.ttf
  25. BIN
      iterm/fonts/Hack-v2_019-ttf/Hack-Regular.ttf
  26. BIN
      iterm/fonts/Inconsolata-dz-Powerline.otf
  27. BIN
      iterm/fonts/Menlo-Powerline.otf
  28. BIN
      iterm/fonts/Sauce Code Powerline Bold.otf
  29. BIN
      iterm/fonts/Sauce Code Powerline Light.otf
  30. BIN
      iterm/fonts/Sauce Code Powerline Medium.otf
  31. BIN
      iterm/fonts/Sauce Code Powerline Regular.otf
  32. BIN
      iterm/fonts/mensch-Powerline.otf
  33. 214
      iterm/themes/Solarized Dark.itermcolors
  34. 213
      iterm/themes/tomorrow-night.itermcolors
  35. 15
      lib/online-check.sh
  36. 263
      osx/set-defaults.sh
  37. 45
      osx/ssd.sh
  38. 13
      remote-setup.sh
  39. 143
      setup-new-machine.sh
  40. 312
      setup.sh
  41. 40
      shell/ackrc
  42. 117
      shell/bash_profile
  43. 120
      shell/bash_prompt
  44. 1
      shell/bashrc
  45. 19
      shell/curlrc
  46. 1
      shell/gemrc
  47. 2751
      shell/git-completion.bash
  48. 83
      shell/inputrc
  49. 14
      shell/screenrc
  50. 185
      shell/shell_aliases
  51. 30
      shell/shell_exports
  52. 169
      shell/shell_functions
  53. 72
      shell/zshrc
  54. 942
      webstorm/colors/Obsidian.icl
  55. 643
      webstorm/colors/base16-ocean.dark.icls
  56. 657
      webstorm/colors/base16-ocean.light.icls
  57. 651
      webstorm/colors/base16-tomorrow.light.icls
  58. 1528
      webstorm/colors/github.icls
  59. 21
      webstorm/colors/nick.icls
  60. 1528
      webstorm/colors/snappy-light.icls
  61. 132
      zsh/themes/nick.zsh-theme

14
.editorconfig

@ -0,0 +1,14 @@
# http://editorconfig.org/
root = true
[*]
charset = utf-8
indent_size = 2
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false

4
.gitattributes

@ -0,0 +1,4 @@
# Automatically normalize line endings for all text-based files
# https://git-scm.com/docs/gitattributes#_end_of_line_conversion
* text=auto

7
.gitignore

@ -0,0 +1,7 @@
*.cache
node_modules
atom/.apm
atom/packages
atom/storage
atom/blob-store
chrome

21
LICENSE

@ -0,0 +1,21 @@
Copyright (c) 2016 Nick S. Plekhanov <nick.plekhanov@gmail.com>
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:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
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 NONIN-
FRINGEMENT. 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.

86
README.md

@ -0,0 +1,86 @@
# Nick Plekhanov's Dotfiles
This is a collection of dotfiles and scripts I use for customizing OS X to my liking and setting up the software development tools I use on a day-to-day basis. They should be cloned to your home directory so that the path is `~/dotfiles/`. The included setup script creates symlinks from your home directory to the files which are located in `~/dotfiles/`.
The setup script is smart enough to back up your existing dotfiles into a `~/dotfiles_old/` directory if you already have any dotfiles of the same name as the dotfile symlinks being created in your home directory.
I also prefer `zsh` as my shell of choice. As such, the setup script will also clone the `oh-my-zsh` repository from my GitHub. It then checks to see if `zsh` is installed. If `zsh` is installed, and it is not already configured as the default shell, the setup script will execute a `chsh -s $(which zsh)` command. This changes the default shell to zsh, and takes effect as soon as a new zsh is spawned or on next login.
So, to recap, the install script will:
- back up any existing dotfiles in your home directory to `~/dotfiles_old/`
- create symlinks to the dotfiles in `~/dotfiles/` in your home directory
- clone the `oh-my-zsh` repository from my GitHub (for use with `zsh`)
- check to see if `zsh` is installed, if it isn't, try to install it
- if zsh is installed, run a `chsh -s` to set it as the default shell
## Installation
```sh
$ git clone https://github.com/nicksp/dotfiles.git ~/.dotfiles
$ cd ~/dotfiles
$ chmod +x setup.sh
$ ./setup.sh
```
## Remotely install using curl
Alternatively, you can install this into `~/.dotfiles` remotely without Git using curl:
```sh
sh -c "`curl -fsSL https://raw.github.com/nicksp/dotfiles/master/remote-setup.sh`"
```
Or, using wget:
```sh
sh -c "`wget -O - --no-check-certificate https://raw.githubusercontent.com/nicksp/dotfiles/master/remote-setup.sh`"
```
## Customize
### Local Settings
The dotfiles can be easily extended to suit additional local
requirements by using the following files:
#### `~/.zsh.local`
If the `~/.zsh.local` file exists, it will be automatically sourced
after all the other [shell related files](shell), thus, allowing its
content to add to or overwrite the existing aliases, settings, PATH,
etc.
#### `~/.gitconfig.local`
If the `~/.gitconfig.local` file exists, it will be automatically
included after the configurations from [`~/.gitconfig`](git/gitconfig), thus, allowing
its content to overwrite or add to the existing `git` configurations.
**Note:** Use `~/.gitconfig.local` to store sensitive information such
as the `git` user credentials, e.g.:
```sh
[user]
name = Nick Plekhanov
email = nick@example.com
```
## OS X Defaults
My favorite part of this repo is the [set-defaults](osx/set-defaults.sh) script for OS X.
## Resources
I actively watch the following repositories and add the best changes to this repository:
- [GitHub ❤ ~/](http://dotfiles.github.com/)
- [Mathias’s dotfiles](https://github.com/mathiasbynens/dotfiles)
- [Nicolas Gallagher’s dotfiles](https://github.com/necolas/dotfiles)
- [Cătălin’s dotfiles](https://github.com/alrra/dotfiles)
- [Paul's dotfiles](https://github.com/paulirish/dotfiles)
- [Jacob Gillespie’s dotfiles](https://github.com/jacobwg/dotfiles)
## License
The code is available under the [MIT license](LICENSE).

6
atom/.gitignore

@ -0,0 +1,6 @@
blob-store
compile-cache
dev
storage
.node-gyp
.npm

56
atom/config.cson

@ -0,0 +1,56 @@
"*":
autoprefixer: {}
core:
themes: [
"one-dark-ui"
"cobalt2-syntax"
]
editor:
fontFamily: "Menlo"
fontSize: 15
invisibles:
cr: " "
eol: " "
tab: "⇨"
preferredLineLength: 120
showInvisibles: true
softWrap: true
softWrapAtPreferredLineLength: true
emmet: {}
"exception-reporting":
userId: "0f4e16a3-5040-01ba-b000-a0793a69fb44"
"highlight-line":
enableBackgroundColor: false
jshint:
supportLintingJsx: true
"markdown-preview":
useGitHubStyle: true
minimap:
plugins:
selection: true
selectionDecorationsZIndex: 0
"minimap-selection":
highlightCursorsLines: true
"one-dark-ui": {}
"one-light-ui": {}
pigments: {}
react: {}
"tree-view":
hideVcsIgnoredFiles: false
welcome:
showOnStartup: false
".angular.html.text":
editor:
preferredLineLength: 120
".git-commit.text":
editor:
preferredLineLength: 120
".git-config.source":
editor:
preferredLineLength: 120
".git-rebase.text":
editor:
preferredLineLength: 120
".js.jsx.react.source":
editor:
showInvisibles: true

11
atom/init.coffee

@ -0,0 +1,11 @@
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
# console.log "Saved! #{editor.getPath()}"

32
atom/keymap.cson

@ -0,0 +1,32 @@
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# 'atom-text-editor':
# 'enter': 'editor:newline'
#
# 'atom-workspace':
# 'ctrl-shift-p': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
# You can find more information about keymaps in these guides:
# * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings
# * https://atom.io/docs/latest/behind-atom-keymaps-in-depth
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on OS X and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * https://atom.io/docs/latest/hacking-atom-debugging#check-the-keybindings
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson

30
atom/packages.list

@ -0,0 +1,30 @@
Sass-Syntax-Highlight@0.1.1
angularjs@0.3.4
angularjs-snippets@0.10.18
atom-jshint@2.0.0
autoprefixer@3.2.0
chester-atom-syntax@0.1.1
cobalt2-syntax@0.3.0
color-picker@2.1.1
editorconfig@1.2.4
emmet@2.4.2
file-icons@1.6.18
highlight-line@0.11.1
javascript-snippets@1.2.1
jshint@1.8.3
language-babel@2.15.8
language-javascript-jsx@0.3.7
linter-eslint@7.1.1
markdown-writer@2.3.2
minimap@4.21.0
minimap-highlight-selected@4.4.0
minimap-selection@4.4.0
oceanic-next@0.1.2
oceanic-reef-syntax@0.6.0
pigments@0.24.5
pretty-json@0.4.1
react@0.14.1
react-snippets@0.3.0
redux-snippets@0.2.1
uglify@1.2.5
unity-ui@2.1.4

21
atom/snippets.cson

@ -0,0 +1,21 @@
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
# Each scope (e.g. '.source.coffee' above) can only be declared once.
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson

39
atom/styles.less

@ -0,0 +1,39 @@
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
/*
* Examples
* (To see them, uncomment and save)
*/
// style the background color of the tree view
.tree-view {
// background-color: whitesmoke;
}
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
// color: white;
// background-color: hsl(180, 24%, 12%);
}
// To style other content in the text editor's shadow DOM, use the ::shadow expression
atom-text-editor::shadow .cursor {
// border-color: red;
}
atom-text-editor {
.invisible-character {
// color: red;
// opacity: .3;
}
}

42
bin/batcharge.py

@ -0,0 +1,42 @@
#!/usr/bin/env python
# coding=UTF-8
# saved to ~/bin/batcharge.py and from
# http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/#my-right-prompt-battery-capacity
import math, subprocess
p = subprocess.Popen(["ioreg", "-rc", "AppleSmartBattery"], stdout=subprocess.PIPE)
output = p.communicate()[0]
o_max = [l for l in output.splitlines() if 'MaxCapacity' in l][0]
o_cur = [l for l in output.splitlines() if 'CurrentCapacity' in l][0]
b_max = float(o_max.rpartition('=')[-1].strip())
b_cur = float(o_cur.rpartition('=')[-1].strip())
charge = b_cur / b_max
charge_threshold = int(math.ceil(10 * charge))
# Output
total_slots, slots = 10, []
filled = int(math.ceil(charge_threshold * (total_slots / 10.0))) * u''
# old arrow: ▹▸▶
empty = (total_slots - len(filled)) * u''
out = (filled + empty).encode('utf-8')
import sys
color_green = '%{%}'
color_yellow = '%{%}'
color_red = '%{%}'
color_reset = '%{%}'
color_out = (
color_green if len(filled) > 6
else color_yellow if len(filled) > 4
else color_red
)
out = color_out + out + color_reset
sys.stdout.write(out)

4
git/gitattributes

@ -0,0 +1,4 @@
# Automatically normalize line endings for all text-based files
# https://git-scm.com/docs/gitattributes#_end_of_line_conversion
#
# * text=auto

206
git/gitconfig

@ -0,0 +1,206 @@
[alias]
a = add
br = branch
c = commit
ca = commit -a
cm = commit -m
cal = !git add -A && git commit # Commit all changes
cam = commit -am
cne = commit --no-edit
co = checkout
cp = cherry-pick
d = diff --color-words
dc = diff --cached
p = push
s = status
ss = status -s
sclone = clone --depth=1
up = pull
new = !git pull origin develop && git flow feature start
done = !git pull origin develop && git flow feature finish "$(git symbolic-ref --short HEAD | sed -n 's/^feature\\///p')"
go = !git checkout $1 && pull
master = !git checkout master && pull
develop = !git checkout develop && pull
mmm = !git fetch origin master && git rebase origin/master
ddd = !git fetch origin develop && git rebase origin/develop
g = log --graph --pretty=custom # Show custom graph
l = log --pretty=custom # Show custom log
ll = log --stat --abbrev-commit
lc = shortlog --summary --numbered # List contributors
rlc = reset --hard HEAD~1 # Remove last commit
ulc = reset --soft HEAD~1 # Undo last commit
unstage = reset HEAD
publish = "!git push --set-upstream origin $(git branch-name)"
branch-name = rev-parse --abbrev-ref HEAD
branch-diff = diff master...HEAD
branch-files = "!git diff master...HEAD --name-status | sed '/^D/d ; s/^.\\s\\+//'"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Find commits by source code
cc = "!f() { \
git log --pretty=custom --decorate --date=short -S\"$1\"; \
}; f"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Find commits by commit message
cm = "!f() { \
git log --pretty=custom --decorate --date=short --grep=\"$1\"; \
}; f"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Credit an author on the latest commit
credit = "!f() { \
if [ -n \"$1\" ] && [ -n \"$2\" ]; then \
git commit --amend --author \"$1 <$2>\" -C HEAD; \
fi \
}; f"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# List remote branches
lrb = "!f() { \
remote="${1:-origin}"; \
git ls-remote --heads "$remote"; \
}; f"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Merge GitHub pull request on top of the current branch or,
# if a branch name is specified, on top of the specified branch
mpr = "!f() { \
declare currentBranch=\"$(git symbolic-ref --short HEAD)\"; \
declare branch=\"${2:-$currentBranch}\"; \
if [ $(printf \"%s\" \"$1\" | grep '^[0-9]\\+$' > /dev/null; printf $?) -eq 0 ]; then \
git fetch origin refs/pull/$1/head:pr/$1 && \
git checkout -B $branch && \
git rebase $branch pr/$1 && \
git checkout -B $branch && \
git merge pr/$1 && \
git branch -D pr/$1 && \
git commit --amend -m \"$(git log -1 --pretty=%B)\n\nClose #$1\"; \
fi \
}; f"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Remove the tag with the specified tag name if
# exists and tag the latest commit with that name
retag = "!f() { \
git tag -d "$1" &> /dev/null; \
git tag $1; \
}; f"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# So much color
[color]
ui = always
[color "branch"]
current = green bold
local = green
remote = yellow
[color "diff"]
frag = magenta
meta = yellow
new = green
old = red
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = "red bold 52"
newNormal = "green bold"
newHighlight = "green bold 22"
[color "status"]
added = green reverse
changed = yellow reverse
untracked = red reverse
# Git mergetool
[merge]
tool = opendiff
[core]
editor = nano
abbrev = 12
attributesfile = ~/.gitattributes
excludesfile = ~/.gitignore
autocrlf = input
mergeoptions = --no-edit
[pager]
# Insanely beautiful diffs ==> npm install -g diff-so-fancy
diff = diff-so-fancy | less --tabs=4 -RFX
show = diff-so-fancy | less --tabs=4 -RFX
[diff "bin"]
# Use `hexdump` to diff binary files
textconv = hexdump -v -C
[pretty]
custom = "%C(magenta)%h%C(red)%d %C(yellow)%ar %C(green)%s %C(yellow)(%an)"
# │ │ │ │ └─ author name
# │ │ │ └─ message
# │ │ └─ date (relative)
# │ └─ decorations (branch, heads or tags)
# └─ hash (abbreviated)
[help]
# Correct typos
autocorrect = 1
# Any GitHub repo with my username should be checked out r/w by default
# http://rentzsch.tumblr.com/post/564806957/public-but-hackable-git-submodules
[url "git@github.com:nicksp/"]
insteadOf = "git://github.com/nicksp/"
# Rewrites of repo paths
[url "git@github.com:"]
insteadOf = "gh:"
insteadOf = "git://github.com"
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"
pushInsteadOf = "https://github.com/"
[url "git://github.com/"]
insteadOf = "github:"
[url "git@gist.github.com:"]
insteadOf = "gst:"
pushInsteadOf = "gist:"
pushInsteadOf = "git://gist.github.com/"
pushInsteadOf = "https://gist.github.com/"
[url "git://gist.github.com/"]
insteadOf = "gist:"
# Push easily http://stackoverflow.com/a/23918418/89484
[push]
# Make `git push` automatically push relevant
# annotated tags when pushing branches out
followTags = true
default = current
# Use separate file for username / github token / etc
[include]
path = ~/.gitconfig.local
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true

28
git/gitignore

@ -0,0 +1,28 @@
private
# Git credential file
.gitconfig.local
# Folder view configuration files
.DS_Store
Desktop.ini
# Thumbnail cache files
._*
*~
Thumbs.db
# Files that might appear on external disks
.Spotlight-V100
.Trashes
# Compiled Python files
*.pyc
# npm & bower
bower_components
node_modules
npm-debug.log
# IDEs stuff
.idea

39
install/brew-cask.sh

@ -0,0 +1,39 @@
#!/bin/bash
# Install Caskroom
brew tap caskroom/cask
brew install brew-cask
brew tap caskroom/versions
# Install packages
apps=(
gyazo
dropbox
google-drive
spectacle
flux
dash
iterm2
atom
webstorm
firefox
firefox-nightly
google-chrome
google-chrome-canary
glimmerblocker
hammerspoon
#kaleidoscope
macdown
opera
screenflow
#sourcetree
spotify
transmit
vlc
utorrent
)
brew cask install "${apps[@]}"
# Quick Look Plugins (https://github.com/sindresorhus/quick-look-plugins)
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzipql qlimagesize webpquicklook suspicious-package

79
install/brew.sh

@ -0,0 +1,79 @@
#!/bin/bash
# Installs Homebrew and some of the common dependencies needed/desired for software development
# Ask for the administrator password upfront
sudo -v
# Check for Homebrew and install it if missing
if test ! $(which brew)
then
echo "Installing Homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew tap homebrew/versions
brew tap homebrew/dupes
brew tap Goles/battery
# Make sure we’re using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade --all
# Install the Homebrew packages I use on a day-to-day basis.
#
# - Languages: rvm (Ruby), nvm (Node.js), go
# - Databases: Progres, MySQL, Redis, Mongo, Elasticsearch
# - Servers: Apache, Nginx
# - Fuck (https://github.com/nvbn/thefuck): Correct your previous command. Note
# that this needs to be added to zsh or bash. See the project README.
# - Foreman & Forego:
# - Tree (http://mama.indstate.edu/users/ice/tree/): A directory listing utility
# that produces a depth indented listing of files.
# - Tor ():
# - git-extras (https://vimeo.com/45506445): Adds a shit ton of useful commands # to git.
# - autoenv (https://github.com/kennethreitz/autoenv): this utility makes it
# easy to apply environment variables to projects. I mostly use it for Go and
# Node.js projects. For Ruby projects, I just use Foreman or Forego.
# - autojump (https://github.com/joelthelion/autojump): a faster way to navigate
# your filesystem.
# Note that I install nvm (https://github.com/creationix/nvm) instead
# of installing Node directly. This gives me more explicit control over
# which version I'm using.
apps=(
rvm
nvm
mongodb
bash-completion2
coreutils
moreutils
findutils
ffmpeg
fortune
ponysay
git
git-extras
hub
gnu-sed --with-default-names
grep --with-default-names
homebrew/completions/brew-cask-completion
homebrew/dupes/grep
homebrew/dupes/openssh
mtr
autojump
imagemagick --with-webp
python
the_silver_searcher
tree
ffmpeg --with-libvpx
wget
wifi-password
)
brew install "${apps[@]}"
# Remove outdated versions from the cellar
brew cleanup

44
install/npm.sh

@ -0,0 +1,44 @@
#!/bin/sh
#
# This script configures my Node.js development setup. Note that
# nvm is installed by the Homebrew install script.
#
# Also, I would highly reccomend not installing your Node.js build
# tools, e.g., Grunt, gulp, WebPack, or whatever you use, globally.
# Instead, install these as local devDepdencies on a project-by-project
# basis. Most Node CLIs can be run locally by using the executable file in
# "./node_modules/.bin". For example:
#
# ./node_modules/.bin/webpack --config webpack.local.config.js
#
if test ! $(which nvm)
then
echo "Installing a stable version of Node..."
# Install the stable version of node.
nvm install 5
# Switch to the installed version
nvm use 5
# Use the stable version of node by default.
nvm alias default 5
fi
# All `npm install <pkg>`` commands will pin to the version that was available at the time you run the command
npm config set save-exact = true
# Globally install with npm
packages=(
diff-so-fancy
gulp
http-server
servedir
nodemon
svgo
yo
)
npm install -g "${packages[@]}"

13
iterm/README.md

@ -0,0 +1,13 @@
# iTerm
During the setup process, Solarized color scheme will be installed into your iTerm. Go to Profiles => Colors => Load Presets to pick Solarized Dark.
Here are the customisations:
- Font: 15pt Source Code Pro for Powerline
- Theme (not to be confused with zsh theme): Solarized Dark
- Set up a system wide hotkey for iTerm (Keys => Hotkey): Recommended `Cmd-Escape`
- Uncheck `Use Lion-style full screen` on General. This will give you fast full screen windows that are switchable without switching to spaces
- Cursor (my favourite tweak): #d13a82
*Note* that I've also sometimes tweak the "Minimum contrast" to around 1/5th on the slider in iTerm, this is to get around some dark colours used in Grunt and Yeoman (though may have been long resolved).

6638
iterm/com.googlecode.iterm2.plist

File diff suppressed because it is too large

BIN
iterm/fonts/Hack-v2_019-ttf/Hack-Bold.ttf

Binary file not shown.

BIN
iterm/fonts/Hack-v2_019-ttf/Hack-BoldItalic.ttf

Binary file not shown.

BIN
iterm/fonts/Hack-v2_019-ttf/Hack-Italic.ttf

Binary file not shown.

BIN
iterm/fonts/Hack-v2_019-ttf/Hack-Regular.ttf

Binary file not shown.

BIN
iterm/fonts/Inconsolata-dz-Powerline.otf

Binary file not shown.

BIN
iterm/fonts/Menlo-Powerline.otf

Binary file not shown.

BIN
iterm/fonts/Sauce Code Powerline Bold.otf

Binary file not shown.

BIN
iterm/fonts/Sauce Code Powerline Light.otf

Binary file not shown.

BIN
iterm/fonts/Sauce Code Powerline Medium.otf

Binary file not shown.

BIN
iterm/fonts/Sauce Code Powerline Regular.otf

Binary file not shown.

BIN
iterm/fonts/mensch-Powerline.otf

Binary file not shown.

214
iterm/themes/Solarized Dark.itermcolors

@ -0,0 +1,214 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- http://ethanschoonover.com/solarized -->
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.19370138645172119</real>
<key>Green Component</key>
<real>0.15575926005840302</real>
<key>Red Component</key>
<real>0.0</real>
</dict>
<key>Ansi 1 Color</key>
<dict>
<key>Blue Component</key>
<real>0.14145714044570923</real>
<key>Green Component</key>
<real>0.10840655118227005</real>
<key>Red Component</key>
<real>0.81926977634429932</real>
</dict>
<key>Ansi 10 Color</key>
<dict>
<key>Blue Component</key>
<real>0.38298487663269043</real>
<key>Green Component</key>
<real>0.35665956139564514</real>
<key>Red Component</key>
<real>0.27671992778778076</real>
</dict>
<key>Ansi 11 Color</key>
<dict>
<key>Blue Component</key>
<real>0.43850564956665039</real>
<key>Green Component</key>
<real>0.40717673301696777</real>
<key>Red Component</key>
<real>0.32436618208885193</real>
</dict>
<key>Ansi 12 Color</key>
<dict>
<key>Blue Component</key>
<real>0.51685798168182373</real>
<key>Green Component</key>
<real>0.50962930917739868</real>
<key>Red Component</key>
<real>0.44058024883270264</real>
</dict>
<key>Ansi 13 Color</key>
<dict>
<key>Blue Component</key>
<real>0.72908437252044678</real>
<key>Green Component</key>
<real>0.33896297216415405</real>
<key>Red Component</key>
<real>0.34798634052276611</real>
</dict>
<key>Ansi 14 Color</key>
<dict>
<key>Blue Component</key>
<real>0.56363654136657715</real>
<key>Green Component</key>
<real>0.56485837697982788</real>
<key>Red Component</key>
<real>0.50599193572998047</real>
</dict>
<key>Ansi 15 Color</key>
<dict>
<key>Blue Component</key>
<real>0.86405980587005615</real>
<key>Green Component</key>
<real>0.95794391632080078</real>
<key>Red Component</key>
<real>0.98943418264389038</real>
</dict>
<key>Ansi 2 Color</key>
<dict>
<key>Blue Component</key>
<real>0.020208755508065224</real>
<key>Green Component</key>
<real>0.54115492105484009</real>
<key>Red Component</key>
<real>0.44977453351020813</real>
</dict>
<key>Ansi 3 Color</key>
<dict>
<key>Blue Component</key>
<real>0.023484811186790466</real>
<key>Green Component</key>
<real>0.46751424670219421</real>
<key>Red Component</key>
<real>0.64746475219726562</real>
</dict>
<key>Ansi 4 Color</key>
<dict>
<key>Blue Component</key>
<real>0.78231418132781982</real>
<key>Green Component</key>
<real>0.46265947818756104</real>
<key>Red Component</key>
<real>0.12754884362220764</real>
</dict>
<key>Ansi 5 Color</key>
<dict>
<key>Blue Component</key>
<real>0.43516635894775391</real>
<key>Green Component</key>
<real>0.10802463442087173</real>
<key>Red Component</key>
<real>0.77738940715789795</real>
</dict>
<key>Ansi 6 Color</key>
<dict>
<key>Blue Component</key>
<real>0.52502274513244629</real>
<key>Green Component</key>
<real>0.57082360982894897</real>
<key>Red Component</key>
<real>0.14679534733295441</real>
</dict>
<key>Ansi 7 Color</key>
<dict>
<key>Blue Component</key>
<real>0.79781103134155273</real>
<key>Green Component</key>
<real>0.89001238346099854</real>
<key>Red Component</key>
<real>0.91611063480377197</real>
</dict>
<key>Ansi 8 Color</key>
<dict>
<key>Blue Component</key>
<real>0.15170273184776306</real>
<key>Green Component</key>
<real>0.11783610284328461</real>
<key>Red Component</key>
<real>0.0</real>
</dict>
<key>Ansi 9 Color</key>
<dict>
<key>Blue Component</key>
<real>0.073530435562133789</real>
<key>Green Component</key>
<real>0.21325300633907318</real>
<key>Red Component</key>
<real>0.74176257848739624</real>
</dict>
<key>Background Color</key>
<dict>
<key>Blue Component</key>
<real>0.15170273184776306</real>
<key>Green Component</key>
<real>0.11783610284328461</real>
<key>Red Component</key>
<real>0.0</real>
</dict>
<key>Bold Color</key>
<dict>
<key>Blue Component</key>
<real>0.56363654136657715</real>
<key>Green Component</key>
<real>0.56485837697982788</real>
<key>Red Component</key>
<real>0.50599193572998047</real>
</dict>
<key>Cursor Color</key>
<dict>
<key>Blue Component</key>
<real>0.51685798168182373</real>
<key>Green Component</key>
<real>0.50962930917739868</real>
<key>Red Component</key>
<real>0.44058024883270264</real>
</dict>
<key>Cursor Text Color</key>
<dict>
<key>Blue Component</key>
<real>0.19370138645172119</real>
<key>Green Component</key>
<real>0.15575926005840302</real>
<key>Red Component</key>
<real>0.0</real>
</dict>
<key>Foreground Color</key>
<dict>
<key>Blue Component</key>
<real>0.51685798168182373</real>
<key>Green Component</key>
<real>0.50962930917739868</real>
<key>Red Component</key>
<real>0.44058024883270264</real>
</dict>
<key>Selected Text Color</key>
<dict>
<key>Blue Component</key>
<real>0.56363654136657715</real>
<key>Green Component</key>
<real>0.56485837697982788</real>
<key>Red Component</key>
<real>0.50599193572998047</real>
</dict>
<key>Selection Color</key>
<dict>
<key>Blue Component</key>
<real>0.19370138645172119</real>
<key>Green Component</key>
<real>0.15575926005840302</real>
<key>Red Component</key>
<real>0.0</real>
</dict>
</dict>
</plist>

213
iterm/themes/tomorrow-night.itermcolors

@ -0,0 +1,213 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.0</real>
<key>Green Component</key>
<real>0.0</real>
<key>Red Component</key>
<real>0.0</real>
</dict>
<key>Ansi 1 Color</key>
<dict>
<key>Blue Component</key>
<real>0.40000000000000002</real>
<key>Green Component</key>
<real>0.40000000000000002</real>
<key>Red Component</key>
<real>0.80000000000000004</real>
</dict>
<key>Ansi 10 Color</key>
<dict>
<key>Blue Component</key>
<real>0.40784313729999999</real>
<key>Green Component</key>
<real>0.74117647060000003</real>
<key>Red Component</key>
<real>0.70980392160000005</real>
</dict>
<key>Ansi 11 Color</key>
<dict>
<key>Blue Component</key>
<real>0.4549019608</real>
<key>Green Component</key>
<real>0.77647058820000003</real>
<key>Red Component</key>
<real>0.94117647059999998</real>
</dict>
<key>Ansi 12 Color</key>
<dict>
<key>Blue Component</key>
<real>0.74509803919999995</real>
<key>Green Component</key>
<real>0.63529411759999999</real>
<key>Red Component</key>
<real>0.50588235290000005</real>
</dict>
<key>Ansi 13 Color</key>
<dict>
<key>Blue Component</key>
<real>0.73333333329999995</real>
<key>Green Component</key>
<real>0.58039215690000001</real>
<key>Red Component</key>
<real>0.69803921570000005</real>
</dict>
<key>Ansi 14 Color</key>
<dict>
<key>Blue Component</key>
<real>0.71764705880000002</real>
<key>Green Component</key>
<real>0.74509803919999995</real>
<key>Red Component</key>
<real>0.54117647059999996</real>
</dict>
<key>Ansi 15 Color</key>
<dict>
<key>Blue Component</key>
<real>0.99999129772186279</real>
<key>Green Component</key>
<real>0.99997437000274658</real>
<key>Red Component</key>
<real>1</real>
</dict>
<key>Ansi 2 Color</key>
<dict>
<key>Blue Component</key>
<real>0.40784313725490196</real>
<key>Green Component</key>
<real>0.74117647058823533</real>
<key>Red Component</key>
<real>0.70980392156862748</real>
</dict>
<key>Ansi 3 Color</key>
<dict>
<key>Blue Component</key>
<real>0.45490196078431372</real>
<key>Green Component</key>
<real>0.77647058823529413</real>
<key>Red Component</key>
<real>0.94117647058823528</real>
</dict>
<key>Ansi 4 Color</key>
<dict>
<key>Blue Component</key>
<real>0.74509803921568629</real>
<key>Green Component</key>
<real>0.63529411764705879</real>
<key>Red Component</key>
<real>0.50588235294117645</real>
</dict>
<key>Ansi 5 Color</key>
<dict>
<key>Blue Component</key>
<real>0.73333333333333328</real>
<key>Green Component</key>
<real>0.58039215686274503</real>
<key>Red Component</key>
<real>0.69803921568627447</real>
</dict>
<key>Ansi 6 Color</key>
<dict>
<key>Blue Component</key>
<real>0.71764705882352942</real>
<key>Green Component</key>
<real>0.74509803921568629</real>
<key>Red Component</key>
<real>0.54117647058823526</real>
</dict>
<key>Ansi 7 Color</key>
<dict>
<key>Blue Component</key>
<real>0.99999129772186279</real>
<key>Green Component</key>
<real>0.99997437000274658</real>
<key>Red Component</key>
<real>1</real>
</dict>
<key>Ansi 8 Color</key>
<dict>
<key>Blue Component</key>
<real>0.0</real>
<key>Green Component</key>
<real>0.0</real>
<key>Red Component</key>
<real>0.0</real>
</dict>
<key>Ansi 9 Color</key>
<dict>
<key>Blue Component</key>
<real>0.40000000000000002</real>
<key>Green Component</key>
<real>0.40000000000000002</real>
<key>Red Component</key>
<real>0.80000000000000004</real>
</dict>
<key>Background Color</key>
<dict>
<key>Blue Component</key>
<real>0.12941177189350128</real>
<key>Green Component</key>
<real>0.12156862765550613</real>
<key>Red Component</key>
<real>0.11372549086809158</real>
</dict>
<key>Bold Color</key>
<dict>
<key>Blue Component</key>
<real>0.77647058820000003</real>
<key>Green Component</key>
<real>0.7843137255</real>
<key>Red Component</key>
<real>0.7725490196</real>
</dict>
<key>Cursor Color</key>
<dict>
<key>Blue Component</key>
<real>0.77647058820000003</real>
<key>Green Component</key>
<real>0.7843137255</real>
<key>Red Component</key>
<real>0.7725490196</real>
</dict>
<key>Cursor Text Color</key>
<dict>
<key>Blue Component</key>
<real>0.12941177189350128</real>
<key>Green Component</key>
<real>0.12156862765550613</real>
<key>Red Component</key>
<real>0.11372549086809158</real>
</dict>
<key>Foreground Color</key>
<dict>
<key>Blue Component</key>
<real>0.77647058823529413</real>
<key>Green Component</key>
<real>0.78431372549019607</real>
<key>Red Component</key>
<real>0.77254901960784317</real>
</dict>
<key>Selected Text Color</key>
<dict>
<key>Blue Component</key>
<real>0.77647058820000003</real>
<key>Green Component</key>
<real>0.7843137255</real>
<key>Red Component</key>
<real>0.7725490196</real>
</dict>
<key>Selection Color</key>
<dict>
<key>Blue Component</key>
<real>0.25490196078431371</real>
<key>Green Component</key>
<real>0.23137254901960785</real>
<key>Red Component</key>
<real>0.21568627450980393</real>
</dict>
</dict>
</plist>

15
lib/online-check.sh

@ -0,0 +1,15 @@
#!/bin/zsh
# Saved in ~/online-check.sh and in a cron job as:
# * * * * * ~/online-check.sh
# An online indicator, green for active connection, and red for not.
# It's done by a cronjob touching or removing a file to indicate
# status every minute, and the file is checked by the prompt.
local offline=`dig 8.8.8.8 +time=1 +short google.com A | grep -c "no servers could be reached"`
if [[ "$offline" == "0" ]]; then
rm ~/.offline
else
touch ~/.offline
fi

263
osx/set-defaults.sh

@ -0,0 +1,263 @@
#!/bin/bash
#
# Reasonably sets OS X defaults. My sources:
# - https://github.com/skwp/dotfiles/blob/master/bin/osx
# - https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# ~/dotfiles/osx/set-defaults.sh — http://mths.be/osx
#
# Set computer name
COMPUTERNAME="Nick Plekhanov's MBP"
HOSTNAME='mbp'
LOCALHOSTNAME='mbp'
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
###############################################################################
# General UI/UX #
###############################################################################
# Set computer name (as done via System Preferences → Sharing)
#sudo scutil --set ComputerName $COMPUTERNAME
#sudo scutil --set HostName $HOSTNAME
#sudo scutil --set LocalHostName $LOCALHOSTNAME
#sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string $LOCALHOSTNAME
###############################################################################
# Apple software: Safari, Updater, iTunes, etc. #
###############################################################################
# Hide Safari's bookmark bar.
defaults write com.apple.Safari ShowFavoritesBar -bool false
# Set up Safari for development.
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
defaults write com.apple.Safari IncludeDevelopMenu -bool true
defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true
defaults write com.apple.Safari "com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled" -bool true
defaults write -g WebKitDeveloperExtras -bool true
# Privacy: don’t send search queries to Apple
defaults write com.apple.Safari UniversalSearchEnabled -bool false
defaults write com.apple.Safari SuppressSearchSuggestions -bool true
# Prevent Safari from opening ‘safe’ files automatically after downloading
defaults write com.apple.Safari AutoOpenSafeDownloads -bool false
# Set Safari’s home page to `about:blank` for faster loading
defaults write com.apple.Safari HomePage -string "about:blank"
# Use AirDrop over every interface.
defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1
# Check for software updates daily, not just once per week.
defaults write com.assple.SoftwareUpdate ScheduleFrequency -int 1
# Disable the “Are you sure you want to open this application?” dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
# Disable Swipe controls for Google Chrome
defaults write com.google.Chrome.plist AppleEnableSwipeNavigateWithScrolls -bool FALSE
# Disable inline attachments in Mail.app (just show the icons)
defaults write com.apple.mail DisableInlineAttachmentViewing -bool true
# Only use UTF-8 in Terminal.app
defaults write com.apple.terminal StringEncodings -array 4
# Disable some menu bar icons: Time Machine, Volume and User
for domain in ~/Library/Preferences/ByHost/com.apple.stytemuiserver.*; do
"/System/Library/CoreServices/Menu Extras/TimeMachine.menu" \
"/System/Library/CoreServices/Menu Extras/Volume.menu" \
"/System/Library/CoreServices/Menu Extras/User.menu"
done
###############################################################################
# Activity Monitor #
###############################################################################
# Show the main window when launching Activity Monitor
defaults write com.apple.ActivityMonitor OpenMainWindow -bool true
# Visualize CPU usage in the Activity Monitor Dock icon
defaults write com.apple.ActivityMonitor IconType -int 5
# Show all processes in Activity Monitor
defaults write com.apple.ActivityMonitor ShowCategory -int 0
# Sort Activity Monitor results by CPU usage
defaults write com.apple.ActivityMonitor SortColumn -string "CPUUsage"
defaults write com.apple.ActivityMonitor SortDirection -int 0
###############################################################################
# Interfaces: trackpad, mouse, keyboard, bluetooth, etc.
###############################################################################
# Map bottom right corner of Apple trackpad to right-click.
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
defaults -currentHost write -g com.apple.trackpad.trackpadCornerClickBehavior -int 1
defaults -currentHost write com.apple.trackpad.enableSecondaryClick -bool true
# Set a really fast keyboard repeat rate.
defaults write -g KeyRepeat -int 0
# Disable press-and-hold for keys in favor of key repeat.
defaults write -g ApplePressAndHoldEnabled -bool false
# Set language and text formats. (USD and Imperial Units)
defaults write -g AppleLanguages -array "en" "nl"
defaults write -g AppleLocale -string "en_US@currency=USD"
defaults write -g AppleMeasurementUnits -string "Inches"
defaults write -g AppleMetricUnits -bool false
###############################################################################
# Screen
###############################################################################
# Hot corners
# Possible values:
# 0: no-op
# 2: Mission Control
# 3: Show application windows
# 4: Desktop
# 5: Start screen saver
# 6: Disable screen saver
# 7: Dashboard
# 10: Put display to sleep
# 11: Launchpad
# 12: Notification Center
# defaults write com.apple.dock wvous-bl-corner -int 5
# defaults write com.apple.dock wvous-bl-modifier -int 0
# Require password immediately after sleep or screen saver.
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 0
# Save screenshots to desktop and disable the horrific drop-shadow.
defaults write com.apple.screencapture location -string "${HOME}/Desktop/Screenshots"
defaults write com.apple.screencapture type -string "png"
defaults write com.apple.screencapture disable-shadow -bool true
# Enable sub-pixel rendering on non-Apple LCDs.
defaults write NSGlobalDomain AppleFontSmoothing -int 2
# Disable and kill Dashboard
# Can be reverted with:
# defaults write com.apple.dashboard mcx-disabled -boolean NO; killall Doc
defaults write com.apple.dashboard mcx-disabled -boolean YES; killall Dock
# Disable icons on the Desktop
# This will "hide" all the files on the Desktop, but one can still access
# the files through Finder. Makes things look pretty.
defaults write com.apple.finder CreateDesktop -bool false && killall Finder
###############################################################################
# Finder
###############################################################################
# Show the ~/Library folder.
chflags nohidden ~/Library
# Set the Finder prefs for showing a few different volumes on the Desktop.
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
# Always open everything in Finder's column view. This is important.
defaults write com.apple.Finder FXPreferredViewStyle Nlsv
# Show hidden files and file extensions by default
defaults write com.apple.finder AppleShowAllFiles -bool true
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# Disable the warning when changing file extensions
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# Allow text-selection in Quick Look
defaults write com.apple.finder QLEnableTextSelection -bool true
# Disable the warning before emptying the Trash
defaults write com.apple.finder WarnOnEmptyTrash -bool false
# Enable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool true
# Disable the “Are you sure you want to open this application?” dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
# Expand print panel by default
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
# Disable Resume system-wide
defaults write com.apple.systempreferences NSQuitAlwaysKeepsWindows -bool false
# Disable the crash reporter
defaults write com.apple.CrashReporter DialogType -string "none"
###############################################################################
# SSD
###############################################################################
# Disable the sudden motion sensor as it’s not useful for SSDs
sudo pmset -a sms 0
###############################################################################
# Dock
###############################################################################
# Show indicator lights for open applications in the Dock
defaults write com.apple.dock show-process-indicators -bool true
# Add several spacers
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
# Automatically hide and show the Dock
# defaults write com.apple.dock autohide -bool true
###############################################################################
# Do some clean up work.
###############################################################################
for app in "Activity Monitor" "Address Book" "Calendar" "Contacts" "cfprefsd" \
"Dock" "Finder" "Mail" "Messages" "Safari" "SystemUIServer" \
"Terminal" "Twitter" "iCal"; do
kill all "${app}" > /dev/null 2>&1
done
# Wait a bit before moving on...
sleep 1
# ...and then.
echo "Success! Defaults are set."
echo "Some changes will not take effect until you reboot your machine."
# See if the user wants to reboot.
function reboot() {
read -p "Do you want to reboot your computer now? (y/N)" choice
case "$choice" in
y | Yes | yes ) echo "Yes"; exit;; # If y | yes, reboot
n | N | No | no) echo "No"; exit;; # If n | no, exit
* ) echo "Invalid answer. Enter \"y/yes\" or \"N/no\"" && return;;
esac
}
# Call on the function
if [[ "Yes" == $(reboot) ]]
then
echo "Rebooting."
sudo reboot
exit 0
else
exit 1
fi

45
osx/ssd.sh

@ -0,0 +1,45 @@
#!/bin/bash
# Some tweaks for SSD drives
# Details: http://blog.alutam.com/2012/04/01/optimizing-macos-x-lion-for-ssd/
# Ask for the administrator password upfront
sudo -v
# Turn off local Time Machine snapshots [laptops only]
sudo tmutil disablelocal
# Turn off hibernation [laptops only]
sudo pmset -a hibernatemode 0
sudo command rm /var/vm/sleepimage
# Turn off sudden motion sensor [no HDD only]
sudo pmset -a sms 0
# Disable records last access time for every file
echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.nullvision.noatime</string>
<key>ProgramArguments</key>
<array>
<string>mount</string>
<string>-vuwo</string>
<string>noatime</string>
<string>/</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>' | sudo tee /Library/LaunchDaemons/com.nullvision.noatime.plist
sudo chown root:wheel /Library/LaunchDaemons/com.nullvision.noatime.plist
# Delay (180 minutes) hard drive sleep [no HDD only]
sudo pmset -b disksleep 180 # Battery
sudo pmset -c disksleep 180 # Power adapter
echo
echo "You need to restart your computer for the changes to take effect."

13
remote-setup.sh

@ -0,0 +1,13 @@
#!/usr/bin/env bash
[[ -x `command -v wget` ]] && CMD="wget --no-check-certificate -O -"
[[ -x `command -v curl` ]] >/dev/null 2>&1 && CMD="curl -#L"
if [ -z "$CMD" ]; then
echo "No curl or wget available. Aborting."
else
echo "Installing dotfiles"
mkdir -p "$HOME/dotfiles" && \
eval "$CMD https://github.com/nicksp/dotfiles/tarball/master | tar -xzv -C ~/.dotfiles --strip-components=1 --exclude='{.gitignore}'"
. "$HOME/dotfiles/setup.sh"
fi

143
setup-new-machine.sh

@ -0,0 +1,143 @@
# Copy paste this file in bit by bit.
# Don't run it.
echo "Do not run this script in one go. Hit Ctrl-C NOW"
read -n 1
###############################################################################
# Backup old machine's dotfiles #
###############################################################################
mkdir -p ~/migration/home
cd ~/migration
# then compare brew-list to what's in `brew.sh`
# comm <(sort brew-list.txt) <(sort brew.sh-cleaned-up)
# let's hold on to these
cp ~/.extra ~/migration/home
cp ~/.z ~/migration/home
cp -R ~/.ssh ~/migration/home
cp /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist ~/migration # wifi
cp ~/Library/Preferences/net.limechat.LimeChat.plist ~/migration
cp ~/Library/Preferences/com.tinyspeck.slackmacgap.plist ~/migration
cp -R ~/Library/Services ~/migration # automator stuff
cp -R ~/Documents ~/migration
cp ~/.bash_history ~/migration # back it up for fun?
cp ~/.gitconfig.local ~/migration
cp ~/.z ~/migration # z history file.
# sublime text settings
cp "~/Library/Application Support/Sublime Text 3/Packages" ~/migration
# iTerm settings.
# Prefs, General, Use settings from Folder
# Finder settings
###############################################################################
# XCode Command Line Tools #
###############################################################################
if ! xcode-select --print-path &> /dev/null; then
# Prompt user to install the XCode Command Line Tools
xcode-select --install &> /dev/null
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Wait until the XCode Command Line Tools are installed
until xcode-select --print-path &> /dev/null; do
sleep 5
done
print_result $? 'Install XCode Command Line Tools'
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Point the `xcode-select` developer directory to
# the appropriate directory from within `Xcode.app`
# https://github.com/alrra/dotfiles/issues/13
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
print_result $? 'Make "xcode-select" developer directory point to Xcode'
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Prompt user to agree to the terms of the Xcode license
# https://github.com/alrra/dotfiles/issues/10
sudo xcodebuild -license
print_result $? 'Agree with the XCode Command Line Tools licence'
fi
###############################################################################
# Homebrew #
###############################################################################
$HOME/dotfiles/install/brew.sh
$HOME/dotfiles/install/brew-cask.sh
###############################################################################
# Node #
###############################################################################
$HOME/dotfiles/install/npm.sh
# Type `git open` to open the GitHub page or website for a repository.
npm install -g git-open
# trash as the safe `rm` alternative
npm install -g trash-cli
###############################################################################
# Git #
###############################################################################
# github.com/jamiew/git-friendly
# the `push` command which copies the github compare URL to my clipboard is heaven
bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh)
###############################################################################
# Z #
###############################################################################
# github.com/rupa/z - hooked up in .zshrc
# consider reusing your current .z file if possible. it's painful to rebuild :)
# or use autojump instead https://github.com/wting/autojump
git clone https://github.com/rupa/z.git ~/z
chmod +x ~/z/z.sh
# my magic photobooth symlink -> dropbox. I love it.
# + first move Photo Booth folder out of Pictures
# + then start Photo Booth. It'll ask where to put the library.
# + put it in Dropbox/public
# * Now… you can record photobooth videos quickly and they upload to dropbox DURING RECORDING
# * then you grab public URL and send off your video message in a heartbeat.
# for the c alias (syntax highlighted cat)
sudo easy_install Pygments
###############################################################################
# OSX defaults #
# https://github.com/hjuutilainen/dotfiles/blob/master/bin/osx-user-defaults.sh
###############################################################################
sh osx/set-defaults.sh
###############################################################################
# Symlinks to link dotfiles into ~/ #
###############################################################################
./setup.sh

312
setup.sh

@ -0,0 +1,312 @@
#!/bin/bash
# this symlinks all the dotfiles (and .atom/) to ~/
# it also symlinks ~/bin for easy updating
# this is safe to run multiple times and will prompt you about anything unclear
#
# utils !!!
#
answer_is_yes() {
[[ "$REPLY" =~ ^[Yy]$ ]] \
&& return 0 \
|| return 1
}
ask() {
print_question "$1"
read
}
ask_for_confirmation() {
print_question "$1 (y/n) "
read -n 1
printf "\n"
}
ask_for_sudo() {
# Ask for the administrator password upfront
sudo -v
# Update existing `sudo` time stamp until this script has finished
# https://gist.github.com/cowboy/3118588
while true; do
sudo -n true
sleep 60
kill -0 "$$" || exit
done &> /dev/null &
}
cmd_exists() {
[ -x "$(command -v "$1")" ] \
&& printf 0 \
|| printf 1
}
execute() {
$1 &> /dev/null
print_result $? "${2:-$1}"
}
get_answer() {
printf "$REPLY"
}
get_os() {
declare -r OS_NAME="$(uname -s)"
local os=""
if [ "$OS_NAME" == "Darwin" ]; then
os="osx"
elif [ "$OS_NAME" == "Linux" ] && [ -e "/etc/lsb-release" ]; then
os="ubuntu"
fi
printf "%s" "$os"
}
is_git_repository() {
[ "$(git rev-parse &>/dev/null; printf $?)" -eq 0 ] \
&& return 0 \
|| return 1
}
mkd() {
if [ -n "$1" ]; then
if [ -e "$1" ]; then
if [ ! -d "$1" ]; then
print_error "$1 - a file with the same name already exists!"
else
print_success "$1"
fi
else
execute "mkdir -p $1" "$1"
fi
fi
}
print_error() {
# Print output in red
printf "\e[0;31m [✖] $1 $2\e[0m\n"
}
print_info() {
# Print output in purple
printf "\n\e[0;35m $1\e[0m\n\n"
}
print_question() {
# Print output in yellow
printf "\e[0;33m [?] $1\e[0m"
}
print_result() {
[ $1 -eq 0 ] \
&& print_success "$2" \
|| print_error "$2"
[ "$3" == "true" ] && [ $1 -ne 0 ] \
&& exit
}
print_success() {
# Print output in green
printf "\e[0;32m [✔] $1\e[0m\n"
}
dir=~/dotfiles # dotfiles directory
dir_backup=~/dotfiles_old # old dotfiles backup directory
# Get current dir (so run this script from anywhere)
export DOTFILES_DIR
DOTFILES_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# create dotfiles_old in homedir
echo -n "Creating $dir_backup for backup of any existing dotfiles in ~..."
mkdir -p $dir_backup
echo "done"
# change to the dotfiles directory
echo -n "Changing to the $dir directory..."
cd $dir
echo "done"
#
# actual symlink stuff
#
# Atom editor settings
echo -n "Copying Atom settings.."
mv -f ~/.atom ~/dotfiles_old/
ln -s $HOME/dotfiles/atom ~/.atom
echo "done"
declare -a FILES_TO_SYMLINK=(
'shell/shell_aliases'
'shell/shell_exports'
'shell/shell_functions'
'shell/bash_profile'
'shell/bash_prompt'
'shell/bashrc'
'shell/zshrc'
'shell/ackrc'
'shell/curlrc'
'shell/gemrc'
'shell/inputrc'
'shell/screenrc'
'git/gitattributes'
'git/gitconfig'
'git/gitignore'
)
# FILES_TO_SYMLINK="$FILES_TO_SYMLINK .vim bin" # add in vim and the binaries
# move any existing dotfiles in homedir to dotfiles_old directory, then create symlinks from the homedir to any files in the ~/dotfiles directory specified in $files
for i in ${FILES_TO_SYMLINK[@]}; do
echo "Moving any existing dotfiles from ~ to $dir_backup"
mv ~/.$i ~/dotfiles_old/
done
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
main() {
local i=''
local sourceFile=''
local targetFile=''
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
for i in ${FILES_TO_SYMLINK[@]}; do
sourceFile="$(pwd)/$i"
targetFile="$HOME/.$(printf "%s" "$i" | sed "s/.*\/\(.*\)/\1/g")"
if [ ! -e "$targetFile" ]; then
execute "ln -fs $sourceFile $targetFile" "$targetFile$sourceFile"
elif [ "$(readlink "$targetFile")" == "$sourceFile" ]; then
print_success "$targetFile$sourceFile"
else
ask_for_confirmation "'$targetFile' already exists, do you want to overwrite it?"
if answer_is_yes; then
rm -rf "$targetFile"
execute "ln -fs $sourceFile $targetFile" "$targetFile$sourceFile"
else
print_error "$targetFile$sourceFile"
fi
fi
done
# Copy batcharge
ln -fs $HOME/dotfiles/bin $HOME
chmod +rwx $HOME/bin/batcharge.py
# Symlink online-check.sh
ln -fs $HOME/dotfiles/lib/online-check.sh $HOME/online-check.sh
# Write out current crontab
crontab -l > mycron
# Echo new cron into cron file
echo "* * * * * ~/online-check.sh" >> mycron
# Install new cron file
crontab mycron
rm mycron
}
install_zsh () {
# Test to see if zshell is installed. If it is:
if [ -f /bin/zsh -o -f /usr/bin/zsh ]; then
# Install Oh My Zsh if it isn't already present
if [[ ! -d $dir/oh-my-zsh/ ]]; then
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
fi
# Set the default shell to zsh if it isn't currently set to zsh
if [[ ! $(echo $SHELL) == $(which zsh) ]]; then
chsh -s $(which zsh)
fi
else
# If zsh isn't installed, get the platform of the current machine
platform=$(uname);
# If the platform is Linux, try an apt-get to install zsh and then recurse
if [[ $platform == 'Linux' ]]; then
if [[ -f /etc/redhat-release ]]; then
sudo yum install zsh
install_zsh
fi
if [[ -f /etc/debian_version ]]; then
sudo apt-get install zsh
install_zsh
fi
# If the platform is OS X, tell the user to install zsh :)
elif [[ $platform == 'Darwin' ]]; then
echo "We'll install zsh, then re-run this script!"
brew install zsh
exit
fi
fi
}
# Package managers & packages
# . "$DOTFILES_DIR/install/brew.sh"
# . "$DOTFILES_DIR/install/npm.sh"
# if [ "$(uname)" == "Darwin" ]; then
# . "$DOTFILES_DIR/install/brew-cask.sh"
# fi
main
# install_zsh
###############################################################################
# Atom #
###############################################################################
# Copy over Atom configs
#cp -r atom/packages.list $HOME/.atom
# Install community packages
#apm list --installed --bare - get a list of installed packages
#apm install --packages-file $HOME/.atom/packages.list
###############################################################################
# Zsh #
###############################################################################
# Install Zsh settings
ln -s ~/dotfiles/zsh/themes/nick.zsh-theme $HOME/.oh-my-zsh/themes
###############################################################################
# Terminal & iTerm 2 #
###############################################################################
# Only use UTF-8 in Terminal.app
defaults write com.apple.terminal StringEncodings -array 4
# Install the Solarized Dark theme for iTerm
open "${HOME}/dotfiles/iterm/themes/Solarized Dark.itermcolors"
# Don’t display the annoying prompt when quitting iTerm
defaults write com.googlecode.iterm2 PromptOnQuit -bool false
# Reload zsh settings
source ~/.zshrc

40
shell/ackrc

@ -0,0 +1,40 @@
# only search with case sensitivity if there is mixed case
--smart-case
# follow symlinks
--follow
# color settings
--color-filename=white
--color-lineno=cyan
--color-match=magenta underline
# search other filetypes
--type-add
ruby=haml,rabl,builder
--type-add
css=.styl,.scss
--type-add
js=json,tmpl,jst,coffee,ts
--type-add
css=sass,scss
--type-set=md=.markdown,.md
# ignore some dirs
--ignore-dir=build
--ignore-dir=vendor/bundle
--ignore-dir=.idea
--ignore-dir=tmp
--ignore-dir=log
--ignore-dir=.tmp
--ignore-dir=coverage
--ignore-dir=dist
# ignore some files
--ignore-file=is:tags
--ignore-file=is:.tags
--ignore-file=is:.example_statuses

117
shell/bash_profile

@ -0,0 +1,117 @@
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
# 6. Networking
# 7. System Operations & Information
# 8. Web Development
# 9. Reminders & Notes
#
# ---------------------------------------------------------------------------
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# Git branch in prompt.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
# -------------------------------
# 1. ENVIRONMENT CONFIGURATION
# -------------------------------
# Change Prompt
# ------------------------------------------------------------
# export PS1="\n________________________________________________________________________________\n$BLUEBOLD\$(parse_git_branch) $RED\w $PURPLE@ $GREEN\h $GREENBOLD(\u) $RESETCOLOR=> $WHITE"
# Load the shell dotfiles, and then some:
# * ~/.path can be used to extend `$PATH`.
# * ~/.extra can be used for other settings you don’t want to commit.
source ~/.bash_prompt
for file in ~/.{bash_prompt}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file";
done;
unset file;
# Set Paths
# ------------------------------------------------------------
export PATH="$PATH:/usr/local/bin/"
export PATH="/usr/local/git/bin:/sw/bin/:/usr/local/bin:/usr/local/:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
# Set Default Editor (change 'Nano' to the editor of your choice)
# ------------------------------------------------------------
export EDITOR=/usr/bin/nano
# Set default blocksize for ls, df, du
# from this: http://hints.macworld.com/comment.php?mode=view&cid=24491
# ------------------------------------------------------------
export BLOCKSIZE=1k
# Add color to terminal
# (this is all commented out as I use Mac Terminal Profiles)
# from http://osxdaily.com/2012/02/21/add-color-to-the-terminal-in-mac-os-x/
# ------------------------------------------------------------
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
# -----------------------------
# 2. MAKE TERMINAL BETTER
# -----------------------------
alias subl='/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl'
alias ls='ls -GFhl'
alias cp='cp -iv' # Preferred 'cp' implementation
alias mv='mv -iv' # Preferred 'mv' implementation
alias mkdir='mkdir -pv' # Preferred 'mkdir' implementation
alias ll='ls -FGlAhp' # Preferred 'ls' implementation
alias less='less -FSRXc' # Preferred 'less' implementation
cd() { builtin cd "$@"; ll; } # Always list directory contents upon 'cd'
alias cd..='cd ../' # Go back 1 directory level (for fast typers)
alias ..='cd ../' # Go back 1 directory level
alias ...='cd ../../' # Go back 2 directory levels
alias .3='cd ../../../' # Go back 3 directory levels
alias .4='cd ../../../../' # Go back 4 directory levels
alias .5='cd ../../../../../' # Go back 5 directory levels
alias .6='cd ../../../../../../' # Go back 6 directory levels
alias edit='subl' # edit: Opens any file in sublime editor
alias f='open -a Finder ./' # f: Opens current directory in MacOS Finder
alias ~="cd ~" # ~: Go Home
alias c='clear' # c: Clear terminal display
alias which='type -all' # which: Find executables
alias path='echo -e ${PATH//:/\\n}' # path: Echo all executable Paths
alias show_options='shopt' # Show_options: display bash options settings
alias fix_stty='stty sane' # fix_stty: Restore terminal settings when screwed up
alias cic='set completion-ignore-case On' # cic: Make tab-completion case-insensitive
mcd () { mkdir -p "$1" && cd "$1"; } # mcd: Makes new Dir and jumps inside
trash () { command mv "$@" ~/.Trash ; } # trash: Moves a file to the MacOS trash
ql () { qlmanage -p "$*" >& /dev/null; } # ql: Opens any file in MacOS Quicklook Preview
alias DT='tee ~/Desktop/terminalOut.txt' # DT: Pipe content to file on MacOS Desktop

120
shell/bash_prompt

@ -0,0 +1,120 @@
# Shell prompt based on the Solarized Dark theme.
# Screenshot: http://i.imgur.com/EkEtphC.png
# Heavily inspired by @necolas’s prompt: https://github.com/necolas/dotfiles
# iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing.
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM='gnome-256color';
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM='xterm-256color';
fi;
prompt_git() {
local s='';
local branchName='';
# Check if the current directory is in a Git repository.
if [ $(git rev-parse --is-inside-work-tree &>/dev/null; echo "${?}") == '0' ]; then
# check if the current directory is in .git before running git checks
if [ "$(git rev-parse --is-inside-git-dir 2> /dev/null)" == 'false' ]; then
# Ensure the index is up to date.
git update-index --really-refresh -q &>/dev/null;
# Check for uncommitted changes in the index.
if ! $(git diff --quiet --ignore-submodules --cached); then
s+='+';
fi;
# Check for unstaged changes.
if ! $(git diff-files --quiet --ignore-submodules --); then
s+='!';
fi;
# Check for untracked files.
if [ -n "$(git ls-files --others --exclude-standard)" ]; then
s+='?';
fi;
# Check for stashed files.
if $(git rev-parse --verify refs/stash &>/dev/null); then
s+='$';
fi;
fi;
# Get the short symbolic ref.
# If HEAD isn’t a symbolic ref, get the short SHA for the latest commit
# Otherwise, just give up.
branchName="$(git symbolic-ref --quiet --short HEAD 2> /dev/null || \
git rev-parse --short HEAD 2> /dev/null || \
echo '(unknown)')";
[ -n "${s}" ] && s=" [${s}]";
echo -e "${1}${branchName}${blue}${s}";
else
return;
fi;
}
if tput setaf 1 &> /dev/null; then
tput sgr0; # reset colors
bold=$(tput bold);
reset=$(tput sgr0);
# Solarized colors, taken from http://git.io/solarized-colors.
black=$(tput setaf 0);
blue=$(tput setaf 33);
cyan=$(tput setaf 37);
green=$(tput setaf 64);
orange=$(tput setaf 166);
purple=$(tput setaf 125);
red=$(tput setaf 124);
violet=$(tput setaf 61);
white=$(tput setaf 15);
yellow=$(tput setaf 136);
else
bold='';
reset="\e[0m";
black="\e[1;30m";
blue="\e[1;34m";
cyan="\e[1;36m";
green="\e[1;32m";
orange="\e[1;33m";
purple="\e[1;35m";
red="\e[1;31m";
violet="\e[1;35m";
white="\e[1;37m";
yellow="\e[1;33m";
fi;
# Highlight the user name when logged in as root.
if [[ "${USER}" == "root" ]]; then
userStyle="${red}";
else
userStyle="${orange}";
fi;
# Highlight the hostname when connected via SSH.
if [[ "${SSH_TTY}" ]]; then
hostStyle="${bold}${red}";
else
hostStyle="${yellow}";
fi;
# Set the terminal title to the current working directory.
PS1="\[\033]0;\w\007\]";
PS1+="\[${bold}\]\n"; # newline
PS1+="\[${userStyle}\]\u"; # username
PS1+="\[${white}\] at ";
PS1+="\[${hostStyle}\]\h"; # host
PS1+="\[${white}\] in ";
PS1+="\[${green}\]\w"; # working directory
PS1+="\$(prompt_git \"${white} on ${violet}\")"; # Git repository details
PS1+="\n";
PS1+="\[${white}\]\$ \[${reset}\]"; # `$` (and reset color)
export PS1;
PS2="\[${yellow}\]→ \[${reset}\]";
export PS2;

1
shell/bashrc

@ -0,0 +1 @@
[ -n "$PS1" ] && source ~/.bash_profile

19
shell/curlrc

@ -0,0 +1,19 @@
# cURL configuration options
# http://curl.haxx.se/docs/manpage.html
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Limit the time (in seconds) the connection is allowed to take
connect-timeout = 60
# Follow HTTP redirects
location
# Display progress as a simple progress bar
progress-bar
# Show error messages
show-error
# Send a fake UA string for the HTTP servers that sniff it
user-agent = "Mozilla/5.0 Gecko"

1
shell/gemrc

@ -0,0 +1 @@
gem: --no-document

2751
shell/git-completion.bash

File diff suppressed because it is too large

83
shell/inputrc

@ -0,0 +1,83 @@
# Readline library configuration options
# http://ss64.com/bash/syntax-inputrc.html
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Autocompletion
#
# Make Tab autocomplete regardless of filename case (cd ~/dow<Tab> => cd ~/Downloads/)
set completion-ignore-case on
# Immediately add a trailing slash when autocompleting symlinks to directories
set mark-symlinked-directories on
# Do not expand "~" to the home directory when completing. (The actual value passed on to the command still is expanded,
# though. Which is good.) "Off" is the default value, but some servers override this
set expand-tilde off
# Flip through autocompletion matches with Shift-Tab
"\e[Z": menu-complete
# Do not autocomplete hidden files ("dot files") unless the pattern explicitly begins with a dot
set match-hidden-files off
# Show all autocomplete results at once
set page-completions off
# If there are more than 200 possible completions for a word, ask to show them all
set completion-query-items 200
# Auto list all TAB possible completions (use instead of TAB-cycling)
set show-all-if-ambiguous on
# Show extra file information when completing, like `ls -F` does
set visible-stats on
# Be more intelligent when autocompleting by also looking at the text after
# the cursor. For example, when the current line is "cd ~/src/mozil", and
# the cursor is on the "z", pressing Tab will not autocomplete it to "cd
# ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the
# Readline used by Bash 4.)
set skip-completed-text on
# Use the text that has already been typed as the prefix for searching through
# commands (basically more intelligent Up/Down behavior)
"\e[B": history-search-forward
"\e[A": history-search-backward
# ctrl left, ctrl right for moving on the readline by word
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# Try to stay at the same position when moving through the history
set history-preserve-point on
#
# Line editing
#
# Allow UTF-8 input and output, instead of showing stuff like $'\0123\0456'
set input-meta on
set output-meta on
set convert-meta off
# Delete for wonky terminals
"\e[3~": delete-char
# Home/End
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# Use Alt/Meta + Delete to delete the preceding word
"\e[3;3~": kill-word
#
# Misc
#
# Disable beeping and window flashing
set bell-style none

14
shell/screenrc

@ -0,0 +1,14 @@
# Screen settings
# https://www.gnu.org/software/screen/manual/screen.html#Command-Summary
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set the default character encoding to UTF-8
defutf8 on
# Disable the startup message
startup_message off
# Increase the maximum number of lines contained
# in the scrollback buffer (defaults to 100)
defscrollback 20000

185
shell/shell_aliases

@ -0,0 +1,185 @@
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
# Enable aliases to be sudo’ed
alias sudo="sudo "
# Shortcuts
alias o="open"
alias oo="open ."
alias e="$EDITOR"
alias g="git"
alias v="vim"
alias gh="github"
alias rm="trash"
alias x+="chmod +x"
alias -- +x="chmod +x"
# Easier navigation: .., ..., ~ and -
alias ..="cd .."
alias cd..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ~="cd ~" # `cd` is probably faster to type though
alias -- -="cd -"
# mv, rm, cp, gunzip
alias mv='mv -v'
alias rm='rm -i -v'
alias cp='cp -v'
alias ungz="gunzip -k"
# Trim new lines and copy to clipboard
alias trimcopy="tr -d '\n' | pbcopy"
alias cask='brew cask' # i <3 u cask
alias where=which # sometimes i forget
alias brwe=brew #typos
# Vagrant aliases
alias vag='vagrant'
alias vagup='vagrant up'
alias vagdestroy='vagrant destroy'
alias vagssh='vagrant ssh'
alias vaghalt='vagrant halt'
# Be nice
alias htop='sudo htop'
alias hosts='sudo $EDITOR /etc/hosts' # yes I occasionally 127.0.0.1 twitter.com ;)
#
# Time to upgrade `ls`
#
# Always use color output for `ls`
# Detect which `ls` flavor is in use
if ls --color > /dev/null 2>&1; then # GNU `ls`
colorflag="--color"
else # OS X `ls`
colorflag="-G"
fi
# Use coreutils `ls` if possible…
hash gls >/dev/null 2>&1 || alias gls="ls"
# List all files colorized in long format
alias l="ls -l ${colorflag}"
# ls options: A = include hidden (but not . or ..), F = put `/` after folders, h = byte unit suffixes
alias ls='gls -AFh ${colorflag} --group-directories-first'
# List all files colorized in long format, including dot files
alias la="ls -la ${colorflag}"
# List only directories
alias lsd='ls -l | grep "^d"'
# `cat` with beautiful colors. requires Pygments installed.
# sudo easy_install -U Pygments
alias c='pygmentize -O style=monokai -f console256 -g'
# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias localip="ipconfig getifaddr en1"
alias myip="ifconfig | grep 'inet ' | grep -v 127.0.0.1 | awk '{print \$2}'"
# Copy my public key to the pasteboard
alias pubkey="more ~/.ssh/id_rsa.pub | pbcopy | printf '=> Public key copied to pasteboard.\n'"
# Flush DNS cache
alias flushdns="dscacheutil -flushcache"
#
# GIT STUFF
#
# List git branches on the local machine sorted by recent updates, adding a star to remote tracking branches
function git_list_branches() {
RED="\e[91m";
for branch in $(git branch | sed s/^..//); do
time_ago=$(git log -1 --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $branch --);
# Add a red star to mark branches that are tracking something upstream
tracks_upstream=$(if [ "$(git rev-parse $branch@{upstream} 2>/dev/null)" ]; then printf "$RED★"; fi);
printf "%-53s - %s %s\n" $time_ago $branch $tracks_upstream;
done | sort;
}
# Git aliases
alias gss="git status -s"
alias gp="git push origin HEAD"
alias gpt="git push origin HEAD && git push --tags"
alias wip="git commit -m'WIP' . && git push origin HEAD"
alias grok="ngrok start rem.jsbin-dev.com static.rem.jsbin-dev.com learn.rem.jsbin-dev.com"
alias gl='git log'
alias gs='git status'
alias gd='git diff'
alias gm='git commit -m'
alias gma='git commit -am'
alias gb='git branch'
alias gc='git checkout'
alias gra='git remote add'
alias grr='git remote rm'
alias gbt=git_list_branches
alias gpu='git pull'
alias gcl='git clone'
alias gta='git tag -a -m'
alias gf='git reflog'
# Undo a `git push`
alias undopush="git push -f origin HEAD^:master"
# `cd` to Git repo root
alias gr='[ ! -z `git rev-parse --show-cdup` ] && cd `git rev-parse --show-cdup || pwd`'
#alias gr='git rev-parse 2>/dev/null && cd "./$(git rev-parse --show-cdup)"'
# Gist
alias gist-paste="gist --private --copy --paste --filename" # gist-paste filename.ext -- create private Gist from the clipboard contents
alias gist-file="gist --private --copy" # gist-file filename.ext -- create private Gist from a file
# Networking. IP address, dig, DNS
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias dig="dig +nocmd any +multiline +noall +answer"
# View HTTP traffic
alias sniff="sudo ngrep -W byline -d 'en0' -t '^(GET|POST) ' 'tcp and port 80'"
alias httpdump="sudo tcpdump -i en0 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \/.*\""
# Enhanced WHOIS lookups
alias whois="whois -h whois-servers.net"
# Download file and save it with filename of remote file
alias get="curl -O -L"
# Recursively delete `.DS_Store` files
alias cleanup_dsstore="find . -name '*.DS_Store' -type f -ls -delete"
# Disc utils
alias diskspace_report="df -P -kHl"
alias free_diskspace_report="diskspace_report"
# File size
alias fs="stat -f \"%z bytes\""
# Empty the Trash on all mounted volumes and the main HDD.
# Also, clear Apple’s System Logs & the useless sleepimage to improve shell startup speed
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv $HOME/.Trash; sudo rm -rtv /private/var/log/asl/*.asl; sudo rm /private/var/vm/sleepimage"
# Show/hide hidden files in Finder
alias showdotfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
alias hidedotfiles="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"
# Show/hide all desktop icons (useful when presenting)
alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && killall Finder"
alias hidedesktop="defaults write com.apple.finder CreateDesktop -bool false && killall Finder"
# Update installed Ruby gems, Homebrew, npm, and their installed packages
alias brew_update="brew -v update; brew upgrade --force-bottle --cleanup; brew cleanup; brew cask cleanup; brew prune; brew doctor; npm-check -g -u"
alias update_brew_npm_gem='brew_update; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update --no-rdoc --no-ri'
# HTTP Requests. One of @janmoesen’s ProTip™s
for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do
alias "$method"="lwp-request -m '$method'"
done

30
shell/shell_exports

@ -0,0 +1,30 @@
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='nano'
else
export EDITOR='nano'
fi
# Prefer US English and use UTF-8
export LC_ALL="en_US.UTF-8"
export LANG="en_US"
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# SSH
# export SSH_KEY_PATH="~/.ssh/dsa_id"
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X"
# Make less the default pager, add some options and enable syntax highlight using source-highlight
LESSPIPE=`which src-hilite-lesspipe.sh`
[ -n "$LESSPIPE" ] && export LESSOPEN="| ${LESSPIPE} %s"
export HOMEBREW_CASK_OPTS="--appdir=/Applications"
# here's LS_COLORS
# github.com/trapd00r/LS_COLORS
# command -v gdircolors >/dev/null 2>&1 || alias gdircolors="dircolors"
# eval "$(gdircolors -b ~/.dircolors)"

169
shell/shell_functions

@ -0,0 +1,169 @@
#!/bin/bash
# Create a new directory and enter it
function md() {
mkdir -p "$@" && cd "$@"
}
# find shorthand
function f() {
find . -name "$1" 2>&1 | grep -v 'Permission denied'
}
# List all files, long format, colorized, permissions in octal
function la(){
ls -l "$@" | awk '
{
k=0;
for (i=0;i<=8;i++)
k+=((substr($1,i+2,1)~/[rwx]/) *2^(8-i));
if (k)
printf("%0o ",k);
printf(" %9s %3s %2s %5s %6s %s %s %s\n", $3, $6, $7, $8, $5, $9,$10, $11);
}'
}
# cd into whatever is the forefront Finder window.
cdf() { # short for cdfinder
cd "`osascript -e 'tell app "Finder" to POSIX path of (insertion location as alias)'`"
}
# Start an HTTP server from a directory, optionally specifying the port
function server() {
local port="${1:-8000}"
open "http://localhost:${port}/"
# Set the default Content-Type to `text/plain` instead of `application/octet-stream`
# And serve everything as UTF-8 (although not technically correct, this doesn’t break anything for binary files)
python -c $'import SimpleHTTPServer;\nmap = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map;\nmap[""] = "text/plain";\nfor key, value in map.items():\n\tmap[key] = value + ";charset=UTF-8";\nSimpleHTTPServer.test();' "$port"
}
# Copy w/ progress
cp_p () {
rsync -WavP --human-readable --progress $1 $2
}
# qfind - used to quickly find files that contain a string in a directory
qfind () {
find . -exec grep -l -s $1 {} \;
return 0
}
# get gzipped size
function gz() {
echo "orig size (bytes): "
cat "$1" | wc -c
echo "gzipped size (bytes): "
gzip -c "$1" | wc -c
}
# whois a domain or a URL
function whois() {
local domain=$(echo "$1" | awk -F/ '{print $3}') # get domain from URL
if [ -z $domain ] ; then
domain=$1
fi
echo "Getting whois record for: $domain …"
# avoid recursion
# this is the best whois server
# strip extra fluff
/usr/bin/whois -h whois.internic.net $domain | sed '/NOTICE:/q'
}
function localip(){
function _localip(){ echo "📶 "$(ipconfig getifaddr "$1"); }
export -f _localip
local purple="\x1B\[35m" reset="\x1B\[m"
networksetup -listallhardwareports | \
sed -r "s/Hardware Port: (.*)/${purple}\1${reset}/g" | \
sed -r "s/Device: (en.*)$/_localip \1/e" | \
sed -r "s/Ethernet Address:/📘 /g" | \
sed -r "s/(VLAN Configurations)|==*//g"
}
# Extract archives - use: extract <file>
# Based on http://dotfiles.org/~pseup/.bashrc
function extract() {
if [ -f "$1" ] ; then
local filename=$(basename "$1")
local foldername="${filename%%.*}"
local fullpath=`perl -e 'use Cwd "abs_path";print abs_path(shift)' "$1"`
local didfolderexist=false
if [ -d "$foldername" ]; then
didfolderexist=true
read -p "$foldername already exists, do you want to overwrite it? (y/n) " -n 1
echo
if [[ $REPLY =~ ^[Nn]$ ]]; then
return
fi
fi
mkdir -p "$foldername" && cd "$foldername"
case $1 in
*.tar.bz2) tar xjf "$fullpath" ;;
*.tar.gz) tar xzf "$fullpath" ;;
*.tar.xz) tar Jxvf "$fullpath" ;;
*.tar.Z) tar xzf "$fullpath" ;;
*.tar) tar xf "$fullpath" ;;
*.taz) tar xzf "$fullpath" ;;
*.tb2) tar xjf "$fullpath" ;;
*.tbz) tar xjf "$fullpath" ;;
*.tbz2) tar xjf "$fullpath" ;;
*.tgz) tar xzf "$fullpath" ;;
*.txz) tar Jxvf "$fullpath" ;;
*.zip) unzip "$fullpath" ;;
*) echo "'$1' cannot be extracted via extract()" && cd .. && ! $didfolderexist && rm -r "$foldername" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
# who is using the laptop's iSight camera?
camerausedby() {
echo "Checking to see who is using the iSight camera… 📷"
usedby=$(lsof | grep -w "AppleCamera\|USBVDC\|iSight" | awk '{printf $2"\n"}' | xargs ps)
echo -e "Recent camera uses:\n$usedby"
}
# animated gifs from any video
# from alex sexton gist.github.com/SlexAxton/4989674
gifify() {
if [[ -n "$1" ]]; then
if [[ $2 == '--good' ]]; then
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png
time convert -verbose +dither -layers Optimize -resize 900x900\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif
rm out-static*.png
else
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif
fi
else
echo "proper usage: gifify <input_movie.mov>. You DO need to include extension."
fi
}
# turn that video into webm.
# brew reinstall ffmpeg --with-libvpx
webmify(){
ffmpeg -i $1 -vcodec libvpx -acodec libvorbis -isync -copyts -aq 80 -threads 3 -qmax 30 -y $2 $1.webm
}
# visual studio code. a la `subl`
code () {
if [[ $# = 0 ]]
then
open -a "Visual Studio Code"
else
[[ $1 = /* ]] && F="$1" || F="$PWD/${1#./}"
open -a "Visual Studio Code" --args "$F"
fi
}
# `shellswitch [bash |zsh]`
# Must be in /etc/shells
shellswitch () {
chsh -s $(brew --prefix)/bin/$1
}

72
shell/zshrc

@ -0,0 +1,72 @@
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Explicitly configured $PATH variable
export PATH="/usr/local/git/bin:/sw/bin/:/usr/local/bin:/usr/local/:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/"
# export MANPATH="/usr/local/man:$MANPATH"
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="nick"
# Z beats cd most of the time
. ~/z/z.sh
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=$HOME/dotfiles/zsh
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(fabric sudo brew node npm history git git-flow vagrant zsh-syntax-highlighting)
# User configuration
# Load the shell dotfiles
for file in $HOME/.{shell_exports,shell_aliases,shell_functions}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file";
done;
unset file;
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# Put any proprietary or private functions/values in ~/.private, and this will source them
if [ -f $HOME/.private ]; then
source $HOME/.private
fi
source $ZSH/oh-my-zsh.sh
# Load extra (private) settings
[ -f ~/.zsh.local ] && source ~/.zsh.local
# npm tab completion
. <(npm completion)
# fortune: brew install fortune ponysay
fortune | ponysay

942
webstorm/colors/Obsidian.icl

@ -0,0 +1,942 @@
<?xml version="1.0" encoding="UTF-8"?>
<scheme name="Obsidian++" version="124" parent_scheme="Default">
<option name="LINE_SPACING" value="1.2" />
<font>
<option name="EDITOR_FONT_NAME" value="Consolas" />
<option name="EDITOR_FONT_SIZE" value="14" />
</font>
<font>
<option name="EDITOR_FONT_NAME" value="Liberation Mono" />
<option name="EDITOR_FONT_SIZE" value="14" />
</font>
<font>
<option name="EDITOR_FONT_NAME" value="Source Code Pro" />
<option name="EDITOR_FONT_SIZE" value="14" />
</font>
<font>
<option name="EDITOR_FONT_NAME" value="Source Code Pro Semibold" />
<option name="EDITOR_FONT_SIZE" value="14" />
</font>
<font>
<option name="EDITOR_FONT_NAME" value="Ubuntu Mono" />
<option name="EDITOR_FONT_SIZE" value="14" />
</font>
<option name="CONSOLE_FONT_NAME" value="Consolas" />
<option name="CONSOLE_LINE_SPACING" value="1.0" />
<colors>
<option name="ADDED_LINES_COLOR" value="a9fda9" />
<option name="ANNOTATIONS_COLOR" value="678aaf" />
<option name="CARET_COLOR" value="dcdddf" />
<option name="CARET_ROW_COLOR" value="202425" />
<option name="CONSOLE_BACKGROUND_KEY" value="" />
<option name="FILESTATUS_MODIFIED" value="678bb0" />
<option name="FILESTATUS_UNKNOWN" value="ff9933" />
<option name="FILESTATUS_modifiedOutside" value="678bb0" />
<option name="GUTTER_BACKGROUND" value="262929" />
<option name="INDENT_GUIDE" value="3c3f41" />
<option name="LEFT_GUTTER_BACKGROUND" value="3f4b4e" />
<option name="LINE_NUMBERS_COLOR" value="81969a" />
<option name="METHOD_SEPARATORS_COLOR" value="464f53" />
<option name="MODIFIED_LINES_COLOR" value="809599" />
<option name="NOTIFICATION_BACKGROUND" value="678aaf" />
<option name="RIGHT_MARGIN_COLOR" value="" />
<option name="SELECTED_INDENT_GUIDE" value="333333" />
<option name="SELECTED_TEARLINE_COLOR" value="3366ff" />
<option name="SELECTION_BACKGROUND" value="33cc" />
<option name="SELECTION_FOREGROUND" value="" />
<option name="SOFT_WRAP_SIGN_COLOR" value="394448" />
<option name="TEARLINE_COLOR" value="3c3f41" />
<option name="WHITESPACES" value="32393b" />
</colors>
<attributes>
<option name="APACHE_CONFIG.ARG_LEXEM">
<value>
<option name="FOREGROUND" value="a5de78" />
</value>
</option>
<option name="APACHE_CONFIG.IDENTIFIER">
<value>
<option name="FOREGROUND" value="729fcf" />
</value>
</option>
<option name="BAD_CHARACTER">
<value>
<option name="EFFECT_COLOR" value="ff6666" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="BREAKPOINT_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="800000" />
</value>
</option>
<option name="BROWSEWORDATCARET">
<value>
<option name="EFFECT_COLOR" value="ffe124" />
<option name="ERROR_STRIPE_COLOR" value="526da5" />
</value>
</option>
<option name="CONSOLE_ERROR_OUTPUT">
<value>
<option name="FOREGROUND" value="ff5959" />
</value>
</option>
<option name="CONSOLE_NORMAL_OUTPUT">
<value>
<option name="FOREGROUND" value="cccccc" />
</value>
</option>
<option name="CONSOLE_SYSTEM_OUTPUT">
<value>
<option name="FOREGROUND" value="678cb1" />
</value>
</option>
<option name="CSS.COMMENT">
<value>
<option name="FOREGROUND" value="66747b" />
</value>
</option>
<option name="CSS.FUNCTION">
<value>
<option name="FOREGROUND" value="808080" />
</value>
</option>
<option name="CSS.IDENT">
<value>
<option name="FOREGROUND" value="678bb0" />
</value>
</option>
<option name="CSS.IMPORTANT">
<value>
<option name="FOREGROUND" value="ff9999" />
</value>
</option>
<option name="CSS.KEYWORD">
<value>
<option name="FOREGROUND" value="a082bd" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="CSS.NUMBER">
<value>
<option name="FOREGROUND" value="f0f0f0" />
</value>
</option>
<option name="CSS.PROPERTY_NAME">
<value>
<option name="FOREGROUND" value="678cb1" />
</value>
</option>
<option name="CSS.PROPERTY_VALUE">
<value>
<option name="FOREGROUND" value="f0f0f0" />
</value>
</option>
<option name="CSS.TAG_NAME">
<value>
<option name="FOREGROUND" value="d0d2b5" />
</value>
</option>
<option name="CSS.URL">
<value>
<option name="EFFECT_COLOR" value="ffffff" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="CUSTOM_INVALID_STRING_ESCAPE_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="ff3333" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="CUSTOM_KEYWORD1_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="729fcf" />
</value>
</option>
<option name="CUSTOM_KEYWORD2_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b547a9" />
</value>
</option>
<option name="CUSTOM_KEYWORD3_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="9d9d" />
</value>
</option>
<option name="CUSTOM_KEYWORD4_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="e84039" />
</value>
</option>
<option name="CUSTOM_NUMBER_ATTRIBUTES">
<value />
</option>
<option name="CUSTOM_STRING_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="fd8309" />
</value>
</option>
<option name="CUSTOM_VALID_STRING_ESCAPE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="fbcb22" />
</value>
</option>
<option name="DBNavigator.TextAttributes.SQL.DataType">
<value>
<option name="FOREGROUND" value="66cc00" />
</value>
</option>
<option name="DBNavigator.TextAttributes.SQL.Function">
<value>
<option name="FOREGROUND" value="0" />
<option name="EFFECT_TYPE" value="-1" />
</value>
</option>
<option name="DBNavigator.TextAttributes.SQL.Keyword">
<value>
<option name="FOREGROUND" value="c0c0c0" />
</value>
</option>
<option name="DBNavigator.TextAttributes.SQL.Number">
<value>
<option name="FOREGROUND" value="808080" />
</value>
</option>
<option name="DBNavigator.TextAttributes.SQL.String">
<value>
<option name="FOREGROUND" value="99cc00" />
</value>
</option>
<option name="DEFAULT_BLOCK_COMMENT">
<value>
<option name="FOREGROUND" value="808080" />
</value>
</option>
<option name="DEFAULT_COMMA">
<value />
</option>
<option name="DEFAULT_CONSTANT">
<value>
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT">
<value>
<option name="FOREGROUND" value="808080" />
</value>
</option>
<option name="DEFAULT_GLOBAL_VARIABLE">
<value>
<option name="FOREGROUND" value="678bb0" />
</value>
</option>
<option name="DEFAULT_INVALID_STRING_ESCAPE">
<value>
<option name="EFFECT_COLOR" value="ff6666" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="DEFAULT_KEYWORD">
<value>
<option name="FOREGROUND" value="92c663" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_LINE_COMMENT">
<value>
<option name="FOREGROUND" value="808080" />
</value>
</option>
<option name="DEFAULT_LOCAL_VARIABLE">
<value>
<option name="FOREGROUND" value="678bb0" />
</value>
</option>
<option name="DEFAULT_NUMBER">
<value />
</option>
<option name="DEFAULT_PARAMETER">
<value>
<option name="FOREGROUND" value="678bb0" />
</value>
</option>
<option name="DEFAULT_PREDEFINED_SYMBOL">
<value>
<option name="FOREGROUND" value="ff6666" />
</value>
</option>
<option name="DEFAULT_SEMICOLON">
<value />
</option>
<option name="DEFAULT_STRING">
<value>
<option name="FOREGROUND" value="fd8309" />
</value>
</option>
<option name="DEFAULT_VALID_STRING_ESCAPE">
<value>
<option name="FOREGROUND" value="fdcc22" />
<option name="FONT_TYPE" value="3" />
</value>
</option>
<option name="DELETED_TEXT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="678aaf" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="DEPRECATED_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="808080" />
<option name="EFFECT_TYPE" value="3" />
</value>
</option>
<option name="DIFF_CONFLICT">
<value>
<option name="BACKGROUND" value="7c2f20" />
<option name="ERROR_STRIPE_COLOR" value="ff6647" />
</value>
</option>
<option name="DIFF_DELETED">
<value>
<option name="BACKGROUND" value="333333" />
<option name="ERROR_STRIPE_COLOR" value="3d3d3d" />
</value>
</option>
<option name="DIFF_INSERTED">
<value>
<option name="BACKGROUND" value="336233" />
<option name="ERROR_STRIPE_COLOR" value="2df32d" />
</value>
</option>
<option name="DIFF_MODIFIED">
<value>
<option name="BACKGROUND" value="3f5483" />
<option name="ERROR_STRIPE_COLOR" value="3471ff" />
</value>
</option>
<option name="DUPLICATE_FROM_SERVER">
<value>
<option name="FOREGROUND" value="0" />
<option name="BACKGROUND" value="f5f7f0" />
</value>
</option>
<option name="EL.BOUNDS">
<value>
<option name="FOREGROUND" value="d955c1" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="EL.BRACKETS">
<value>
<option name="FOREGROUND" value="e8e2b7" />
</value>
</option>
<option name="EL.IDENT">
<value>
<option name="FOREGROUND" value="678cb1" />
</value>
</option>
<option name="EL.KEYWORD">
<value>
<option name="FOREGROUND" value="93c763" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="EL.NUMBER">
<value>
<option name="FOREGROUND" value="ffcd22" />
</value>
</option>
<option name="EL.PARENTHS">
<value>
<option name="FOREGROUND" value="e8e2b7" />
</value>
</option>
<option name="EL.STRING">
<value>
<option name="FOREGROUND" value="ec7600" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="EL_BACKGROUND">
<value />
</option>
<option name="EXECUTIONPOINT_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="ff" />
</value>
</option>
<option name="FOLDED_TEXT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="6a8088" />
<option name="BACKGROUND" value="2f383c" />
<option name="FONT_TYPE" value="2" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="FOLLOWED_HYPERLINK_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ccccff" />
<option name="BACKGROUND" value="333333" />
<option name="FONT_TYPE" value="2" />
<option name="EFFECT_COLOR" value="666666" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="HTML_ATTRIBUTE_NAME">
<value>
<option name="FOREGROUND" value="999999" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="HTML_COMMENT">
<value>
<option name="FOREGROUND" value="66747b" />
</value>
</option>
<option name="HTML_ENTITY_REFERENCE">
<value>
<option name="FOREGROUND" value="c079ed" />
</value>
</option>
<option name="HTML_TAG">
<value>
<option name="FOREGROUND" value="bfbfbf" />
</value>
</option>
<option name="HTML_TAG_NAME">
<value>
<option name="FOREGROUND" value="668cb0" />
<option name="EFFECT_TYPE" value="5" />
</value>
</option>
<option name="HYPERLINK_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ccccff" />
<option name="FONT_TYPE" value="2" />
<option name="EFFECT_COLOR" value="666666" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="IDENTIFIER_UNDER_CARET_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="343f41" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="INFO_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="808080" />
<option name="EFFECT_TYPE" value="2" />
<option name="ERROR_STRIPE_COLOR" value="ffffcc" />
</value>
</option>
<option name="INJECTED_LANGUAGE_FRAGMENT">
<value>
<option name="BACKGROUND" value="292929" />
</value>
</option>
<option name="JS.ATTRIBUTE">
<value>
<option name="BACKGROUND" value="660066" />
<option name="EFFECT_TYPE" value="-1" />
</value>
</option>
<option name="JS.BADCHARACTER">
<value>
<option name="BACKGROUND" value="660000" />
</value>
</option>
<option name="JS.BRACES">
<value>
<option name="FOREGROUND" value="e8e2b7" />
</value>
</option>
<option name="JS.BRACKETS">
<value>
<option name="FOREGROUND" value="e8e2b7" />
</value>
</option>
<option name="JS.DOC_MARKUP">
<value>
<option name="BACKGROUND" value="333333" />
</value>
</option>
<option name="JS.DOC_TAG">
<value>
<option name="EFFECT_COLOR" value="808080" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="JS.GLOBAL_VARIABLE">
<value>
<option name="FOREGROUND" value="fdcc22" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="JS.INSTANCE_MEMBER_FUNCTION">
<value>
<option name="EFFECT_TYPE" value="-1" />
</value>
</option>
<option name="JS.INSTANCE_MEMBER_VARIABLE">
<value />
</option>
<option name="JS.INVALID_STRING_ESCAPE">
<value>
<option name="FOREGROUND" value="c0c0c0" />
<option name="BACKGROUND" value="660000" />
</value>
</option>
<option name="JS.KEYWORD">
<value>
<option name="FOREGROUND" value="678bb0" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="JS.LOCAL_VARIABLE">
<value>
<option name="EFFECT_TYPE" value="-1" />
</value>
</option>
<option name="JS.PARAMETER">
<value>
<option name="EFFECT_COLOR" value="808080" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="JS.PARENTHS">
<value>
<option name="FOREGROUND" value="e8e2b7" />
</value>
</option>
<option name="JS.REGEXP">
<value>
<option name="FOREGROUND" value="d39745" />
<option name="EFFECT_TYPE" value="-1" />
</value>
</option>
<option name="JS.STATIC_MEMBER_VARIABLE">
<value>
<option name="FOREGROUND" value="660e7a" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="JSP_ATTRIBUTE_NAME">
<value>
<option name="FOREGROUND" value="678cb1" />
</value>
</option>
<option name="JSP_ATTRIBUTE_VALUE">
<value>
<option name="FOREGROUND" value="ec7600" />
</value>
</option>
<option name="JSP_COMMENT">
<value>
<option name="FOREGROUND" value="66747b" />
</value>
</option>
<option name="JSP_DIRECTIVE_BACKGROUND">
<value />
</option>
<option name="JSP_DIRECTIVE_NAME">
<value>
<option name="FOREGROUND" value="93c763" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="JSP_SCRIPTING_BACKGROUND">
<value>
<option name="FOREGROUND" value="d955c1" />
</value>
</option>
<option name="MATCHED_BRACE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ff6666" />
<option name="BACKGROUND" value="0" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="PHP_BAD_CHARACTER">
<value>
<option name="EFFECT_COLOR" value="ff3333" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="PHP_BRACKETS">
<value>
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="PHP_CONSTANT">
<value>
<option name="FOREGROUND" value="9bd8df" />
<option name="FONT_TYPE" value="2" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="PHP_DOC_TAG">
<value>
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="PHP_EXEC_COMMAND_ID">
<value>
<option name="FOREGROUND" value="ccccff" />
<option name="BACKGROUND" value="3366" />
</value>
</option>
<option name="PHP_HEREDOC_CONTENT">
<value>
<option name="FOREGROUND" value="fd8309" />
</value>
</option>
<option name="PHP_HEREDOC_ID">
<value>
<option name="FOREGROUND" value="fd8309" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="PHP_IDENTIFIER">
<value>
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="PHP_KEYWORD">
<value>
<option name="FOREGROUND" value="92c663" />
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="PHP_PREDEFINED SYMBOL">
<value>
<option name="FOREGROUND" value="678bb0" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="PHP_SCRIPTING_BACKGROUND">
<value>
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="PHP_SEMICOLON">
<value>
<option name="FOREGROUND" value="808080" />
</value>
</option>
<option name="PHP_TAG">
<value>
<option name="FOREGROUND" value="90c44f" />
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_TYPE" value="5" />
</value>
</option>
<option name="PHP_VAR">
<value>
<option name="FOREGROUND" value="678bb0" />
<option name="EFFECT_TYPE" value="4" />
</value>
</option>
<option name="REGEXP.CHAR_CLASS">
<value>
<option name="FOREGROUND" value="808000" />
</value>
</option>
<option name="REGEXP.ESC_CHARACTER">
<value>
<option name="FOREGROUND" value="ff6600" />
</value>
</option>
<option name="REGEXP.META">
<value>
<option name="FOREGROUND" value="99ff00" />
</value>
</option>
<option name="REGEXP.QUOTE_CHARACTER">
<value>
<option name="FOREGROUND" value="808000" />
</value>
</option>
<option name="REGEXP.REDUNDANT_ESCAPE">
<value>
<option name="FOREGROUND" value="808000" />
</value>
</option>
<option name="SCOPE_KEY_All">
<value />
</option>
<option name="SCOPE_KEY_Changed Files">
<value />
</option>
<option name="SCOPE_KEY_Configs">
<value />
</option>
<option name="SCOPE_KEY_Controllers">
<value />
</option>
<option name="SCOPE_KEY_Default">
<value />
</option>
<option name="SCOPE_KEY_Models">
<value />
</option>
<option name="SCOPE_KEY_Modules">
<value />
</option>
<option name="SCOPE_KEY_Non-Project Files">
<value />
</option>
<option name="SCOPE_KEY_Problems">
<value />
</option>
<option name="SCOPE_KEY_Project Files">
<value />
</option>
<option name="SCOPE_KEY_Revert: ">
<value />
</option>
<option name="SCOPE_KEY_Revert: 271">
<value />
</option>
<option name="SCOPE_KEY_Revert: 276">
<value />
</option>
<option name="SCOPE_KEY_Tests">
<value />
</option>
<option name="SCOPE_KEY_Views">
<value />
</option>
<option name="SCOPE_KEY_config">
<value />
</option>
<option name="SCOPE_KEY_configs">
<value />
</option>
<option name="SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="0" />
<option name="BACKGROUND" value="ccccff" />
</value>
</option>
<option name="SMARTY_BACKGROUND">
<value />
</option>
<option name="SMARTY_BAD_CHARACTER">
<value />
</option>
<option name="SMARTY_KEYWORD">
<value>
<option name="FOREGROUND" value="54a0de" />
</value>
</option>
<option name="SMARTY_NUMBER">
<value>
<option name="FOREGROUND" value="f0ff4c" />
</value>
</option>
<option name="SMARTY_STRING">
<value>
<option name="FOREGROUND" value="95db01" />
</value>
</option>
<option name="SQL_BAD_CHARACTER">
<value>
<option name="FOREGROUND" value="ffffff" />
<option name="BACKGROUND" value="ff342f" />
</value>
</option>
<option name="SQL_COLUMN">
<value>
<option name="FOREGROUND" value="668cb0" />
</value>
</option>
<option name="SQL_COMMENT">
<value>
<option name="FOREGROUND" value="66747b" />
</value>
</option>
<option name="SQL_KEYWORD">
<value>
<option name="FOREGROUND" value="93c763" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="SQL_NUMBER">
<value>
<option name="FOREGROUND" value="ffcd22" />
</value>
</option>
<option name="SQL_STRING">
<value>
<option name="FOREGROUND" value="ec7600" />
</value>
</option>
<option name="TEMPLATE_VARIABLE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="cc99ff" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="TEXT">
<value>
<option name="FOREGROUND" value="dddee0" />
<option name="BACKGROUND" value="262929" />
</value>
</option>
<option name="TEXT_SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="ffff00" />
<option name="ERROR_STRIPE_COLOR" value="ff00" />
</value>
</option>
<option name="TODO_DEFAULT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ffffff" />
<option name="BACKGROUND" value="800000" />
<option name="FONT_TYPE" value="2" />
<option name="ERROR_STRIPE_COLOR" value="ff" />
</value>
</option>
<option name="TWIG_BACKGROUND">
<value />
</option>
<option name="TWIG_KEYWORD">
<value>
<option name="FOREGROUND" value="67a8f5" />
</value>
</option>
<option name="TWIG_NUMBER">
<value>
<option name="FOREGROUND" value="f9ff21" />
</value>
</option>
<option name="TWIG_STRING">
<value>
<option name="FOREGROUND" value="7cc652" />
</value>
</option>
<option name="TYPO">
<value>
<option name="EFFECT_COLOR" value="666666" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="UNMATCHED_BRACE_ATTRIBUTES">
<value />
</option>
<option name="WARNING_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="678bb0" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="WRITE_IDENTIFIER_UNDER_CARET_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="343f41" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="WRITE_SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="343f41" />
</value>
</option>
<option name="WRONG_REFERENCES_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ff5959" />
</value>
</option>
<option name="XML_ATTRIBUTE_NAME">
<value>
<option name="FOREGROUND" value="b3b689" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="XML_ATTRIBUTE_VALUE">
<value>
<option name="FOREGROUND" value="e1e2cf" />
</value>
</option>
<option name="XML_COMMENT">
<value>
<option name="FOREGROUND" value="66747b" />
</value>
</option>
<option name="XML_ENTITY_REFERENCE">
<value>
<option name="FOREGROUND" value="ff66cc" />
</value>
</option>
<option name="XML_TAG">
<value />
</option>
<option name="XML_TAG_DATA">
<value />
</option>
<option name="XML_TAG_NAME">
<value>
<option name="FOREGROUND" value="678cb1" />
</value>
</option>
<option name="XPATH.KEYWORD">
<value>
<option name="FOREGROUND" value="729fcf" />
</value>
</option>
<option name="XPATH.NUMBER">
<value />
</option>
<option name="XPATH.STRING">
<value>
<option name="FOREGROUND" value="a5de78" />
</value>
</option>
<option name="XPATH.XPATH_VARIABLE">
<value>
<option name="FOREGROUND" value="ffff" />
</value>
</option>
<option name="YAML_COMMENT">
<value>
<option name="FOREGROUND" value="66747b" />
</value>
</option>
<option name="YAML_SCALAR_DSTRING">
<value>
<option name="FOREGROUND" value="e1e2cf" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="YAML_SCALAR_KEY">
<value>
<option name="FOREGROUND" value="678cb1" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="YAML_SCALAR_LIST">
<value />
</option>
<option name="YAML_SCALAR_STRING">
<value>
<option name="FOREGROUND" value="e1e2cf" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="YAML_SCALAR_VALUE">
<value>
<option name="FOREGROUND" value="93c763" />
</value>
</option>
<option name="YAML_TEXT">
<value>
<option name="FOREGROUND" value="ffcd22" />
</value>
</option>
</attributes>
</scheme>

643
webstorm/colors/base16-ocean.dark.icls

@ -0,0 +1,643 @@
<scheme name="Base16-Ocean-Dark" version="142" parent_scheme="Default">
<option name="LINE_SPACING" value="1.3" />
<font>
<option name="EDITOR_FONT_NAME" value="Source Code Pro" />
<option name="EDITOR_FONT_SIZE" value="16" />
</font>
<font>
<option name="EDITOR_FONT_NAME" value="Menlo" />
<option name="EDITOR_FONT_SIZE" value="16" />
</font>
<option name="CONSOLE_FONT_NAME" value="Menlo" />
<option name="CONSOLE_FONT_SIZE" value="12" />
<option name="CONSOLE_LINE_SPACING" value="1.0" />
<colors>
<option name="ADDED_LINES_COLOR" value="a3be8c" />
<option name="ANNOTATIONS_COLOR" value="4f5b66" />
<option name="CARET_COLOR" value="dfe1e8" />
<option name="CARET_ROW_COLOR" value="343d46" />
<option name="CONSOLE_BACKGROUND_KEY" value="2b303b" />
<option name="FILESTATUS_ADDED" value="8fa1b3" />
<option name="FILESTATUS_IDEA_FILESTATUS_IGNORED" value="ab7967" />
<option name="FILESTATUS_MODIFIED" value="96b5b4" />
<option name="FILESTATUS_UNKNOWN" value="ab7967" />
<option name="GUTTER_BACKGROUND" value="2b303b" />
<option name="INDENT_GUIDE" value="4f5b66" />
<option name="LINE_NUMBERS_COLOR" value="65737e" />
<option name="METHOD_SEPARATORS_COLOR" value="4f5b66" />
<option name="MODIFIED_LINES_COLOR" value="4f5b66" />
<option name="NOTIFICATION_BACKGROUND" value="343d46" />
<option name="READONLY_FRAGMENT_BACKGROUND" value="2b303b" />
<option name="RECURSIVE_CALL_ATTRIBUTES" value="c0c5ce" />
<option name="RIGHT_MARGIN_COLOR" value="343d46" />
<option name="SELECTED_TEARLINE_COLOR" value="65737e" />
<option name="SELECTION_BACKGROUND" value="65737e" />
<option name="SELECTION_FOREGROUND" value="eff1f5" />
<option name="TEARLINE_COLOR" value="eff1f5" />
<option name="WHITESPACES" value="c0c5ce" />
</colors>
<attributes>
<option name="ABSTRACT_CLASS_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="ANNOTATION_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="96b5b4" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="ANONYMOUS_CLASS_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="BAD_CHARACTER">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="BREAKPOINT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="ab7967" />
</value>
</option>
<option name="CLASS_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="CONSOLE_NORMAL_OUTPUT">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="CONSOLE_SYSTEM_OUTPUT">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="CONSOLE_YELLOW_OUTPUT">
<value>
<option name="FOREGROUND" value="cdcd00" />
</value>
</option>
<option name="CTRL_CLICKABLE">
<value>
<option name="EFFECT_COLOR" value="ab7967" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="CUSTOM_INVALID_STRING_ESCAPE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="BACKGROUND" value="ffcccc" />
</value>
</option>
<option name="CUSTOM_KEYWORD1_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="CUSTOM_NUMBER_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="96b5b4" />
</value>
</option>
<option name="CUSTOM_VALID_STRING_ESCAPE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="bf616a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_ATTRIBUTE">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="DEFAULT_BLOCK_COMMENT">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="DEFAULT_BRACES">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_BRACKETS">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_CLASS_NAME">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_CLASS_REFERENCE">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_COMMA">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_CONSTANT">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT_TAG">
<value>
<option name="FOREGROUND" value="a7adba" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT_TAG_VALUE">
<value>
<option name="FOREGROUND" value="a7adba" />
</value>
</option>
<option name="DEFAULT_DOC_MARKUP">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="DEFAULT_DOT">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_ENTITY">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="DEFAULT_FUNCTION_DECLARATION">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="DEFAULT_GLOBAL_VARIABLE">
<value>
<option name="FOREGROUND" value="96b5b4" />
</value>
</option>
<option name="DEFAULT_IDENTIFIER">
<value>
<option name="FOREGROUND" value="96b5b4" />
</value>
</option>
<option name="DEFAULT_INSTANCE_FIELD">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="DEFAULT_INSTANCE_METHOD">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="DEFAULT_INTERFACE_NAME">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_INVALID_STRING_ESCAPE">
<value>
<option name="FOREGROUND" value="ab7967" />
</value>
</option>
<option name="DEFAULT_KEYWORD">
<value>
<option name="FOREGROUND" value="b48ead" />
</value>
</option>
<option name="DEFAULT_LABEL">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_LINE_COMMENT">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="DEFAULT_LOCAL_VARIABLE">
<value>
<option name="FOREGROUND" value="96b5b4" />
</value>
</option>
<option name="DEFAULT_METADATA">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_NUMBER">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="DEFAULT_OPERATION_SIGN">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_PARAMETER">
<value>
<option name="FOREGROUND" value="dfe1e8" />
</value>
</option>
<option name="DEFAULT_PARENTHS">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_PREDEFINED_SYMBOL">
<value>
<option name="FOREGROUND" value="dfe1e8" />
</value>
</option>
<option name="DEFAULT_SEMICOLON">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="DEFAULT_STATIC_FIELD">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="DEFAULT_STATIC_METHOD">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="DEFAULT_STRING">
<value>
<option name="FOREGROUND" value="a3be8c" />
</value>
</option>
<option name="DEFAULT_TAG">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="DEFAULT_TEMPLATE_LANGUAGE_COLOR">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="BACKGROUND" value="2b303b" />
</value>
</option>
<option name="DEFAULT_VALID_STRING_ESCAPE">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="DELETED_TEXT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="65737e" />
<option name="BACKGROUND" value="343d46" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="DEPRECATED_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="bf616a" />
<option name="EFFECT_TYPE" value="3" />
</value>
</option>
<option name="DIFF_CONFLICT">
<value>
<option name="BACKGROUND" value="ab7967" />
<option name="ERROR_STRIPE_COLOR" value="ab7967" />
</value>
</option>
<option name="DIFF_DELETED">
<value>
<option name="BACKGROUND" value="bf616a" />
<option name="ERROR_STRIPE_COLOR" value="bf616a" />
</value>
</option>
<option name="DIFF_INSERTED">
<value>
<option name="BACKGROUND" value="343d46" />
<option name="ERROR_STRIPE_COLOR" value="343d46" />
</value>
</option>
<option name="DIFF_MODIFIED">
<value>
<option name="BACKGROUND" value="4f5b66" />
<option name="ERROR_STRIPE_COLOR" value="4f5b66" />
</value>
</option>
<option name="DOC_COMMENT_TAG_VALUE">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DUPLICATE_FROM_SERVER">
<value />
</option>
<option name="ERRORS_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="bf616a" />
<option name="ERROR_STRIPE_COLOR" value="bf616a" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="EXECUTIONPOINT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ffffff" />
<option name="BACKGROUND" value="ff" />
</value>
</option>
<option name="FOLDED_TEXT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="343d46" />
<option name="BACKGROUND" value="a7adba" />
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="FOLLOWED_HYPERLINK_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="BACKGROUND" value="2b303b" />
<option name="EFFECT_COLOR" value="b48ead" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="GENERIC_SERVER_ERROR_OR_WARNING">
<value>
<option name="EFFECT_COLOR" value="d08770" />
<option name="ERROR_STRIPE_COLOR" value="d08770" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="GHERKIN_COMMENT">
<value>
<option name="FOREGROUND" value="a7adba" />
</value>
</option>
<option name="GHERKIN_OUTLINE_PARAMETER_SUBSTITUTION">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="GHERKIN_PYSTRING">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="GHERKIN_TABLE_HEADER_CELL">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="GROOVY_KEYWORD">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="HYPERLINK_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="EFFECT_COLOR" value="8fa1b3" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="IDENTIFIER_UNDER_CARET_ATTRIBUTES">
<value>
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_COLOR" value="8fa1b3" />
<option name="ERROR_STRIPE_COLOR" value="8fa1b3" />
</value>
</option>
<option name="IMPLICIT_ANONYMOUS_CLASS_PARAMETER_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="INFO_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="cccccc" />
<option name="ERROR_STRIPE_COLOR" value="ffffcc" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="INJECTED_LANGUAGE_FRAGMENT">
<value>
<option name="BACKGROUND" value="4f5b66" />
</value>
</option>
<option name="INSTANCE_FIELD_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="Instance property reference ID">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="KOTLIN_AUTO_CASTED_VALUE">
<value>
<option name="BACKGROUND" value="4f5b66" />
</value>
</option>
<option name="LOCAL_VARIABLE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="LOG_ERROR_OUTPUT">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="LOG_EXPIRED_ENTRY">
<value>
<option name="FOREGROUND" value="ab7967" />
</value>
</option>
<option name="LOG_WARNING_OUTPUT">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="List/map to object conversion">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="MATCHED_BRACE_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="4f5b66" />
</value>
</option>
<option name="METHOD_CALL_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="METHOD_DECLARATION_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="Map key">
<value>
<option name="FOREGROUND" value="a3be8c" />
</value>
</option>
<option name="NOT_USED_ELEMENT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="PY.SELF_PARAMETER">
<value>
<option name="FOREGROUND" value="b48ead" />
</value>
</option>
<option name="SASS_MIXIN">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="SASS_VARIABLE">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="4f5b66" />
</value>
</option>
<option name="STATIC_FIELD_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="STATIC_FINAL_FIELD_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="STATIC_METHOD_ATTRIBUTES">
<value />
</option>
<option name="Scala Template lazy val/var">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="Scala Template val">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="Scala Template var">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="Static property reference ID">
<value>
<option name="FOREGROUND" value="660e7a" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="TEMPLATE_VARIABLE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="7f0000" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="TEXT">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="BACKGROUND" value="2b303b" />
</value>
</option>
<option name="TEXT_SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="ERROR_STRIPE_COLOR" value="eff1f5" />
</value>
</option>
<option name="TODO_DEFAULT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="FONT_TYPE" value="1" />
<option name="ERROR_STRIPE_COLOR" value="b48ead" />
</value>
</option>
<option name="TYPO">
<value>
<option name="EFFECT_COLOR" value="8000" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="UNMATCHED_BRACE_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="bf616a" />
</value>
</option>
<option name="Unresolved reference access">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="EFFECT_COLOR" value="bf616a" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="WARNING_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="ERROR_STRIPE_COLOR" value="ebc700" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="WRITE_IDENTIFIER_UNDER_CARET_ATTRIBUTES">
<value>
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_COLOR" value="b48ead" />
<option name="ERROR_STRIPE_COLOR" value="b48ead" />
</value>
</option>
<option name="WRITE_SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="343d46" />
</value>
</option>
</attributes>
</scheme>

657
webstorm/colors/base16-ocean.light.icls

@ -0,0 +1,657 @@
<scheme name="Base16-Ocean-Light" version="142" parent_scheme="Default">
<option name="LINE_SPACING" value="1.2" />
<font>
<option name="EDITOR_FONT_NAME" value="Source Code Pro" />
<option name="EDITOR_FONT_SIZE" value="14" />
</font>
<font>
<option name="EDITOR_FONT_NAME" value="Menlo" />
<option name="EDITOR_FONT_SIZE" value="14" />
</font>
<option name="CONSOLE_FONT_NAME" value="Source Code Pro" />
<colors>
<option name="ADDED_LINES_COLOR" value="a3be8c" />
<option name="ANNOTATIONS_COLOR" value="4f5b66" />
<option name="CARET_COLOR" value="343d46" />
<option name="CARET_ROW_COLOR" value="dfe1e8" />
<option name="CONSOLE_BACKGROUND_KEY" value="eff1f5" />
<option name="FILESTATUS_ADDED" value="343d46" />
<option name="FILESTATUS_IDEA_FILESTATUS_IGNORED" value="343d46" />
<option name="FILESTATUS_MODIFIED" value="343d46" />
<option name="FILESTATUS_UNKNOWN" value="343d46" />
<option name="GUTTER_BACKGROUND" value="dfe1e8" />
<option name="INDENT_GUIDE" value="a7adba" />
<option name="LINE_NUMBERS_COLOR" value="2b303b" />
<option name="METHOD_SEPARATORS_COLOR" value="c0c5ce" />
<option name="MODIFIED_LINES_COLOR" value="a3be8c" />
<option name="NOTIFICATION_BACKGROUND" value="343d46" />
<option name="READONLY_FRAGMENT_BACKGROUND" value="2b303b" />
<option name="RECURSIVE_CALL_ATTRIBUTES" value="c0c5ce" />
<option name="RIGHT_MARGIN_COLOR" value="343d46" />
<option name="SELECTED_TEARLINE_COLOR" value="4f5b66" />
<option name="SELECTION_BACKGROUND" value="65737e" />
<option name="SELECTION_FOREGROUND" value="eff1f5" />
<option name="TEARLINE_COLOR" value="4f5b66" />
<option name="WHITESPACES" value="c0c5ce" />
</colors>
<attributes>
<option name="ABSTRACT_CLASS_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="ANNOTATION_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="ANONYMOUS_CLASS_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="BAD_CHARACTER">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="BREAKPOINT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="ab7967" />
</value>
</option>
<option name="CLASS_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="CONSOLE_ERROR_OUTPUT">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="CONSOLE_NORMAL_OUTPUT">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="CONSOLE_SYSTEM_OUTPUT">
<value>
<option name="FOREGROUND" value="2b303b" />
</value>
</option>
<option name="CONSOLE_USER_INPUT">
<value>
<option name="FOREGROUND" value="2b303b" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="CONSOLE_YELLOW_OUTPUT">
<value>
<option name="FOREGROUND" value="cdcd00" />
</value>
</option>
<option name="CTRL_CLICKABLE">
<value>
<option name="EFFECT_COLOR" value="343d46" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="CUSTOM_INVALID_STRING_ESCAPE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="bf616a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="CUSTOM_KEYWORD1_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="CUSTOM_NUMBER_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="96b5b4" />
</value>
</option>
<option name="CUSTOM_VALID_STRING_ESCAPE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="bf616a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_ATTRIBUTE">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="DEFAULT_BLOCK_COMMENT">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="DEFAULT_BRACES">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_BRACKETS">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_CLASS_NAME">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_CLASS_REFERENCE">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_COMMA">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_CONSTANT">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT_TAG">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT_TAG_VALUE">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="DEFAULT_DOC_MARKUP">
<value>
<option name="FOREGROUND" value="4f5b66" />
</value>
</option>
<option name="DEFAULT_DOT">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_ENTITY">
<value>
<option name="FOREGROUND" value="ab7967" />
</value>
</option>
<option name="DEFAULT_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="DEFAULT_FUNCTION_DECLARATION">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_GLOBAL_VARIABLE">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="DEFAULT_IDENTIFIER">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="DEFAULT_INSTANCE_FIELD">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="DEFAULT_INSTANCE_METHOD">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_INTERFACE_NAME">
<value>
<option name="FOREGROUND" value="ebcb8b" />
</value>
</option>
<option name="DEFAULT_INVALID_STRING_ESCAPE">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_KEYWORD">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_LABEL">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_LINE_COMMENT">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="DEFAULT_LOCAL_VARIABLE">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="DEFAULT_METADATA">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_NUMBER">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="DEFAULT_OPERATION_SIGN">
<value>
<option name="FOREGROUND" value="4f5b66" />
</value>
</option>
<option name="DEFAULT_PARAMETER">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_PARENTHS">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_PREDEFINED_SYMBOL">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_SEMICOLON">
<value>
<option name="FOREGROUND" value="343d46" />
</value>
</option>
<option name="DEFAULT_STATIC_FIELD">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="DEFAULT_STATIC_METHOD">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_STRING">
<value>
<option name="FOREGROUND" value="a3be8c" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_TAG">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="DEFAULT_TEMPLATE_LANGUAGE_COLOR">
<value>
<option name="FOREGROUND" value="2b303b" />
<option name="BACKGROUND" value="eff1f5" />
</value>
</option>
<option name="DEFAULT_VALID_STRING_ESCAPE">
<value>
<option name="FOREGROUND" value="bf616a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DELETED_TEXT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="65737e" />
<option name="BACKGROUND" value="343d46" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="DEPRECATED_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="bf616a" />
<option name="EFFECT_TYPE" value="3" />
</value>
</option>
<option name="DIFF_CONFLICT">
<value>
<option name="BACKGROUND" value="bf616a" />
<option name="ERROR_STRIPE_COLOR" value="ffc8bd" />
</value>
</option>
<option name="DIFF_DELETED">
<value>
<option name="BACKGROUND" value="b48ead" />
<option name="ERROR_STRIPE_COLOR" value="cbcbcb" />
</value>
</option>
<option name="DIFF_INSERTED">
<value>
<option name="BACKGROUND" value="a3be8c" />
<option name="ERROR_STRIPE_COLOR" value="baeeba" />
</value>
</option>
<option name="DIFF_MODIFIED">
<value>
<option name="BACKGROUND" value="96b5b4" />
<option name="ERROR_STRIPE_COLOR" value="bccff9" />
</value>
</option>
<option name="DOC_COMMENT_TAG_VALUE">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DUPLICATE_FROM_SERVER">
<value />
</option>
<option name="ERRORS_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="bf616a" />
<option name="ERROR_STRIPE_COLOR" value="bf616a" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="EXECUTIONPOINT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ffffff" />
<option name="BACKGROUND" value="ff" />
</value>
</option>
<option name="FOLDED_TEXT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="343d46" />
<option name="BACKGROUND" value="a7adba" />
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="FOLLOWED_HYPERLINK_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="BACKGROUND" value="dfe1e8" />
<option name="EFFECT_COLOR" value="b48ead" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="GENERIC_SERVER_ERROR_OR_WARNING">
<value>
<option name="EFFECT_COLOR" value="d08770" />
<option name="ERROR_STRIPE_COLOR" value="d08770" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="GHERKIN_COMMENT">
<value>
<option name="FOREGROUND" value="a7adba" />
</value>
</option>
<option name="GHERKIN_OUTLINE_PARAMETER_SUBSTITUTION">
<value>
<option name="FOREGROUND" value="c0c5ce" />
</value>
</option>
<option name="GHERKIN_PYSTRING">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="GHERKIN_TABLE_HEADER_CELL">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="GROOVY_KEYWORD">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="HYPERLINK_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="EFFECT_COLOR" value="8fa1b3" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="IDENTIFIER_UNDER_CARET_ATTRIBUTES">
<value>
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_COLOR" value="a7adba" />
<option name="ERROR_STRIPE_COLOR" value="a7adba" />
</value>
</option>
<option name="IMPLICIT_ANONYMOUS_CLASS_PARAMETER_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="INFO_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="cccccc" />
<option name="ERROR_STRIPE_COLOR" value="ffffcc" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="INJECTED_LANGUAGE_FRAGMENT">
<value>
<option name="FOREGROUND" value="96b5b4" />
</value>
</option>
<option name="INSTANCE_FIELD_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="Instance property reference ID">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="LOCAL_VARIABLE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="LOG_ERROR_OUTPUT">
<value>
<option name="FOREGROUND" value="bf616a" />
</value>
</option>
<option name="LOG_EXPIRED_ENTRY">
<value>
<option name="FOREGROUND" value="ab7967" />
</value>
</option>
<option name="LOG_WARNING_OUTPUT">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="List/map to object conversion">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="MATCHED_BRACE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="2b303b" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="METHOD_CALL_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="METHOD_DECLARATION_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="Map key">
<value>
<option name="FOREGROUND" value="a3be8c" />
</value>
</option>
<option name="NOT_USED_ELEMENT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="65737e" />
</value>
</option>
<option name="PY.SELF_PARAMETER">
<value>
<option name="FOREGROUND" value="b48ead" />
</value>
</option>
<option name="SASS_MIXIN">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="SASS_VARIABLE">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="dfe1e8" />
</value>
</option>
<option name="STATIC_FIELD_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
</value>
</option>
<option name="STATIC_FINAL_FIELD_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8fa1b3" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="STATIC_METHOD_ATTRIBUTES">
<value />
</option>
<option name="Scala Template lazy val/var">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="Scala Template val">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="Scala Template var">
<value>
<option name="FOREGROUND" value="d08770" />
</value>
</option>
<option name="Static property reference ID">
<value>
<option name="FOREGROUND" value="660e7a" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="TEMPLATE_VARIABLE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="7f0000" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="TEXT">
<value>
<option name="FOREGROUND" value="2b303b" />
<option name="BACKGROUND" value="eff1f5" />
</value>
</option>
<option name="TEXT_SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="ERROR_STRIPE_COLOR" value="dfe1e8" />
</value>
</option>
<option name="TODO_DEFAULT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b48ead" />
<option name="FONT_TYPE" value="1" />
<option name="ERROR_STRIPE_COLOR" value="b48ead" />
</value>
</option>
<option name="TYPO">
<value>
<option name="EFFECT_COLOR" value="8000" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="UNMATCHED_BRACE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="bf616a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="Unresolved reference access">
<value>
<option name="FOREGROUND" value="c0c5ce" />
<option name="EFFECT_COLOR" value="bf616a" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="WARNING_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ab7967" />
<option name="ERROR_STRIPE_COLOR" value="ebc700" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="WRITE_IDENTIFIER_UNDER_CARET_ATTRIBUTES">
<value>
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_COLOR" value="4f5b66" />
<option name="ERROR_STRIPE_COLOR" value="4f5b66" />
</value>
</option>
<option name="WRITE_SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="dfe1e8" />
</value>
</option>
</attributes>
</scheme>

651
webstorm/colors/base16-tomorrow.light.icls

@ -0,0 +1,651 @@
<scheme name="Base16-Tomorrow-Light" version="142" parent_scheme="Default">
<option name="LINE_SPACING" value="1.3" />
<option name="EDITOR_FONT_SIZE" value="15" />
<option name="CONSOLE_FONT_NAME" value="Menlo" />
<option name="CONSOLE_FONT_SIZE" value="12" />
<option name="CONSOLE_LINE_SPACING" value="1.0" />
<option name="EDITOR_FONT_NAME" value="Source Code Pro" />
<colors>
<option name="ADDED_LINES_COLOR" value="b5bd68" />
<option name="ANNOTATIONS_COLOR" value="373b41" />
<option name="CARET_COLOR" value="282a2e" />
<option name="CARET_ROW_COLOR" value="e0e0e0" />
<option name="FILESTATUS_ADDED" value="282a2e" />
<option name="FILESTATUS_IDEA_FILESTATUS_IGNORED" value="282a2e" />
<option name="FILESTATUS_MODIFIED" value="282a2e" />
<option name="FILESTATUS_UNKNOWN" value="282a2e" />
<option name="GUTTER_BACKGROUND" value="e0e0e0" />
<option name="INDENT_GUIDE" value="b4b7b4" />
<option name="LINE_NUMBERS_COLOR" value="1d1f21" />
<option name="METHOD_SEPARATORS_COLOR" value="c5c8c6" />
<option name="MODIFIED_LINES_COLOR" value="b5bd68" />
<option name="NOTIFICATION_BACKGROUND" value="282a2e" />
<option name="READONLY_FRAGMENT_BACKGROUND" value="1d1f21" />
<option name="RECURSIVE_CALL_ATTRIBUTES" value="c5c8c6" />
<option name="RIGHT_MARGIN_COLOR" value="282a2e" />
<option name="SELECTED_TEARLINE_COLOR" value="373b41" />
<option name="SELECTION_BACKGROUND" value="969896" />
<option name="TEARLINE_COLOR" value="373b41" />
<option name="WHITESPACES" value="c5c8c6" />
</colors>
<attributes>
<option name="ABSTRACT_CLASS_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="a3685a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="ANNOTATION_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="81a2be" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="ANONYMOUS_CLASS_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="a3685a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="BAD_CHARACTER">
<value>
<option name="FOREGROUND" value="cc6666" />
</value>
</option>
<option name="BREAKPOINT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="a3685a" />
</value>
</option>
<option name="CLASS_NAME_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="a3685a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="CONSOLE_ERROR_OUTPUT">
<value>
<option name="FOREGROUND" value="cc6666" />
</value>
</option>
<option name="CONSOLE_NORMAL_OUTPUT">
<value>
<option name="FOREGROUND" value="969896" />
</value>
</option>
<option name="CONSOLE_SYSTEM_OUTPUT">
<value>
<option name="FOREGROUND" value="1d1f21" />
</value>
</option>
<option name="CONSOLE_USER_INPUT">
<value>
<option name="FOREGROUND" value="1d1f21" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="CONSOLE_YELLOW_OUTPUT">
<value>
<option name="FOREGROUND" value="cdcd00" />
</value>
</option>
<option name="CTRL_CLICKABLE">
<value>
<option name="EFFECT_COLOR" value="282a2e" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="CUSTOM_INVALID_STRING_ESCAPE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="cc6666" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="CUSTOM_KEYWORD1_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b294bb" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="CUSTOM_NUMBER_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="8abeb7" />
</value>
</option>
<option name="CUSTOM_VALID_STRING_ESCAPE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="cc6666" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_ATTRIBUTE">
<value>
<option name="FOREGROUND" value="cc6666" />
</value>
</option>
<option name="DEFAULT_BLOCK_COMMENT">
<value>
<option name="FOREGROUND" value="969896" />
</value>
</option>
<option name="DEFAULT_BRACES">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_BRACKETS">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_CLASS_NAME">
<value>
<option name="FOREGROUND" value="a3685a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_CLASS_REFERENCE">
<value>
<option name="FOREGROUND" value="a3685a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_COMMA">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_CONSTANT">
<value>
<option name="FOREGROUND" value="de935f" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT">
<value>
<option name="FOREGROUND" value="969896" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT_TAG">
<value>
<option name="FOREGROUND" value="969896" />
</value>
</option>
<option name="DEFAULT_DOC_COMMENT_TAG_VALUE">
<value>
<option name="FOREGROUND" value="969896" />
</value>
</option>
<option name="DEFAULT_DOC_MARKUP">
<value>
<option name="FOREGROUND" value="373b41" />
</value>
</option>
<option name="DEFAULT_DOT">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_ENTITY">
<value>
<option name="FOREGROUND" value="a3685a" />
</value>
</option>
<option name="DEFAULT_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="81a2be" />
</value>
</option>
<option name="DEFAULT_FUNCTION_DECLARATION">
<value>
<option name="FOREGROUND" value="81a2be" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_GLOBAL_VARIABLE">
<value>
<option name="FOREGROUND" value="cc6666" />
</value>
</option>
<option name="DEFAULT_IDENTIFIER">
<value>
<option name="FOREGROUND" value="cc6666" />
</value>
</option>
<option name="DEFAULT_INSTANCE_FIELD">
<value>
<option name="FOREGROUND" value="81a2be" />
</value>
</option>
<option name="DEFAULT_INSTANCE_METHOD">
<value>
<option name="FOREGROUND" value="81a2be" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_INTERFACE_NAME">
<value>
<option name="FOREGROUND" value="f0c674" />
</value>
</option>
<option name="DEFAULT_INVALID_STRING_ESCAPE">
<value>
<option name="FOREGROUND" value="a3685a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_KEYWORD">
<value>
<option name="FOREGROUND" value="b294bb" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_LABEL">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_LINE_COMMENT">
<value>
<option name="FOREGROUND" value="969896" />
</value>
</option>
<option name="DEFAULT_LOCAL_VARIABLE">
<value>
<option name="FOREGROUND" value="cc6666" />
</value>
</option>
<option name="DEFAULT_METADATA">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_NUMBER">
<value>
<option name="FOREGROUND" value="de935f" />
</value>
</option>
<option name="DEFAULT_OPERATION_SIGN">
<value>
<option name="FOREGROUND" value="373b41" />
</value>
</option>
<option name="DEFAULT_PARAMETER">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_PARENTHS">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_PREDEFINED_SYMBOL">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_SEMICOLON">
<value>
<option name="FOREGROUND" value="282a2e" />
</value>
</option>
<option name="DEFAULT_STATIC_FIELD">
<value>
<option name="FOREGROUND" value="81a2be" />
</value>
</option>
<option name="DEFAULT_STATIC_METHOD">
<value>
<option name="FOREGROUND" value="81a2be" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_STRING">
<value>
<option name="FOREGROUND" value="b5bd68" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DEFAULT_TAG">
<value>
<option name="FOREGROUND" value="cc6666" />
</value>
</option>
<option name="DEFAULT_TEMPLATE_LANGUAGE_COLOR">
<value>
<option name="FOREGROUND" value="1d1f21" />
<option name="BACKGROUND" value="ffffff" />
</value>
</option>
<option name="DEFAULT_VALID_STRING_ESCAPE">
<value>
<option name="FOREGROUND" value="cc6666" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DELETED_TEXT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="969896" />
<option name="BACKGROUND" value="282a2e" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="DEPRECATED_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="cc6666" />
<option name="EFFECT_TYPE" value="3" />
</value>
</option>
<option name="DIFF_CONFLICT">
<value>
<option name="BACKGROUND" value="cc6666" />
<option name="ERROR_STRIPE_COLOR" value="ffc8bd" />
</value>
</option>
<option name="DIFF_DELETED">
<value>
<option name="BACKGROUND" value="b294bb" />
<option name="ERROR_STRIPE_COLOR" value="cbcbcb" />
</value>
</option>
<option name="DIFF_INSERTED">
<value>
<option name="BACKGROUND" value="b5bd68" />
<option name="ERROR_STRIPE_COLOR" value="baeeba" />
</value>
</option>
<option name="DIFF_MODIFIED">
<value>
<option name="BACKGROUND" value="8abeb7" />
<option name="ERROR_STRIPE_COLOR" value="bccff9" />
</value>
</option>
<option name="DOC_COMMENT_TAG_VALUE">
<value>
<option name="FOREGROUND" value="c5c8c6" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="DUPLICATE_FROM_SERVER">
<value />
</option>
<option name="ERRORS_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="cc6666" />
<option name="ERROR_STRIPE_COLOR" value="cc6666" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="EXECUTIONPOINT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="ffffff" />
<option name="BACKGROUND" value="ff" />
</value>
</option>
<option name="FOLDED_TEXT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="282a2e" />
<option name="BACKGROUND" value="b4b7b4" />
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="FOLLOWED_HYPERLINK_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b294bb" />
<option name="BACKGROUND" value="e0e0e0" />
<option name="EFFECT_COLOR" value="b294bb" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="GENERIC_SERVER_ERROR_OR_WARNING">
<value>
<option name="EFFECT_COLOR" value="de935f" />
<option name="ERROR_STRIPE_COLOR" value="de935f" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="GHERKIN_COMMENT">
<value>
<option name="FOREGROUND" value="b4b7b4" />
</value>
</option>
<option name="GHERKIN_OUTLINE_PARAMETER_SUBSTITUTION">
<value>
<option name="FOREGROUND" value="c5c8c6" />
</value>
</option>
<option name="GHERKIN_PYSTRING">
<value>
<option name="FOREGROUND" value="c5c8c6" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="GHERKIN_TABLE_HEADER_CELL">
<value>
<option name="FOREGROUND" value="969896" />
</value>
</option>
<option name="GROOVY_KEYWORD">
<value>
<option name="FOREGROUND" value="b294bb" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="HYPERLINK_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="81a2be" />
<option name="EFFECT_COLOR" value="81a2be" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="IDENTIFIER_UNDER_CARET_ATTRIBUTES">
<value>
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_COLOR" value="b4b7b4" />
<option name="ERROR_STRIPE_COLOR" value="b4b7b4" />
</value>
</option>
<option name="IMPLICIT_ANONYMOUS_CLASS_PARAMETER_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b294bb" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="INFO_ATTRIBUTES">
<value>
<option name="EFFECT_COLOR" value="cccccc" />
<option name="ERROR_STRIPE_COLOR" value="ffffcc" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="INJECTED_LANGUAGE_FRAGMENT">
<value>
<option name="FOREGROUND" value="8abeb7" />
</value>
</option>
<option name="INSTANCE_FIELD_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="81a2be" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="Instance property reference ID">
<value>
<option name="FOREGROUND" value="81a2be" />
</value>
</option>
<option name="LOCAL_VARIABLE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="cc6666" />
</value>
</option>
<option name="LOG_ERROR_OUTPUT">
<value>
<option name="FOREGROUND" value="cc6666" />
</value>
</option>
<option name="LOG_EXPIRED_ENTRY">
<value>
<option name="FOREGROUND" value="a3685a" />
</value>
</option>
<option name="LOG_WARNING_OUTPUT">
<value>
<option name="FOREGROUND" value="de935f" />
</value>
</option>
<option name="List/map to object conversion">
<value>
<option name="FOREGROUND" value="c5c8c6" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="MATCHED_BRACE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="1d1f21" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="METHOD_CALL_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="81a2be" />
</value>
</option>
<option name="METHOD_DECLARATION_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="81a2be" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="Map key">
<value>
<option name="FOREGROUND" value="b5bd68" />
</value>
</option>
<option name="NOT_USED_ELEMENT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="969896" />
</value>
</option>
<option name="PY.SELF_PARAMETER">
<value>
<option name="FOREGROUND" value="b294bb" />
</value>
</option>
<option name="SASS_MIXIN">
<value>
<option name="FOREGROUND" value="a3685a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="SASS_VARIABLE">
<value>
<option name="FOREGROUND" value="a3685a" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="e0e0e0" />
</value>
</option>
<option name="STATIC_FIELD_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="81a2be" />
</value>
</option>
<option name="STATIC_FINAL_FIELD_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="81a2be" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="STATIC_METHOD_ATTRIBUTES">
<value />
</option>
<option name="Scala Template lazy val/var">
<value>
<option name="FOREGROUND" value="de935f" />
</value>
</option>
<option name="Scala Template val">
<value>
<option name="FOREGROUND" value="de935f" />
</value>
</option>
<option name="Scala Template var">
<value>
<option name="FOREGROUND" value="de935f" />
</value>
</option>
<option name="Static property reference ID">
<value>
<option name="FOREGROUND" value="660e7a" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="TEMPLATE_VARIABLE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="7f0000" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="TEXT">
<value>
<option name="FOREGROUND" value="1d1f21" />
<option name="BACKGROUND" value="ffffff" />
</value>
</option>
<option name="TEXT_SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="ERROR_STRIPE_COLOR" value="e0e0e0" />
</value>
</option>
<option name="TODO_DEFAULT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="b294bb" />
<option name="FONT_TYPE" value="1" />
<option name="ERROR_STRIPE_COLOR" value="b294bb" />
</value>
</option>
<option name="TYPO">
<value>
<option name="EFFECT_COLOR" value="8000" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="UNMATCHED_BRACE_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="cc6666" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="Unresolved reference access">
<value>
<option name="FOREGROUND" value="c5c8c6" />
<option name="EFFECT_COLOR" value="cc6666" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="WARNING_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="a3685a" />
<option name="ERROR_STRIPE_COLOR" value="ebc700" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="WRITE_IDENTIFIER_UNDER_CARET_ATTRIBUTES">
<value>
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_COLOR" value="373b41" />
<option name="ERROR_STRIPE_COLOR" value="373b41" />
</value>
</option>
<option name="WRITE_SEARCH_RESULT_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="e0e0e0" />
</value>
</option>
</attributes>
</scheme>

1528
webstorm/colors/github.icls

File diff suppressed because it is too large

21
webstorm/colors/nick.icls

@ -0,0 +1,21 @@
<scheme name="Nick" version="142" parent_scheme="Default">
<option name="LINE_SPACING" value="1.4" />
<option name="EDITOR_FONT_SIZE" value="14" />
<option name="CONSOLE_FONT_NAME" value="Menlo" />
<option name="CONSOLE_FONT_SIZE" value="12" />
<option name="CONSOLE_LINE_SPACING" value="1.0" />
<option name="EDITOR_FONT_NAME" value="Hack" />
<attributes>
<option name="DEFAULT_FUNCTION_DECLARATION">
<value>
<option name="FOREGROUND" value="dd1144" />
</value>
</option>
<option name="DEFAULT_STRING">
<value>
<option name="FOREGROUND" value="dd1144" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
</attributes>
</scheme>

1528
webstorm/colors/snappy-light.icls

File diff suppressed because it is too large

132
zsh/themes/nick.zsh-theme

@ -0,0 +1,132 @@
# vim:ft=zsh ts=2 sw=2 sts=2
#
# Based on agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://gist.github.com/1595572).
#
# In addition, I recommend the
# [Solarized theme](https://github.com/altercation/solarized/) and, if you're
# using it on Mac OS X, [iTerm 2](http://www.iterm2.com/) over Terminal.app -
# it has significantly better color fidelity.
#
# # Goals
#
# The aim of this theme is to only show you *relevant* information. Like most
# prompts, it will only show git information when in a git working directory.
# However, it goes a step further: everything from the current user and
# hostname to whether the last call exited with an error to whether background
# jobs are running in this shell will all be displayed automatically when
# appropriate.
### Segment drawing
# A few utility functions to make it easy and re-usable to draw segmented prompts
CURRENT_BG='NONE'
SEGMENT_SEPARATOR='⮀'
ONLINE='%{%F{green}%}◉'
OFFLINE='%{%F{red}%}⦿'
# Begin a segment
# Takes two arguments, background and foreground. Both can be omitted,
# rendering default background/foreground.
prompt_segment() {
local bg fg
[[ -n $1 ]] && bg="%K{$1}" || bg="%k"
[[ -n $2 ]] && fg="%F{$2}" || fg="%f"
if [[ $CURRENT_BG != 'NONE' && $1 != $CURRENT_BG ]]; then
echo -n " %{$bg%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR%{$fg%} "
else
echo -n "%{$bg%}%{$fg%} "
fi
CURRENT_BG=$1
[[ -n $3 ]] && echo -n $3
}
# End the prompt, closing any open segments
prompt_end() {
if [[ -n $CURRENT_BG ]]; then
echo -n " %{%k%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR"
else
echo -n "%{%k%}"
fi
echo -n "%{%f%}"
CURRENT_BG=''
}
### Prompt components
# Each component will draw itself, and hide itself if no information needs to be shown
# Context: user@hostname (who am I and where am I)
prompt_context() {
local user=`whoami`
if [[ "$user" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
prompt_segment black default "%(!.%{%F{yellow}%}.)$user%m"
fi
}
# Git: branch/detached head, dirty status
prompt_git() {
local ref dirty
if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then
ZSH_THEME_GIT_PROMPT_DIRTY='±'
dirty=$(parse_git_dirty)
ref=$(git symbolic-ref HEAD 2> /dev/null) || ref="➦ $(git show-ref --head -s --abbrev |head -n1 2> /dev/null)"
if [[ -n $dirty ]]; then
prompt_segment yellow black
else
prompt_segment green black
fi
echo -n "${ref/refs\/heads\//⭠ }$dirty"
fi
}
function prompt_online() {
if [[ -f ~/.offline ]]; then
echo $OFFLINE
else
echo $ONLINE
fi
}
# Dir: current working directory
prompt_dir() {
prompt_segment blue black '%~'
}
# Status:
# - was there an error
# - am I root
# - are there background jobs?
prompt_status() {
local symbols
symbols=()
[[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}✘"
[[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡"
[[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%{%F{cyan}%}⚙"
[[ -n "$symbols" ]] && prompt_segment black default "$symbols"
}
function battery_charge {
echo `~/bin/batcharge.py`
}
## Main prompt
build_prompt() {
RETVAL=$?
prompt_status
prompt_git
prompt_dir
prompt_end
}
RPROMPT='$(prompt_online) $(battery_charge)'
PROMPT='%{%f%b%k%}$(build_prompt)
» '
Loading…
Cancel
Save