This file contains 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
lodash: | |
lodash: | |
underscore: | |
lodash x 1,953,456 ops/sec ±6.70% (8 runs sampled) | |
lodash x 652,528,932 ops/sec ±0.45% (8 runs sampled) | |
lodash x 651,440,427 ops/sec ±1.26% (8 runs sampled) | |
lodash x 27,988,482 ops/sec ±31.89% (12 runs sampled) | |
lodash x 18,453,853 ops/sec ±4.08% (9 runs sampled) | |
lodash x 1,604,663 ops/sec ±11.14% (9 runs sampled) | |
underscore: |
This file contains 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
/** | |
* @description Generate indexes used to access an array. | |
* @param {number} len Length of the array | |
* @param {number} [bound=1] How much the boundaries needs to be extended by | |
* @param {number} [mult=1] How the resulting array of index needs to be multiplied by | |
* @returns {number[]} Array of indexes | |
* @example | |
* let arr = ['lorem', 'ipsum', 'dolore']; | |
* genIdxs(arr.length); //[-4, -3, -2, -1, 0, 1, 2, 3, 4] | |
* genIdxs(arr.length, 2); //[-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5] |
This file contains 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": "cz-adapter-eslint" } |
This file contains 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
#!/bin/bash | |
echo Removing packages... | |
rm -rf node_modules/ | |
rm -rf ~/.node-gyp/ | |
echo Re-installing... | |
npm i --no-optional | |
echo Deduplicating modules | |
npm dedupe |
This file contains 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
" URL: http://vim.wikia.com/wiki/Example_vimrc | |
" Authors: http://vim.wikia.com/wiki/Vim_on_Freenode | |
" Description: A minimal, but feature rich, example .vimrc. If you are a | |
" newbie, basing your first .vimrc on this file is a good choice. | |
" If you're a more advanced user, building your own .vimrc based | |
" on this file is still a good idea. | |
"------------------------------------------------------------ | |
" Features {{{1 | |
" |
This file contains 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
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && exit | |
setxkbmap -layout gb | |
[[ "$PS1" ]] && echo -e "\e[0;33m$(fortune)\e[0m" | |
[[ -f ~/.aliases ]] && source ~/.aliases | |
[[ -f ~/.bash_aliases ]] && source ~/.bash_aliases | |
[[ -f ~/.extend.bashrc ]] && source ~/.extend.bashrc | |
[[ -r /usr/share/bash-completion/bash_completion ]] && /usr/share/bash-completion/bash_completion |
This file contains 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
# Files/directories | |
alias ls="ls --color=always" #instead of auto | |
alias ll="ls -alF" | |
alias la="ls -A" | |
alias l="ls -CF" | |
alias sls="sudo ls" | |
alias sll="sudo ls -alF" | |
alias sla="sudo ls -A" | |
alias sl="sudo ls -CF" | |
alias grep="grep --color=always" |
This file contains 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
#!/bin/bash | |
#Source: https://coderwall.com/p/guqrca/remove-all-node_module-folders-recursively | |
find . -name "node_modules" -exec rm -rf '{}' + |
This file contains 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
[ | |
{ | |
"name": "Priority: Critical", | |
"color": "FF0000" | |
}, | |
{ | |
"name": "Priority: High", | |
"color": "FF8000" | |
}, | |
{ |
This file contains 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
# IDEs | |
- WebStorm | |
- PhpStorm | |
- PyCharm | |
- IntelliJ IDEA | |
- CLion | |
- DataGrip | |
# Text/Code editors | |
- Sublime Text 3+ |
NewerOlder