- dockerlint https://www.npmjs.com/package/dockerlint
- eslint https://www.npmjs.com/package/eslint
- grunt-cli https://www.npmjs.com/package/grunt-cli
- gulp-cli https://www.npmjs.com/package/gulp-cli
- nodemon https://nodemon.io/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/sh | |
| res=0 | |
| IFS=" | |
| " | |
| for f in `find . ! -type d`; | |
| do | |
| let " res += `wc -l $f | awk '{print $1}'` " | |
| done | |
| echo $res |
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
| # Default server configuration | |
| # | |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name domain.net www.domain.net; | |
| access_log /var/log/nginx/domain-http.log; | |
| error_log /var/log/nginx/domain-error-http.log; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
| } | |
| export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ " | |
| export JAVA_HOME=$(/usr/libexec/java_home) | |
| #export PATH="/usr/local/sbin:$PATH" |
touch ~/.gitignore
git config --global core.excludesfile ~/.gitignore
# Created by https://www.gitignore.io/api/osx
### OSX ###
*.DS_Store
.AppleDouble
.LSOverride
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 N = 1000000; | |
| const STR = 'abcdefghijkl'; | |
| function simpleConcat() { | |
| let str = ''; | |
| for (let i = 0; i < N; i++) { | |
| str += STR; | |
| } | |
| return str; | |
| } |