Quick tip: leverage strings command to make hybrid files more readable
December 29, 2023
I came across a nifty linux command (strings
) recently and wanted to boost the volume. It's super helpful for filtering out non-human-readable (binary) content from from a file.
For example, I reviewing a Vim swap file containing php content and the output looked like:
(don't worry - this isn't actual data. . . .
Why does curl think my downloaded data is binary?
Because it is.
August 02, 2023
While working on a project recently, I came across an odd warning upon running curl
:
foouser@foo:~$ curl "https://api.foo.example/blah"
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: . . .