Help answer threads with 0 replies.
Go Back > Blogs > peonuser
User Name


Uncategorized Entries with no category

dbase menus to bash.

Posted 11-20-2014 at 01:30 AM by peonuser
Updated 11-20-2014 at 01:35 AM by peonuser

Wondered if there could be a way to mimic the old dbase menus from Freddies Fish market in bash . This what I came up with:


* *
* Main *
* Eddie's fish market *
* main menu *
* main.prg *
* *...
Posted in Uncategorized
Views 192 Comments 0 peonuser is offline

Pictures to html

Posted 11-19-2014 at 06:21 AM by peonuser

Generate a web page three pics wide from a directory of pictures.

# daffinitions
ls *.png > picdatafile
#ls *.jpg >> picdatafile
#ls *.JPG >> picdatafile
m="not done"
d=" "

#read the file
while read line
do fdata[$a]=$line
let a=a+1
done < $datafile...
Posted in Uncategorized
Views 179 Comments 0 peonuser is offline

File listing to html

Posted 11-01-2014 at 01:55 PM by peonuser
Updated 11-20-2014 at 09:55 AM by peonuser

Downlloaded some pdf files, but wanted to access them from the local server. Did not want to edit several hundred lines into an html file so I create a batch file. Then the job was done in seconds rather than hours. Learned a bit more about sed in the process.

# turn a pdf list into a usable http file for a web server.
ls *.pdf > pdflist
cut -d "." -f1 pdflist > descripts
sed -i -e 's/^/<a href=\"/' pdflist
sed -i 's/$/\"\>/'...
Posted in Uncategorized
Views 250 Comments 0 peonuser is offline

Long time no talk.

Posted 10-26-2014 at 01:10 AM by peonuser

Have not made an entry in a long time. Accidently killed my pogoplug and my beaglebone black. I will probably find a fix eventually for the both of them. Still have my arch PII box, but I need to update it.

Think I have made a zillon ota foil based tv antennas. The foil antennas do not get all the channels, you almst have to have a good metal antenna to complement a foil antenna.
Posted in Uncategorized
Views 213 Comments 0 peonuser is offline

ut oh

Posted 04-24-2014 at 08:33 AM by peonuser

Tried to redo the arch linux for my pogoplug. for some reason the batch file to do the image creation foobarred the boot of the hd on my host system. Thank god I can at least still get at my data. Have a spare drive that I may just do a clean install. then I will move the data over.One of the few times in twenty some odd years linux has ever really screwed up. Using a different machine for the time being. will not run that script on it.

Looking in the closet and can not believe how...
Posted in Uncategorized
Views 362 Comments 0 peonuser is offline


All times are GMT -5. The time now is 09:15 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