3 ms·
while true; do clear; lynx -dump -nolist http://news.ycombinator.com/ http://news.ycombinator.com/; sleep 90; done
by there 18y ago
while true; do clear; lynx -dump -nolist http://news.ycombinator.com/ http://news.ycombinator.com/; sleep 90; done
- pkrumins 18y agoI have not written about it yet, but the hacker-top program contains a python module called 'pyhackerstories.py' which you can import 'get_stories' function from. Then you can do tricks like these: >>> from pyhackerstories import get_stories >>> stories = get_stories() >>> for story in stories: ... print "%2d. %s (%d)" % (story.position, story.title, story.score) ... 1. Hans Reiser leads police to body, believed to be his wife (23) 2. Follow Hacker News from the Console (18) 3. Scaling on EC2 - WebMynd's experiences (YC Winter '08) (57) 4. Google Protocol Buffers - Open Sourced (19) 5. Balsamiq - Software and Website Mockup App (47) ... Cheers :)
- fromage 18y agowatch -n 90 lynx -dump -nolist http://news.ycombinator.com/
- tlrobinson 18y agoSure, but you don't get the color :)