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
linters: | |
BorderZero: | |
enabled: true | |
CapitalizationInSelector: | |
enabled: false | |
ColorKeyword: | |
enabled: true |
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
"binary_file_patterns": | |
[ | |
"node_modules/*", | |
"bower_components/*", | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", | |
"*.ttf", | |
"*.tga", |
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
function copy (cursor) { | |
// Array | |
if (_.isArray(cursor)) { | |
return cursor.reduce((cursor_acc, cursor_value) => { | |
cursor_acc.push(copy(cursor_value)); | |
return cursor_acc; | |
}, []); | |
} | |
// Object |
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
{ | |
"env": { | |
"browser": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"ecmaFeatures": { | |
"experimentalObjectRestSpread": true | |
} | |
}, |
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
root = true | |
[*.scss] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
[*.json] |
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
// Detect canvas support | |
const DETECTOR = Object.freeze({ | |
CANVAS : (function () { | |
if (window.CanvasRenderingContext2D) { | |
return 'canvas'; | |
} | |
return false; | |
})(), | |
CLASSLIST : (function () { | |
return ('classList' in document.createElement('a')); |
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
ReadTags = yes | |
Sort = FileName | |
ShowStreamErrors = no | |
MP3IgnoreCRCErrors = yes | |
Repeat = no | |
Shuffle = no | |
AutoNext = yes |
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
set nocompatible | |
"""""""""""""""""""""""""""""""""""""""" | |
" VUNDLE | |
"""""""""""""""""""""""""""""""""""""""" | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() |
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
Show hidden characters
{ | |
"rulesDirectory": "node_modules/tslint-eslint-rules/dist/rules", | |
"rules" : { | |
"align" : ["parameters", "arguments", "statements"], | |
"array-bracket-spacing" : [true, "never"], | |
"arrow-parens" : true, | |
"brace-style" : true, | |
"comment-format": [true, "check-space", "check-uppercase"], | |
"curly" : true, | |
"cyclomatic-complexity": [true, 15], |
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
#!/bin/bash | |
rep=$(curl -s --unix-socket /var/run/docker.sock http://ping > /dev/null) | |
status=$? | |
if [ "$status" == "7" ]; then | |
echo 'not connected' | |
exit 1 | |
fi |
OlderNewer