From: (RFC4627) The application/json Media Type for JavaScript Object Notation (JSON)
Generally there are security issues with scripting languages. JSON is a subset of JavaScript, but it is a safe subset that excludes assignment and invocation.
tail -200 catalina.out | \ | |
ack-grep --flush --passthru --color --color-match=red "^.*ERROR.*" | \ | |
ack-grep --flush --passthru --color --color-match=green "^.*DEBUG.*" | \ | |
ack-grep --flush --passthru --color --color-match=blue "^.*INFO.*" | |
#################################################################### | |
# Colors available | |
# | |
# From Stackoverflow: http://stackoverflow.com/a/9626444 | |
# Thanks to Andy Lester: http://stackoverflow.com/users/8454/andy-lester |
# Im using this at ~/.bashrc | |
# | |
# You could also put it in a external file "~/.bash_webdev-dependencies" and import it to ".bashrc" with: | |
#. ~/.bash_webdev-dependencies | |
# | |
# I guess you could also make .sh and soft linkit to somewhere in the $PATH, but this seems simpler and cleaner | |
################ | |
##### npm ##### | |
alias npmlistshort='npm list --depth=0' |
From: (RFC4627) The application/json Media Type for JavaScript Object Notation (JSON)
Generally there are security issues with scripting languages. JSON is a subset of JavaScript, but it is a safe subset that excludes assignment and invocation.