Public Notes by chase_ats Tagged #homebrew_formulas
Notes publicly shared by our members.
It's a traditional open source unix cli tool! So, why does this site actually look, dare i say, sexy? "Blazing fast It's fast because it only searches the stuff it makes sense to search. Better search Searches entire trees by default while ignoring Subversion, Git and other VCS directories and other files that aren't your source code. Designed for code search Where grep is a general text search tool, ack is especially for the programmer searching source code. Common tasks take fewer keystrokes." #cli #grep #ack #perl #perl_5 #regex #*nix #alternatives #best_of #code #dev #homebrew_formulas #searching #utilities #pub
"jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text." #dev #@to_use #werk_dev #werk #json #cli #open_source #language:C #homebrew_formulas #pub
"Miller is like sed, awk, cut, join, and sort for name-indexed data such as CSV." "With Miller you get to use named fields without needing to count positional indices. For example: % mlr --csv cut -f hostname,uptime mydata.csv % mlr --csv --rs lf filter '$status != "down" && $upsec >= 10000' *.csv % mlr --nidx put '$sum = $7 + 2.1*$8' *.dat % grep -v '^#' /etc/group | mlr --ifs : --nidx --opprint label group,pass,gid,member then sort -f group % mlr join -j account_id -f accounts.dat then group-by account_name balances.dat % mlr put '$attr = sub($attr, "([0-9]+)_([0-9]+)_.*", "\1:\2")' data/* % mlr stats1 -a min,mean,max,p10,p50,p90 -f flag,u,v data/* % mlr stats2 -a linreg-pca -f u,v -g shape data/* This is something the Unix toolkit always could have done, and arguably always should have done. It operates on key-value-pair data while the familiar Unix tools operate on integer-indexed fields: if the natural data structure for the latter is the array, then Miller’s natural data structure is the insertion-ordered hash map. This encompasses a variety of data formats, including but not limited to the familiar CSV. (Miller can handle positionally-indexed data as a special case.)" #!TO_TAG_bit #homebrew_formulas #cli #dev #open_source #language:C #pub
" OWASP Dependency-Check Dependency-Check is a utility that identifies project dependencies and checks if there are any known, publicly disclosed, vulnerabilities. Currently Java, .NET, Ruby, Node.js, and Python projects are supported; additionally, limited support for C/C++ projects is available for projects using CMake or autoconf. This tool can be part of a solution to the OWASP Top 10 2013 A9 - Using Components with Known Vulnerabilities." #dev #ruby #multiple_languages #homebrew_formulas #pub