The tail number is a prime number (in reference to Prime customers) and is also the year AMZN went public.
HN user
nburger
Here's a solution using just one instance of jq+awk that handles the "multiple files" scenario and writes proper headers on each:
jq -r '.[]|[.timestamp,.name,.creditcard]|@csv'<data.json|awk -F, '{if ($3!=""){f=substr($1,2,10)".csv";gsub(/-/,"",f);gsub(/"/,"",$0);c="(echo name,creditcard;cat -)>>"f;print $2","$3|c}}'
Strangely, the OP's "solution" actually omits the quotes around the strings, which adds unnecessary complexity.
If we're going for succinctness, you could combine these all together:
(echo '"Name","Credit Card"'; jq -r '.[] | select(.creditcard) | [.name, .creditcard] | @csv' data.json) >> `date +%Y%m%d`.csv
Have you taken a look at BookVibe? [ http://www.bookvibe.com/ ]
Congratulations on the launch! Also an Atlanta native and signed up!
Good stuff. Take a look at Fabric for another (and very commonly-used) example of Python wrapping SSH: http://docs.fabfile.org. Also you might look to Paramiko for a native SSH implementation: https://github.com/paramiko/paramiko.
or "sort -R"...
Good luck -- looks interesting. "Documentary" misspelled, fwiw.
Note that the $125 "gateway" fee is minor compared with the storage/transfer fees themselves - $0.14/GB/month for storage, for example. At that rate, a small 5 TB volume is already $700/month.
I stopped reading after glancing at the caption underneath the article's image:
"Wherever Senturion is housed it probably looks a lot like this, but more ominous and with blinkier lights."
That this statement is less than rigorous doesn't speak well for the remainder of the article.
The article seems to imply that you need a desktop app installed to extract fully-qualified URLs from the open application. I wonder why a better alternative wouldn't be to embed an encoded URL as part of the webpage itself, have the phone extract the URL from the image? Essentially a steganography-meets-QR code approach.
Python/Java/Flash - Atlanta, GA Turner Broadcasting System
We're looking for both entry-level and experienced developers to help in building out existing video frameworks (playback, transcoding, streaming, etc.) that support several large Internet properties. Contact info is in about.
Ahh.. you're right, of course. What I wrote has an undefined termination condition, besides not being consistent with the original algo. Thanks.
And you could save an additional character by changing the loop test to a+b form, i.e.:
int i,x[99];for(x[98]=i=1;x+98;)i*=!++x[i++];
The other array references are l-values.