The University of Vermont

10/28/2009

serial interface fun

Wesley Wright (Grand High Wizard of Blogsalot) @ 2:39 pm
(filed under category Projects=> Scripts - Programming)

Perl module Device::SerialPort is our friend.
As is Clipboard, IO::All, Spiffy
Trying to talk to a Sartorius precision balance. Speaks over Serial/USB cable.
Dang, there was supposed to be more here to serve as documentation. Now, months later, I have forgotten it all…
Here is at least the shell of the code:

#!/usr/bin/perl
use Data::Dumper;
use DBI;
use Device::SerialPort;
use Time::HiRes qw(usleep);
use CGI;
$query=new CGI;
print [...]

comments ?


12/8/2008

Gnokii OS X, Part II

Wesley Wright (Grand High Wizard of Blogsalot) @ 2:45 pm

A long circuitous path, but in the end — sucess!
Started off with darwinports, but that only got us 0.6.8 (current as of this writing was 0.6.27).
Then tried Fink. That got us up to 0.6.13
dating
Tried that version agains a LG phone. It wrked, but the LG phonewasn’t a GSM phome, and thus didnt understand the [...]

comments ?


6/4/2008

MacMini Landscape Server, Part II

Wesley Wright (Grand High Wizard of Blogsalot) @ 10:16 pm

When last we left this project, most things were working except freetype/truetype text used in dynamic graphs and maps

comments ?


5/30/2008

Migrate Landscape Change Project to MacMini server

Wesley Wright (Grand High Wizard of Blogsalot) @ 2:57 pm

 On paper, this seems easy. Just move 70 GB of images and a dozen database tables to a brand new mac, and we’re done.
Well, not quite…
Step 1: prepare the mac out of the box
This was mostly straight-forward; however, I did a couple of things a little different hoping it would minimize problems down the road.
 
First, [...]

comments ?


8/2/2006

Script Help

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:18 pm
(filed under category Projects=> Scripts - Programming)

Script problems and solutions discussed with Sean Dempsey.

comments ?


8/1/2006

LDAP and Mediawiki

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:08 pm
(filed under category Projects=> Scripts - Programming)

Finished LDAP-mediawiki configuration, taught it how to authorize based on LDAP ou, added documentation o same to wiki project log

comments ?


Script Help

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:07 pm
(filed under category Projects=> Scripts - Programming)

Script consulting for Rob@CTL (perl and php issues)

comments ?


7/12/2006

Script help

Wesley Wright (Grand High Wizard of Blogsalot) @ 5:11 pm
(filed under category Projects=> Scripts - Programming)

client asked
Hey all… I need to run a shell script on Zoo via PHP, and was trying to use the PHP exec() function. The script will manipulate some images using ImageMagick. Everything works fine when calling the script from the command-line. I’m having trouble, however, running it via PHP The .sh file is owend [...]

comments ?


Script questions

Wesley Wright (Grand High Wizard of Blogsalot) @ 4:53 pm
(filed under category Projects=> Scripts - Programming)

Student asked about 
I need to find the "virtual directory value relative from the root" ofmy website.
Long reply:
‘"virtual directory value relative from the root" of my website. ‘ may have several interpretations, and may have different values and meanings depending upon the context and the server environment.
For example, you could use the PHP Magic Constant
    [...]

comments ?


7/10/2006

WikiWinkWu

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:06 pm
(filed under category Projects=> Scripts - Programming)

Colleauge had troubles amking wiki go. I found solutions (bad version of LocalSettings.php).

comments ?


6/16/2006

Mediawiki for kris

Wesley Wright (Grand High Wizard of Blogsalot) @ 4:23 pm
(filed under category Projects=> Scripts - Programming)

Solved mediawiki/php/systems problem for cmoran

comments ?


5/24/2006

Plasma Display Show

Wesley Wright (Grand High Wizard of Blogsalot) @ 9:05 pm
(filed under category Projects=> Scripts - Programming)

Worked on dynamically generated SMIL file to display rando student works on the big CMD 50" plasma display.

comments ?


4/24/2006

PHP and email addresses

Wesley Wright (Grand High Wizard of Blogsalot) @ 3:01 pm
(filed under category Projects=> Scripts - Programming)

Client asked
I am working with two grad students who have created 3 Perseus surveys, and they areready to go.  They would like to use php to restrict who can take each survey.  Thestudents are from both UVM and St. Mike’s.  They want to know if php could use emailaddresses instead of netid’s.  Thanks.

Short answer is [...]

comments ?


4/19/2006

Empact scripts and ECHO

Wesley Wright (Grand High Wizard of Blogsalot) @ 2:48 pm
(filed under category Projects=> Scripts - Programming)

updated these scripts to accept a simple start date and end date.
I have also added a script (and data, too!) for the Proctor Maple Research Center
Basic scripts:

Colchester Reef
Mansfield West
Diamond Island
Proctor maple

Referenced as-is, they return the last 24 data points for each station.
Optional parameters:
    n_points   :  return this many data points    date       :  return data for [...]

comments ?


4/13/2006

php problems at Ctr for Disability & Community

Wesley Wright (Grand High Wizard of Blogsalot) @ 1:36 pm
(filed under category Projects=> Scripts - Programming)

Helpline wrote
They have a quiz on their website (cdci\prlc\quiz) that was developed 6yrs. ago. He would like to change an auto msg. that follows the quiz. He goes to PHPquiz admin. when he hits save error msg. says denied.
The problem stems from who owns" the files in the ~cdci/prlc/quiz/ folder. Advised client and helpline

comments ?


Contact UVM © 2009 The University of Vermont - Burlington, VT 05405 - (802) 656-3131