One program I am beginning to like is jNetMap. Originally I think it was just a java only version. Now it is at least for Debian a packaged version. Great way to see what is on your network especially for newbies like me.. How to set it up.

The map

Going to take an nte931 (7805?) if I can find one to use is as part of a dc-dc ps for my Chumby (Infocast Insignia). Then the Chumby will be truly portable.

—–

The avi files on my camera are way to large. might use the following to squish them down into ogv format. Did this once before and it took an over 200 meg file and compressed it to under 6 megs. But then again I have seen it go from 244 megs to around 60 or so megs. Just depends on the specs you used.

Step 1, convert AVI to MPEG file :
Open a terminal and type this command line :

ffmpeg -i theoriginalfile.avi -b 100000k -ab 128k -ar 44100 thenewfile.mpeg

Step 2, now convert the MPEG file to an OGV file :
Open a terminal and type this command line :

ffmpeg2theora thenewfile.mpeg

——

Starting to play with recordmydesktop, so I might have some screencasts here soon.

—-

I was going to do redboot router upgrade for the blog, but it went bad. I think the router might be ok. Have to make a jtag cable to attempt to rescue it. Definitely will write about that.

We are now at 101 Instructables. Instructables top 6 and bottom 5 viewed instructables:

When you get a chance go by an check out www.instructables.com/member.computothought. There is everything from doing making dinner to upgrading a router.

Just a quick piece of code I wrote to start learning php. Had to do something better than “Hello, World” My odata file is quite a bit larger, but I just put the small version for sake of space. This program is beginner level, but it worked for me. (Requires PHP).

oracle.html:

<html>
<body>
<center><h1>The Oracle</h1>
<hr>
<form method="post" action="oracle.php">
  Enter your question of the future to the oracle:
  <br>
  <br>
  <input type="text" name="message" />
  <input type="submit" />
</form>
<br>
<br>
When you press submit, this page will disappear. Then after cogitating, the Oracle will give you the answer.
</center>
<hr>
</body>
</form>

oracle.php

<html>
<body>
<center><h1> The Oracle</h1></center>
<hr>
Your question was:
<br>
<center>
<?php echo $_POST["message"]; ?>
</center>
<br>
Your answer is:

<br>
<br>
<center>
<?PHP
$lines = file('odata');

// Loop through our array.

foreach ($lines as $line) {
}

//Report result
// if you use the original odata file from an earlier article
// then change rand(1,3) to rand(1,63)

 echo $lines[rand(1,3)] . "<br />";
?>
</center>
<hr>
</body>
<html>

odata

yes
no
maybe

Later.

Advertisements