How to read ABC news items with the command line.
How to extract a listing of all titles from an RSS Feed in XML.
How to extract a listing of all titles from an RSS Feed in XML.
Opening and reading chm files on Linux is very easy, they are compressed archives and can be opened with 7zip. This is how to extract a chm file on Linux with 7zip. Then open the index.html file in Firefox to view the contents easily. jason@jason-desktop:~/Documents/kabylakeplatform_3_7_9/KabylakePlatSamplePkg/Docs$ 7z x PlatApi.chm 7-Zip [64] 16.02 : Copyright (c) 1999-2016 … Read more
By default, Macintosh OSX does not read the .bashrc file when you login to the operating system. But it does read the .bash_profile script if it does exist. Therefore, create the .bash_profile in your home directory and put this in it. if [ -s ~/.bashrc ]; then source ~/.bashrc; fiif [ -s ~/.bashrc ]; then … Read more
VIM is a very useful and versatile editor for Linux. This is how to use it to its full potential. Some great VIM tricks to help for a Linux user or programmer. To read the output of a command into a text file, use the :r command in the command mode, and then a Linux … Read more
To read the system time from a Digital TV transmission, the tuner card installed in your machine must firstly be tuned to a channel. Then execute this command in a terminal. localhost% dvbdate Mon Apr 17 01:15:33 2017localhost% dvbdate Mon Apr 17 01:15:33 2017 This will read the time from the digital TV transmission and … Read more
How to read a file and display the contents with Python. This sample code reads and outputs the contents of a file using Python. This is a very simple code sample for reading in a file and displaying it. #!/usr/bin/env python forme = "f.txt"; # Read a file and print the contents to … Read more