92 Followers
649 Following
691 Posts

#embedded #c programmer for 35 years, #linux for the last 32 of those. Currently working on #fixedwireless MU-MIMO systems. C programming and data analysis using Linux tools, mostly on the #commandline.

Just moved from fosstodon.org, same account name. Pleased to be on infosec.exchange :-)

Github account, home to my many incomplete projectsgithub.com/sjaturner/

I was looking for some font rendering code which I recall writing ages ago. It turns out that it was in an Android app which I wrote for recording archery scores (for my own use) https://github.com/sjaturner/candroid

The user interface is comically bad! This is why I'm forbidden from writing UI code in multiple jurisdictions.

Of interest perhaps, it was written entirely in C based on this excellent work https://github.com/cnlohr/rawdrawandroid

#photography Leaves with drops of water
Office cat. #cat #caturday #photo

https://github.com/sjaturner/cutex

I wrote a small Bash wrapper for cut.

I like cut and use it a lot. However, for lines with lots of fields I spend a while guessing and missing the field numbers which I actually want.

Typical workflow:

"Oh, that looks like field 12, doh! field 15, no ... 14 ..." and so on. Irritating and it sort of breaks the flow while building a pipeline.

The cut extension, cutex, allows you to place a solitary -f flag on the end of your command line. That will enumerate all the fields in a list running down the screen. Pick the fields and ranges you want, add those after the -f flag and carry on.

This also works for columns, with a -c at the end of the line - but I find I use that mode less.

Since the extension uses cut to generate the enumerated list, it should get that right. Also, the overhead should be small as it maps straight to cut when you supply the fields.

#unix #bash #scripting

#photography Beaded mat.
Treehouse. Definitely not haunted. #photography #monochrome #photo
Detail of woven coaster. I found a cheap clip-on mobile phone macro lens in a drawer and was surprised how well it worked. #photo
Orange stem. I found a cheap clip-on mobile phone macro lens in a drawer and was surprised how well it worked. #photography