Latest LQ Deal: Linux Power User Bundle
Go Back > Blogs > peonuser
User Name


Uncategorized Entries with no category

Still running slackware.

Posted 05-31-2015 at 03:25 AM by peonuser
Updated 06-03-2015 at 11:32 AM by peonuser

Just finished running the slackeware 14.1 update on my old Pentium 1 586. The wordpress update is taking a bit longer. Have tried to install all the old CL favorites like sc, but my favorite install is Freebasic. Have been able to port so much of my old software. Need to copy all my new batch files especially the page scrapers. Also installed is the web server for use as a doc server. When I did the install I did it with a pxeboot to a directory on the web server and the internet did the rest....
Posted in Uncategorized
Views 1315 Comments 3 peonuser is offline

Generic scrapes.

Posted 05-19-2015 at 01:38 PM by peonuser
Updated 05-19-2015 at 02:17 PM by peonuser

Look at astrology as an intellectual cartoon and an insight into human thinking. So I will peek at it once in a while. Also gave a chance to play with page scraping again.

$ ./ Virgo

Daily Horoscope for Tuesday 19th May 2015

Share :

Through friends of someone close, you could learn more about their
background. This extra information, particularly if it's related to how
they acquired their qualifications, and the...
Posted in Uncategorized
Views 670 Comments 0 peonuser is offline

Arduino music

Posted 05-15-2015 at 08:20 PM by peonuser

Arduino has a predefined sketch for out putting music to a speaker.

If you are familiar with sheet music, you can create a text file that has the noted and timing. But to use data on the Arduino takes a bit of manipulation/

So if you created a file with the following data:


You could use a bit of freebasic to extract the data to cut and paste into the sketch. Freebasic is free and is available for most platforms.
Posted in Uncategorized
Views 666 Comments 0 peonuser is offline

Days between dates.

Posted 04-11-2015 at 08:20 AM by peonuser

Thanx to an lq user, I was able to get this to work.

Just an experiment to determine the amount of days between two dates. In this case it is the days left in the current presidency.

D=`date +%Y-%m-%d`
D1=`date +%s -d "$D"`
D2=`date +%s -d "2017-01-20"`
echo - | awk -v SECS=$diff_sec '{printf "Number of days : %d",SECS/(60*60*24)}'
echo " till Obama leaves
Posted in Uncategorized
Views 645 Comments 0 peonuser is offline

Devil in the details.

Posted 03-29-2015 at 12:03 PM by peonuser

Was trying to get a list of systems up on the network. would not work at all. It was driving me nuts. So I went to another system and it worked.

$ cat
for i in {1..254}
ping 192.168.1.$i -c1 -w1 -v | grep "icmp_seq=1"

$ ./
64 bytes from icmp_seq=1 ttl=64 time=0.623 ms
64 bytes from icmp_seq=1 ttl=64 time=0.113 ms
64 bytes...
Posted in Uncategorized
Views 619 Comments 0 peonuser is offline


All times are GMT -5. The time now is 05:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration