LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Thanksgiving yes!

Posted 11-25-2014 at 10:37 AM by peonuser

So happy happy, My pogoplug arch linux box seems to have had a miraculous fix. It came up and of course I am running pacman (package manager).
Member
Posted in Uncategorized
Views 51 Comments 0 peonuser is offline
Old

dbase menus to bash.

Posted 11-20-2014 at 02:30 AM by peonuser
Updated 11-20-2014 at 02: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:

Dbase:
mainmenu.prg

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

Pictures to html

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

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

#!/bin/bash
# daffinitions
ls *.png > picdatafile
#ls *.jpg >> picdatafile
#ls *.JPG >> picdatafile
datafile="picdatafile"
htmlfile="test.html"
a=1
m="not done"
d=" "

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

File listing to html

Posted 11-01-2014 at 02:55 PM by peonuser
Updated 11-20-2014 at 10: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/$/\"\>/'...
Member
Posted in Uncategorized
Views 112 Comments 0 peonuser is offline
Old

Long time no talk.

Posted 10-26-2014 at 02: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.
Member
Posted in Uncategorized
Views 112 Comments 0 peonuser is offline

  



All times are GMT -5. The time now is 07:34 AM.

Main Menu
Advertisement

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