Lately, I've been doing a lot of manual curation. But I like to use tools to assist me. Here is a way to periodically check up on favorite authors from the terminal. First, we need one of our previous `ruby` scripts: [How to List Accounts Sorted by Newest Blog Entry](https://steemit.com/radiator/@inertia/how-to-list-accounts-sorted-by-newest-blog-entry) Next, create a file named `favorites.txt` containing your favorites, for example: ``` envisionva arrowj stan raymonjohnstone georgedonnelly steemsmart marcstevens razvanelulmarin proctologic mughat picokernel fyrstikken fyrst-witness krnel sws8964 rwl4 ontofractal elyaque scarlet-rain contentjunkie sykochica xeroc papa-pepper poeticsnake dotvoluntarily bitcoinparadise voteinterestpool whatsup klye dantheman ftlian gomeravibz kurtbeil konti ``` Create a script named `favorites.sh` containing: ```bash #!/bin/bash ruby accounts_by_last_root_post.rb `cat favorites.txt` ``` This script will always list all favorites sorted by their latest root post. Now, all we need is a way to check the difference between subsequent execution so we only see the changes, call it `latest-favorites.sh`: ```bash #!/bin/bash ./favorites.sh > latest_favorites.txt.1 diff latest_favorites.txt.1 latest_favorites.txt | grep "< " | cut -f 2 -d "<" mv latest_favorites.txt.1 latest_favorites.txt ``` Remember to make them executable and make an empty file. Then run it: ```bash $ chmod +x favorites.sh $ chmod +x latest-favorites.sh $ echo > latest_favorites.txt $ ./latest-favorites.sh ``` The first time you run it, you'll see all of the posts from the default settings. ``` https://steemit.com/@klye, last root post: 2017-01-09 13:51:15 -0800 https://steemit.com/@xeroc, last root post: 2017-01-09 13:03:48 -0800 https://steemit.com/@papa-pepper, last root post: 2017-01-09 12:38:09 -0800 https://steemit.com/@elyaque, last root post: 2017-01-09 12:14:51 -0800 https://steemit.com/@ftlian, last root post: 2017-01-09 05:28:54 -0800 https://steemit.com/@krnel, last root post: 2017-01-08 17:00:06 -0800 https://steemit.com/@bitcoinparadise, last root post: 2017-01-09 02:31:21 -0800 https://steemit.com/@whatsup, last root post: 2017-01-08 22:41:33 -0800 https://steemit.com/@raymonjohnstone, last root post: 2017-01-08 22:11:09 -0800 https://steemit.com/@mughat, last root post: 2017-01-08 14:51:09 -0800 https://steemit.com/@fyrstikken, last root post: 2017-01-08 05:21:39 -0800 https://steemit.com/@razvanelulmarin, last root post: 2017-01-07 09:58:12 -0800 https://steemit.com/@voteinterestpool, last root post: 2017-01-06 23:38:18 -0800 https://steemit.com/@kurtbeil, last root post: 2017-01-06 15:18:00 -0800 https://steemit.com/@poeticsnake, last root post: 2017-01-06 14:02:15 -0800 https://steemit.com/@konti, last root post: 2017-01-06 03:32:12 -0800 https://steemit.com/@contentjunkie, last root post: 2017-01-05 19:35:30 -0800 https://steemit.com/@gomeravibz, last root post: 2017-01-04 18:05:09 -0800 https://steemit.com/@scarlet-rain, last root post: 2017-01-04 16:22:18 -0800 https://steemit.com/@ontofractal, last root post: 2017-01-04 09:44:42 -0800 https://steemit.com/@dantheman, last root post: 2017-01-01 17:03:24 -0800 ``` Then wait a few hours and the second time you run it, you'll only see new posts, for example: ``` https://steemit.com/@krnel, last root post: 2017-01-09 17:00:06 -0800 ```  See my previous Ruby How To posts in: [#radiator](https://steemit.com/created/radiator) [#ruby](https://steemit.com/created/ruby)
author | inertia |
---|---|
permlink | how-to-track-favorites-with-ruby |
category | radiator |
json_metadata | {"tags":["radiator","ruby","steem","howto"],"image":["http://www.steemimg.com/images/2016/08/24/1024px-Ruby_logo.svgdcc20.png"],"links":["https://steemit.com/radiator/@inertia/how-to-list-accounts-sorted-by-newest-blog-entry","https://steemit.com/created/radiator","https://steemit.com/created/ruby"],"app":"steemit/0.1","format":"markdown"} |
created | 2017-01-09 17:35:57 |
last_update | 2017-01-09 17:35:57 |
depth | 0 |
children | 2 |
last_payout | 2017-02-09 18:00:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.854 HBD |
curator_payout_value | 0.116 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,589 |
author_reputation | 346,568,901,399,561 |
root_title | "How to Track Favorites with Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 0 |
post_id | 2,204,517 |
net_rshares | 9,960,847,818,479 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
berniesanders | 0 | 2,044,634,271,169 | 10% | ||
nextgenwitness | 0 | 14,613,834,345 | 10% | ||
justin | 0 | 48,847,005,915 | 10% | ||
silver | 0 | 124,565,930,502 | 10% | ||
silversteem | 0 | 314,948,319,364 | 10% | ||
nextgencrypto | 0 | 633,662,300,048 | 10% | ||
boy | 0 | 5,085,518,076 | 100% | ||
bue-witness | 0 | 6,192,059,867 | 100% | ||
bunny | 0 | 1,003,167,878 | 100% | ||
bue | 0 | 97,386,996,218 | 100% | ||
steemservices | 0 | 35,914,124,249 | 10% | ||
mini | 0 | 2,721,553,825 | 100% | ||
moon | 0 | 346,229,485 | 100% | ||
pheonike | 0 | 8,338,487,989 | 12% | ||
proctologic | 0 | 43,418,321,153 | 50% | ||
healthcare | 0 | 1,018,584,587 | 100% | ||
daniel.pan | 0 | 1,607,979,374 | 100% | ||
proctologic2 | 0 | 670,534,858 | 50% | ||
helen.tan | 0 | 467,767,148 | 100% | ||
proctologic3 | 0 | 420,356,898 | 50% | ||
leesunmoo | 0 | 286,438,346,732 | 100% | ||
germanaure | 0 | 6,604,328,335 | 100% | ||
teamsteem | 0 | 288,201,790,543 | 100% | ||
cryptoctopus | 0 | 779,500,766,236 | 100% | ||
justtryme90 | 0 | 55,804,581,596 | 40% | ||
applecrisp | 0 | 990,591,820 | 20% | ||
juanmiguelsalas | 0 | 45,641,367,101 | 100% | ||
proglobyte | 0 | 2,052,982,169 | 50% | ||
grandpere | 0 | 40,137,933,709 | 80% | ||
razvanelulmarin | 0 | 93,198,353,865 | 100% | ||
michaellamden68 | 0 | 2,170,077,151 | 100% | ||
roelandp | 0 | 171,296,201,114 | 100% | ||
vi1son | 0 | 33,614,828,737 | 100% | ||
jesta | 0 | 1,823,584,118,152 | 100% | ||
speda | 0 | 264,709,469,638 | 100% | ||
inertia | 0 | 200,590,333,092 | 100% | ||
seb | 0 | 1,106,088,773 | 100% | ||
webdeals | 0 | 18,918,760,030 | 100% | ||
jamesbrown | 0 | 161,266,505,601 | 100% | ||
proglobyte-m1 | 0 | 2,051,967,066 | 30% | ||
craigslist | 0 | 690,817,057 | 100% | ||
tingaling | 0 | 1,715,406,293 | 25% | ||
transhuman | 0 | 1,694,542,277 | 44% | ||
achim86 | 0 | 19,211,329,330 | 100% | ||
kurtbeil | 0 | 44,995,782,334 | 50% | ||
zentat | 0 | 2,499,007,613 | 50% | ||
thewhitewolf | 0 | 2,681,242,731 | 100% | ||
ioc | 0 | 632,875,055,520 | 100% | ||
virtualgrowth | 0 | 8,131,916,223 | 30% | ||
lamech-m | 0 | 4,882,856,796 | 100% | ||
jsantana | 0 | 12,095,653,749 | 50% | ||
sethlinson | 0 | 4,006,900,352 | 20% | ||
hilarski | 0 | 36,340,976,981 | 20% | ||
steembriefing | 0 | 1,285,465,734 | 20% | ||
runridefly | 0 | 23,907,698,506 | 74% | ||
stephenkendal | 0 | 11,777,082,840 | 100% | ||
krnel | 0 | 552,676,865,062 | 100% | ||
thecyclist | 0 | 210,955,985,845 | 10% | ||
maarnio | 0 | 7,410,804,010 | 100% | ||
jsg | 0 | 49,054,534,945 | 100% | ||
pickoum | 0 | 5,729,468,670 | 20% | ||
thegame | 0 | 1,638,206,034 | 30% | ||
steembets | 0 | 1,490,988,446 | 30% | ||
dodders007 | 0 | 25,360,143,580 | 100% | ||
steemint | 0 | 1,761,003,000 | 25% | ||
michaelstobiersk | 0 | 33,466,951,307 | 100% | ||
thomasp | 0 | 152,693,116 | 100% | ||
tomino | 0 | 130,246,519,524 | 100% | ||
steem-meme | 0 | 1,901,584,494 | 20% | ||
sunscape | 0 | 8,492,598,099 | 20% | ||
meanpeoplesuck | 0 | 139,723,141 | 100% | ||
lovethepeople | 0 | 67,882,339 | 50% | ||
unipsycho | 0 | 7,900,176,661 | 20% | ||
vladtheimpaler | 0 | 2,039,889,684 | 100% | ||
steemland.com | 0 | 1,365,429,628 | 30% | ||
porco-bastardo | 0 | 65,962,544 | 50% | ||
catto000 | 0 | 9,877,969,367 | 100% | ||
crowdfundedwhale | 0 | 17,736,816,869 | 50% | ||
trans-juanmi | 0 | 3,157,164,519 | 60% | ||
nikflossus | 0 | 35,739,168,828 | 100% | ||
jfesrom | 0 | 1,447,927,465 | 33% | ||
doodleman | 0 | 12,621,730,430 | 100% | ||
steemprentice | 0 | 14,661,772,085 | 30% | ||
reisman | 0 | 2,878,843,837 | 100% | ||
illbeyourfriend | 0 | 4,478,828,634 | 10% | ||
engagement | 0 | 339,246,889,989 | 10% | ||
juliosalas | 0 | 764,912,084 | 60% | ||
krasotka | 0 | 1,206,292,222 | 100% | ||
tamersameeh | 0 | 289,110,899 | 100% | ||
kouhei-gahaku | 0 | 1,921,165,157 | 100% | ||
information-inc | 0 | 367,347,221 | 100% |
This is good like ***right*** now, when there are no notification working LOL. Handy for the CLI nerd indeed. Thanks.
author | krnel |
---|---|
permlink | re-inertia-how-to-track-favorites-with-ruby-20170109t182111495z |
category | radiator |
json_metadata | {"tags":["radiator"]} |
created | 2017-01-09 18:21:09 |
last_update | 2017-01-09 18:21:09 |
depth | 1 |
children | 1 |
last_payout | 2017-02-09 18:00:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 117 |
author_reputation | 1,343,547,270,297,082 |
root_title | "How to Track Favorites with Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 2,204,882 |
net_rshares | 197,625,090,600 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
inertia | 0 | 196,229,889,675 | 100% | ||
seb | 0 | 1,106,088,773 | 100% | ||
tamersameeh | 0 | 289,112,152 | 100% |
Yeah, I totally nerd out on the CLI. So much so, I use [`mosh`](http://mosh.mit.edu) to keep my terminal(s) open so I don't have to relog after my macbook wakes from sleep.
author | inertia |
---|---|
permlink | re-krnel-re-inertia-how-to-track-favorites-with-ruby-20170109t184308965z |
category | radiator |
json_metadata | {"tags":["radiator"],"links":["http://mosh.mit.edu"]} |
created | 2017-01-09 18:43:09 |
last_update | 2017-01-09 18:43:09 |
depth | 2 |
children | 0 |
last_payout | 2017-02-09 18:00:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 173 |
author_reputation | 346,568,901,399,561 |
root_title | "How to Track Favorites with Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 2,205,064 |
net_rshares | 0 |