This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Author: https://github.com/termosa | |
| * Source: https://gist.github.com/termosa/8403061 | |
| * Version: 2.0 | |
| */ | |
| var queue = function( chain, scope ) { | |
| return chain.length && chain.pop().call( scope||{}, queue( chain, scope )) || undefined; | |
| } | |
| /* Example: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Author: https://github.com/termosa | |
| * Source: https://gist.github.com/termosa/8594486 | |
| * Version: 1.0 | |
| */ | |
| var Storage = (function(){ | |
| var matchFirstLevelAndRest = function ( link ) | |
| { | |
| var matches = link.match( matchFirstLevelAndRest.splitRule ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Before using this configuration follow the instruction below | |
| " | |
| " Check the requirements for plugins: | |
| " * highlight (brew) required for preview FZF | |
| " * livedown (npm) required for vim-livedown | |
| " * standard (npm) required for syntastic check of javascript | |
| " * tslint (npm) required for syntastic check of typescript | |
| " * typescript (npm) required for Quramy/tsuquyomi | |
| " | |
| " Create folders for storing temporary files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # start window numering at 1 for easier switching | |
| set -g base-index 1 | |
| set-window-option -g pane-base-index 1 | |
| # Keep the custom window's name fixed | |
| set-option -g allow-rename off | |
| # Do not lock Vim with Esc | |
| set -s escape-time 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Path to your oh-my-zsh installation. | |
| export ZSH=$HOME/.oh-my-zsh | |
| # 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="termosa" | |
| # Uncomment the following line to use case-sensitive completion. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hg clone https://code.google.com/p/vim/ vim | |
| cd vim/src | |
| ./configure --prefix=/usr/local/ \ | |
| --enable-rubyinterp \ | |
| --enable-pythoninterp \ | |
| --with-features=huge | |
| make && make install | |
| export EDITOR="vim" | |
| alias vi="/usr/local/bin/vim" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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.19370138645172119</real> | |
| <key>Green Component</key> | |
| <real>0.15575926005840302</real> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [user] | |
| name = Stanislav Termosa | |
| email = [email protected] | |
| [core] | |
| editor = vi | |
| excludesfile = /Users/termosa/.gitignore | |
| [merge] | |
| tool = vimdiff | |
| [filter "lfs"] | |
| smudge = git-lfs smudge -- %f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const curry = function(len, fn, ...props) { | |
| if (typeof len === 'function') { | |
| if (typeof fn !== 'undefined') props.unshift(fn); | |
| fn = len; | |
| len = fn.length; | |
| } | |
| return (...args) => { | |
| args = props.concat(args); | |
| if (args.length >= len) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const curry = function(len, fn, ...props) { | |
| if (typeof len === 'function') { | |
| if (typeof fn !== 'undefined') props.unshift(fn); | |
| fn = len; | |
| len = fn.length; | |
| } | |
| const argsList = Array.from({ length: len-props.length }) | |
| .map((e,i) => 'a'+i).join(','); | |
| const stepBody = ` | |
| return function collect(${argsList}) { |
OlderNewer