tag:blogger.com,1999:blog-60327567345369292882024-02-19T23:44:41.796-08:00Potlatch TechnologyAnonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.comBlogger26125tag:blogger.com,1999:blog-6032756734536929288.post-53502930728797754312015-07-08T12:32:00.001-07:002015-07-08T12:40:02.079-07:00Split PDF Documents into unique named items on an element in the PDFIn schools you get a lot of reports that are provided in PDF format. Each page is usually unique to each student in the district.<br />
<br />
This year the student test results are provided in a PDF. One file with ELA scores, and one file with Math scores. To print the scores back to back we have to merge the two files with ELA and then Math for each student.<br />
<br />
This software will split the PDF into a unique PDF file for each student.<br />
<br />
<a href="http://www.a-pdf.com/content-splitter/index.htm">http://www.a-pdf.com/content-splitter/index.htm</a><br />
<br />
Then you merge that with the split Math PDF and you get one PDF with both ELA and Math.<br />
<br />
I found this while working through the splitting process. Lots of software can split a PDF document into unique pages, but I didn't find any at this price point that would split it and name it based on the content in the PDF.<br />
<br />
Let me know what you think in the comments.Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-21141837710173613542014-09-17T08:12:00.000-07:002014-09-17T08:12:27.422-07:00Remote Add Domain User to local Admin GroupI have a bunch of computers in classrooms and teachers like being able to install software on those computers...most of the time it is items that I would do myself if I had the time, but it is more convenient to have the staff do it for me since they want to use it. Anyway, I found these instructions that add a user to the local administrators group. I can run this remotely from my desk without having to get up and travel to the remote location.<br />
<br />
I followed <a href="http://community.spiceworks.com/how_to/show/2390-remotely-add-a-user-to-a-local-group-on-a-pc">these instructions</a> to do this, so I am not the one who figured this out, just want to make it easier for the next guy to find.<br />
<br />
1. Get a copy of PSTools from Microsoft.<br />
http://technet.microsoft.com/en-us/sysinternals/bb896649<br />
<br />
<br />
2. Open a command prompt and run psexec.<br />
<br />
psexec.exe \\<i>computername</i> cmd.exe<br />
<br />
<br />
3. Add the user.<br />
<br />
net localgroup administrators <i>domain\user</i> /add<br />
<br />
<br />
That is all there is to it. Have the user sign into the computer with their own credentials and they now have permissions to install on the computer.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-31368056653828280572014-08-12T09:20:00.003-07:002014-08-12T09:45:45.569-07:00Google Drive Sync as a Windows 2008 ServiceWe have a few Chromebooks being used by staff throughout the District. We also use Windows shares heavily for access to shared files.<br />
<br />
Access to Windows shares is not possible, but access to Google Drive shares is. And Google offers a product called Google Drive Sync that will put files from a computer in Google Drive and keep them synced.<br />
<br />
Now enter an awesome post: http://superuser.com/questions/463801/sync-google-drive-when-not-logged-in<br />
Specifically the post from Reece Dodds.<br />
<br />
That post is perfect, except for the registry information, but I missed the create subkey Parameters part, so I want to just make sure that everyone has an exact step by step guide.<br />
<br />
<ol>
<li>Log into the server with the account that you want to run the service as.</li>
<li>Disable Internet EIC through Server Manager -> Configure IE ESC under the Security Information section on the main page.</li>
<li>Setup Google Drive Sync. Configure google drive to <b><u>not run at startup</u></b> and exit the application.<br />https://tools.google.com/dlpage/drive</li>
<li>Download srvany.exe from Microsoft Windows 2003 Resource Kit. Copy srvany.exe into the folder where google drive is installed.<br />http://www.microsoft.com/en-us/download/details.aspx?id=17657</li>
<li>Open a windows cmd prompt (run as administrator) and type in the service and authentication details you want (in our case GoogleDriveSync) i.e. sc create GoogleDriveSync displayName= "Google Drive Service" start= auto obj= "administrator@potlatchschools.org" password= "<password>" binPath= "C:\Program Files (x86)\Google\Drive\srvany.exe"</li>
<li>Goto your Start Menu, type in regedit32 and goto the new service (in this case GoogleDriveSync) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GoogleDriveSync</li>
<li><b><u>Create subkey Parameters</u></b> below which you must create two string values:</li>
<ol>
<li>Create a String Value called <b>Application </b>then right click on this and add the path to googledrivesync.exe (e.g C:\Program Files (x86)\Google\Drive\googledrivesync.exe)</li>
<li>Create a String Value called <b>AppParameters </b>with the relevant parameters for googledrivesync.exe (e.g /autostart --noshow_confirmation_dialog_on_delete)</li>
</ol>
<li>From the command prompt run net start GoogleDriveSync or start the service via the services snap-in</li>
</ol>
<br />
You can then manage Google drive as a service. If you need to edit the settings within drive log in as the account that the service is running under, stop the service then start Google drive from the icon in the start menu. When you have completed the changes to the settings close the google drive desktop application and start the service back up again.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-4791934273220747052014-07-28T15:41:00.002-07:002014-07-28T15:41:49.956-07:00URBackup on FreeNASOk, so I decided to create a cheap backup server. Bought 4 - 3TB hard drives on Amazon. Installed in a workstation that I already had. Set it up in the server room.<br />
<br />
The FreeNAS install process is really simple so I won't go into detail about that. The URBackup install was somewhat easy as well, but I want to detail that here for anyone who wants to recreate.<br />
<br />
Install FreeNAS and reboot. Connect and set a root password.<br />
http://doc.freenas.org/index.php/Quick_Start_Guide<br />
<br />
I followed the instructions in this manual which is perfect. I didn't have to adjust any of the steps, but for help to others I will outline the same steps here. http://forums.freenas.org/index.php?threads/urbackup-installation-guide.22117/<br />
<br />
Create a Jail<br />
-Jails<br />
-Add Jails<br />
Urbackup<br />
Standard<br />
(fill in default gateway)<br />
uncheck VIMAGE<br />
-OK<br />
<br />
Connect to FreeNAS via SSH (must be enabled in services)<br />
<br />
Find the number of the jail you created above.<br />
#jls<br />
#jexec 1 tcsh<br />
<br />
This enters you into the jail itself. All commands from now on are specific to the jail itself and should not be run on the FreeNAS system.<br />
<br />
#pkg install<br />
#pkg install update<br />
#pkg install nano wget<br />
#portsnap fetch extract<br />
#cd /usr/ports/security/cryptopp<br />
#make CXXFLAGS="-fPIC" (accept all default questions and pop up boxes)<br />
#make install<br />
#pkg install curl<br />
<br />
#cd /<br />
#mkdir /urbackup<br />
#cd /urbackup<br />
#wget (download link for latest urbackup tar.gz source)<br />
<br />
#tar zxvf urbackup*.tar.gz<br />
#cd urbackup-server-<i>x.y.z</i><br />
#./configure<br />
#make<br />
#make install<br />
<br />
(I had trouble with the install. It said it was completed, but I had to run the command again to actually get it to install the program into the right folders.)<br />
<br />
#adduser urbackup --system --quiet --group --home "/usr/local/var/urbackup" || true<br />
(this is supposed to create the account, but it just brought up the account dialog for me, so I filled it in by hand)<br />
urbackup<br />
urbackup<br />
<i>empty</i><br />
<i>empty</i><br />
<i>empty</i><br />
<i>empty</i><br />
<i>empty</i><br />
/usr/local/var/urbackup<br />
<i>empty</i><br />
no<br />
no<br />
yes<br />
no<br />
<br />
#nano /etc/rc.d/urbackup_srv<br />
<br />
Paste the below into the file:<br />
#!/bin/sh<br />
. /etc/rc.subr<br />
name=urbackup_srv<br />
rcvar=urbackup_srv_enable<br />
command="/usr/local/sbin/$(name)"<br />
command_args="<span style="background-color: #f0f7fc; color: #141414; font-family: monospace; font-size: 13px; line-height: 16px; white-space: nowrap;">--plugin /usr/local/lib/liburbackupserver_urlplugin.so --plugin /usr/local/lib/liburbackupserver_cryptoplugin.so --plugin /usr/local/lib/liburbackupserver_downloadplugin.so --plugin /usr/local/lib/liburbackupserver_fsimageplugin.so --plugin /usr/local/lib/liburbackupserver_httpserver.so --plugin /usr/local/lib/liburbackupserver.so --http_root /usr/local/var/urbackup/www --workingdir /usr/local/var --user urbackup --http_port 55414 --logfile /var/log/urbackup_srv.log --daemon"</span><br />
start_precmd="cd /usr/local/var"<br />
load_rc_config $name<br />
run_rc_command "$1"<br />
<br />
The command args line should be one complete line.<br />
<br />
#chmod +x /etc/rc.d/urbackup_srv<br />
<br />
#nano /etc/rc.conf<br />
<br />
Add this line to the end:<br />
urbackup_srv_enable="YES"<br />
<br />
#mkdir /backups<br />
#chown -R urbackup:urbackup /backups<br />
<br />
#/etc/rc.d/urbackup_srv start<br />
<br />
Access the web interface at http://[ipaddress]:55414<br />
Go to Settings / General / Server<br />
Adjust the [Backup Storage Path] from the default to /backups<br />
<br />
#/etc/rc.d/urbackup_srv restart<br />
<br />
From FreeNAS web click on the Jails -> Urbackup -> Storage -> Add Storage and connect the /backups folder with the FreeNAS volume created. I want all of the storage space available to the backup jail, so I connected it straight.<br />
<br />
Next is the client on the servers, for sending files to URBackup. More on that process in another post.Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com1tag:blogger.com,1999:blog-6032756734536929288.post-84898909227740218152014-06-10T16:20:00.000-07:002014-06-26T12:54:32.208-07:00Raspberry Pi Chromium Digital Sign w/ PHP Reboot buttonI am following these <a href="http://blogs.wcode.org/2013/09/howto-boot-your-raspberry-pi-into-a-fullscreen-browser-kiosk/" target="_blank">instructions</a>, but am giving full detail of my instructions. I am also adding a PHP webpage to reboot the pi remotely without knowing the passwords so other staff can do it.<br />
<br />
sudo apt-get update<br />
sudo apt-get dist-upgrade<br />
sudo apt-get install matchbox x11-server-utils unclutter chromium ttf-mscorefonts-installer<br />
sudo reboot<br />
<br />
<u>Setup Auto-login</u><br />
sudo nano /etc/inittab<br />
comment out the line (#)1:2345:respawn:/sbin/getty 115200 tty1<br />
add: 1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1<br />
<br />
<br />
<br />
<br />
That is all I did.<br />
<br />
<br />
<br />
sudo apt-get install php5<br />
cd /var/www<br />
sudo rm index.html<br />
sudo nano index.php<br />
<br />
<?php<br />
if(isset($_POST['s'])){<br />
echo "Rebooting NOW<br />\n";<br />
touch('/tmp/reboot.now');<br />
}<br />
?><br />
<!DOCTYPE html><br />
<html><br />
<head><br />
</head><br />
<body><br />
<form action='index.php' method='post'><br />
<input type='submit' name='s' value='Reboot' /><br />
</form><br />
</body><br />
</html><br />
<br />
sudo nano /usr/local/sbin/reboot.sh<br />
<br />
#!/bin/bash<br />
if [ -f /tmp/reboot.now ]; then<br />
rm -f /tmp/reboot.now<br />
/sbin/shutdown -r now<br />
fi<br />
<br />
sudo chmod +x /usr/local/sbin/reboot.sh<br />
sudo crontab -e<br />
<br />
* * * * * /usr/local/sbin/reboot.sh<br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-53237622035378641402014-03-19T09:40:00.000-07:002014-03-19T09:40:35.786-07:00Format SD Card with Linux partitionsIf you have ever used a Raspberry Pi but had to setup the SD card using a windows computer than you know the frustration you get when the disk only shows 56 Mb instead of the 14 Gb that it should be!<br />
<br />
I spend a good hour trying to figure this out every time I try and reformat the card with the latest version of Rasbian. I know I should just keep this in my list of bookmarks, but now I realize that I should just blog the steps as I have with everything else, so that I have it for posterity!<br />
<br />
Anyway, Windows 7 has a great tool called diskpart. Never really knew how fantastic it was until now. Back in the day it was fdisk, but diskpart is much more powerful and easier to use!<br />
<br />
diskpart<br />
list disk<br />
select disk # (the sd card disk number that was listed above)<br />
clean (clears partition table)<br />
exit<br />
<br />
This step seems to be required if using my laptop, but I don't know if everyone has to do this or not.<br />
Pull out the sd card and put it back in after a few seconds.<br />
<br />
diskpart<br />
list disk<br />
select disk # (is probably the same, but might not be)<br />
create partition primary<br />
format fs=fat32 quick<br />
exit<br />
<br />
Done! It is that easy!<br />
<br />
I know that you can also put the card in a camera and format it there to reset the partition table, but I don't have a camera handy all the time!<br />
<br />
Hope this helps others.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-585620203768370302014-02-19T08:29:00.000-08:002014-02-19T08:29:26.471-08:00Increase Ubuntu Hard Drive Size in VMWare ESXiI have only done this with my Ubuntu virtual machine so far, so I can't tell you if this works for any other form of linux. I will have to test it some time to find out.<br />
<br />
My situation: Koha library system loaded on a Ubuntu Server 13.10. I had originally set it up as a test server so I only gave it 2Gb of ram and a 30 Gb hard drive.<br />
<br />
Logs can fill up fairly quickly with everything going on, and the database takes space when you have 20,000 book records and 500 student records.<br />
<br />
I followed these instructions to increase the hard drive size of my server, on the fly and it worked perfectly, now I have storage space again and the system is working again!<br />
<br />
http://www.joomlaworks.net/blog/item/168-resizing-the-disk-space-on-ubuntu-server-vms<br />
<br />
First step is to increase the hard drive to the virtual machine. I had lots of space, and could add more, but I thought 80Gb would be a good amount for now. So I increased it by 50Gb to make it 80Gb in total size.<br />
<br />
Then access the machine with PuTTy.<br />
<br />
List all partitions<br />
$ <b>ls -la /dev/sda*</b><br />
<b><br /></b>
Create new partition using fdisk:<br />
$ <b>sudo fdisk /dev/sda</b><br />
<b>p</b> - to list all partitions<br />
<b>n</b> - to create a new partition<br />
<b>l</b> - for "logical"<br />
Accept the default start and end blocks, as that is the new section that has been allocated.<br />
<b>t</b> - to change the partition type<br />
<b>8e</b> - set the type to Linux LVM<br />
<b>p</b> - to list the new partition table<br />
<b>w</b> - to write the changes<br />
<br />
A warning message will say that the new drive won't be available until you restart, or use this command:<br />
$ <b>sudo partprobe</b><br />
<b><br /></b>
<b><br /></b>
Now it is time to create the partition, extend the current volume and reprobe the partition table.<br />
<br />
Create partition on new disk - (mine was /dev/sda4, yours might be different)<br />
$<b> sudo pvcreate /dev/sda4</b><br />
<b><br /></b>
Display the current volume group and get the name<br />
$ <b>sudo vgdisplay</b> - "VG Name" is what you are looking for here<br />
<b><br /></b>
Extend the volume group with the new partition<br />
$ <b>sudo vgextend <i>VGName</i> /dev/sda4</b><br />
<b><br /></b>
Get the name of the main logical volume<br />
$ <b>sudo lvdisplay</b> - "LV Name" is what you are looking for here<br />
<br />
Extend the logical volume by X Gbs<br />
$ <b>sudo lvextend -l -<i>X</i>G <i>LVName</i></b><br />
<b><i><br /></i></b>
Resize the file system to account for the new space<br />
$ <b>sudo resize2fs <i>LVName</i></b><br />
<b><i><br /></i></b>
You can now check to see if the total space is much larger<br />
$ <b>sudo df -hT</b><br />
<b><br /></b>
This should be all that you need, I did another<br />
$ <b>sudo partprobe</b><br />
to verify that the system was aware of all the space.<br />
<br />
I had some services crash and wouldn't start because of the lack of hard drive space, Apache2 and MySql5 wouldn't start. After this process I was able to sudo service start and they both came up fine.Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-14409221626948900282014-02-10T12:35:00.000-08:002014-02-10T12:35:57.392-08:00Monthly Board ReportsOur School Board has gone Google and paperless with Google Drive. Starting a year ago we purchased Chromebooks for the board members to use.<br />
<br />
These instructions are for how the drive is organized and what to do each month for the board members.<br />
<br />
The Google Drive was formed and shared using the tech user account. This way any staff member with access can go in with full rights. It is not tied to a specific staff member.<br />
<br />
PSD School Board -><br />
Agenda<br />
Archive<br />
Consent Agenda<br />
Meeting<br />
Minutes<br />
Policy<br />
SB Reports -><br />
Athletics<br />
Clerk<br />
Elem Principal<br />
Food Services<br />
HS Principal<br />
Maintenance<br />
SPED<br />
Superintendent<br />
Technology<br />
Transportation<br />
<br />
Inside each is a folder for the past school years, for organizational purposes. Add a new folder each year and move the files into those folders to keep it clean.<br />
<br />
The Archive folder is where all past meeting files are organized. These are links to the files also stored elsewhere in the drive.<br />
<br />
The meeting folder is used by the board for easy access to all files stored throughout the drive. Each month I create a link to the files in this folder. To create a link find the original click the Move To folder button and press and hold the Ctrl key when clicking the Meeting folder. The Ctrl key allows for multiple locations. Then click OK to create the link. Keep all files in the original locations, but add a link to the meeting folder.<br />
<br />
At the end of the meeting from the meeting folder, select all files and folders except the policy folder and move these to the Archive folder for that month. To move, but keep the other links you press the Ctrl key and uncheck the meeting folder check and while still holding the Ctrl key click the archive month folder.<br />
<br />
All files are named as such:<br />
<b><u>2014 02C Technology Report</u></b><br />
<i>Year | Month | Section of the agenda | Title</i><br />
Agenda header items are A, Administrative reports are B, Supervisor reports are C<br />
<br />
The board group is given view access. Each supervisor has been granted edit rights to the SB Reports folder that corresponds to their position.Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-90174970222845087732014-02-07T09:18:00.001-08:002014-02-07T09:18:13.610-08:00Update Linux ServersI like to do these steps on each server listed once a month. You can do it as often or as little as you like.<br />
<br />
These steps are specific to my servers, but only in terms of Debian and Ubuntu. Some things are specific for the setup here at Potlatch SD.<br />
<br />
I have blanked out any passwords and usernames, those can be retrieved from documentation.<br />
<br />
<b><span style="font-size: large;">Web Server/Piler Server</span></b><br />
Use Putty, it is the easiest SSH software out there.<br />
<br />
At the initial prompt you need to su to do the update process.<br />
<br />
$ <b>su</b><br />
<b><br /></b>
$ <b>apt-get update</b><br />
$ <b>apt-get upgrade</b><br />
$ <b>apt-get autoclean</b><br />
$ <b>apt-get autoremove</b><br />
<b><br /></b>
When that is complete then you can type exit twice to close out.<br />
<br />
<b><span style="font-size: large;">Koha Server</span></b><br />
This is similar to above, but since it is Ubuntu you can use sudo instead of su at the beginning.<br />
<br />
$ <b>sudo apt-get update</b><br />
$ <b>sudo apt-get upgrade</b><br />
<br />
If Koha was upgraded then you have to go and adjust the Circulation file to allow the scanners to work properly. instead of programming the scanners or changing the barcodes on every book now, I have modified the programming to adjust the barcode after scan at the elementary. The instructions are found on this blog under <a href="http://potlatchtech.blogspot.com/2014/01/psd-koha-circulation-barcode.html">PSD Koha Circulation Barcode Modification</a>.<br />
<br />
$ <b>sudo apt-get autoclean</b><br />
$ <b>sudo apt-get autoremove</b><br />
<b><br /></b>
When that is complete then you can type exit to close out.<br />
<br />
<span style="font-size: large;"><b>PFSense Firwall/Gateway Server</b></span><br />
This server checks for updates and will display if an update is needed on the dashboard. To upgrade you can click on the link and follow the instructions, the server will upgrade in place without much major interruption. I have done the update during the school day and only had the network disconnect for a few seconds while the service restarts. Some major updates require a restart so those should be done at the end of the day.<br />
The Packages can be updated at anytime as well. These are add-ons that have been used to increase the effectiveness of the server. When you click on System -> Packages the next screen shows you what is installed. Anything that is highlighted in the version column has an update. To load that update click on the PKG button next to the row. That will install the update automatically.Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-17455275251000355862014-01-03T16:42:00.000-08:002014-01-03T16:42:54.742-08:00Factory Reset ChromebookI have recently purchased a few Chromebooks. We have both Acer and Samsung. These instructions worked on both.<br />
<br />
When joining a Chromebook to our local email domain for management the process is fairly straightforward. You wait for the sign in screen, but instead of signing in you press <i style="font-weight: bold;">Ctrl-E</i>. This then brings up another sign in screen, and I have entered the admin email and password, then the system says enrolled and the sign in screen actually comes up, but now says that this device is managed by my email domain.<br />
<br />
Sometimes during this process the device doesn't enroll properly. The only way to fix that is to factory reset the device and try again.<br />
<br />
I had to call support to get this information, but since it worked on both types of devices I am blogging it for my future reference!<br />
<br />
With the device turned off completely follow these instructions:<br />
<br />
<i style="font-weight: bold;">Esc - Refresh - Power button</i> The refresh button is F3 on both of the devices, but is usually represented by a circular arrow.<br />
Once the device comes up to the developer mode press:<br />
<i style="font-weight: bold;">Ctrl - D</i> and the <i style="font-weight: bold;"> Enter</i> key.<br />
<br />
This will send the device into develop reset mode. It will probably take a few minutes to wipe the device. It will restart a few times. When it is done it will go right back to the initial process as if you just turned it on for the first time.<br />
<br />
The device can now be enrolled in the domain for management.<br />
<br />
The Acer device needed the developer mode turned off, which is just the above process again. The Samsung didn't need that step.<br />
<br />
Hopefully this helps others, or at least is for my reference.Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-61786813937808674282014-01-02T13:01:00.000-08:002014-01-02T13:08:38.995-08:00PSD Koha Circulation Barcode ModificationSo I spent a few summers ago upgrading the library system to Koha. It was actually fairly painless to do with the help of linux. But I ran into an issue of barcodes matching at both schools. So to eliminate that I added an e to the barcodes for the elementary. Now to get the scanner to put the e on at the end so the librarian wouldn't have to add it manually.<br />
<br />
Instead of making the scanner do that work I found that you can modify the Circulation file in Koha to do that work for you. In our situation that was good since the books at the high school have added number data in the barcode as well.<br />
<br />
So here is the location of the file:<br />
/usr/share/koha/lib/C4/Circulation.pm<br />
<br />
This is what I modified to get it to work:<br />
<b><i>Original:</i></b><br />
elsif ($filter eq 'T-prefix') {<br />
if ($barcode =~ /^[Tt](\d)/} {<br />
(defined($1) and $1 eq '0') and return $barcode;<br />
$barcode = substr($barcode, 2) + 0;<br />
}<br />
return sprintf("T%07d", $barcode);<br />
<br />
<b><i>New:</i></b><br />
if($branch eq '0762' and substr($barcode, -1) eq 'e'){<br />
return $barcode;}<br />
elsif($branch eq '0135' and length($barcode) >= 6){<br />
$barcode = substr($barcode, 2, 5);<br />
}<br />
if(substr($barcode, 0, 1) eq 'T'){<br />
if(substr($barcode, 1, 1) eq ' '){<br />
$barcode = substr($barcode, 2);}<br />
else{$barcode = substr($barcode, 1);}<br />
}<br />
$barcode = substr($barcode, -5);<br />
if($branch eq '0762'){<br />
return sprintf("%05de", $barcode);<br />
} else {<br />
return sprintf("%05d", $barcode);<br />
}Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-9892364768100246002013-12-12T14:23:00.000-08:002014-02-26T13:17:18.067-08:00Piler on Debian WheezyMailPiler 0.1.24 on Debian Wheezy<br />
<br />
I was interested in setting up an email archive server. We need to be doing this but with budgets as they are these days we need to do it on the cheap. MailPiler looked promising. The directions are a little shotty for a non-linux user like me. So the instructions below are word for word what I did with my final production server. It took me 5 reimages of the virtual machine before I got to this point! Like I said, non-linux user. Hopefully these instructions will help someone else. I used the official tar.gz, but the latest source is of interest as it includes a few of the things I had to do to get things to work right, so I would suggest you load from the source.<br />
<br />
<br />
Install Debian Wheezy - no need to install any special packages, those will be included in the install later.<br />
<br />
<b><i>su</i></b><br />
<b><i>apt-get update</i></b><br />
<b><i>apt-get upgrade</i></b><br />
<b><i>apt-get autoclean</i></b><br />
<b><i>apt-get autoremove</i></b><br />
<br />
<b><i>apt-get install openssl </i></b><b><i> libssl-dev</i></b><b><i> apache2 php5 php5-gd </i></b><b><i>mysql-server phpmyadmin libmysqlclient-dev</i></b><b><i> php5-ldap</i></b><b><i> memcached </i></b><b><i>php5-memcache sphinxsearch libtre-dev libzip2 libzip-dev sysstat gcc libwrap0 libwrap0-dev latex2rtf latex2html catdoc libpoppler19 poppler-utils unrtf make</i></b><br />
<b><i><br /></i></b>
<b><i>nano /etc/default/sphinxsearch</i></b><br />
Edit the section to make sure it says START="no"<br />
<br />
<b><i>a2enmod rewrite</i></b><br />
<b><i>nano /etc/apache2/sites-enabled/ooo-default</i></b><br />
<span style="font-weight: bold;"><span style="font-weight: normal;">Modify all lines that are AllowOverride to All at the end.</span></span><br />
<span style="font-weight: bold;"><span style="font-weight: normal;">Modify DocumentRoot to location of piler web directory. (/var/www/piler)</span></span><br />
<b><i>service apache2 restart</i></b><br />
<span style="font-weight: bold;"><span style="font-weight: normal;"><br /></span></span>
<b><i>groupadd piler</i></b><br />
<b><i>useradd -g piler -s /bin/sh -d /var/piler piler</i></b><br />
<b><i>usermod -L piler</i></b><br />
<b><i><br /></i></b>Then download piler from the piler download location.<br />
<br />
<b><i>tar zxvf piler-x.y.z.tar.gz</i></b><br />
<b><i>cd piler-x.y.z</i></b><br />
<b><i>./configure --localstatedir=/var --with-database=mysql --enable-starttls --enable-tcpwrappers</i></b><br />
<br />
<b><i>make</i></b><br />
<b><i>make install</i></b><br />
<b><i><br /></i></b>
<b><i>make postinstall</i></b><br />
<b><i>/var/www/piler</i></b><br />
<b><i>www-data</i></b><br />
<b><i>[enter]</i></b><br />
<b><i>[enter]</i></b><br />
<i style="font-weight: bold;">root </i>(could use default if willing to adjust more mysql permissions)<br />
<b><i>[password]</i></b><br />
<b><i>[password]</i></b><br />
<b><i>/etc/sphinxsearch/sphinx.conf</i></b><br />
<b><i>[enter]</i></b><br />
<b><i>[enter]</i></b><br />
<b><i>y</i></b><br />
<b><i>y</i></b><br />
<b><i><br /></i></b>
<b><i>nano /usr/local/etc/piler.conf</i></b><br />
Update the mysql section at the end with settings specific to your setup.<br />
<br />
<b><i>nano /var/www/piler/config-site.php</i></b><br />
edit site specific information<br />
SITE_NAME<br />
SITE_URL<br />
DIR_BASE<br />
PILER_HOST (Set to IP address of server)<br />
SMTP_DOMAIN<br />
SMTP_FROMADDR<br />
ADMIN_EMAIL<br />
(My DB info was already accurate.)<br />
<div>
<b><i><br /></i></b>
<b><i>sh init.d/rc.piler start</i></b><br />
<b><i>sh init.d/rc.searchd start</i></b><br />
<b><i><br /></i></b>
If you want to add these scripts to run at boot follow the below instructions.<br />
<br />
Copy the scripts to the init.d folder and add the scripts to boot time.<br />
<b><i>cp init.d/rc.piler /etc/init.d/</i></b><br />
<b><i>cp init.d/rc.searchd /etc/init.d</i></b><br />
<b><i>insserv rc.piler</i></b><br />
<b><i>insserv rc.searchd</i></b><br />
<b><i><br /></i></b></div>
<div>
Visit http://piler.potlatchschools.org<br />
admin@local:pilerrocks<br />
Add your domain to the Administration/Domain menu.<br />
potlatchschools.org -> psd285.org<br />
Adjust the default passwords to make it secure.<br />
<br />
Now start sending mail to the server from your email server. I use Google Apps, so I had to add my server as a forwarder.<br />
<br />
LDAP Authentication<br />
<b><i>nano config-site.php</i></b><br />
$config['ENABLE_LDAP_AUTH'] = 1;<br />
$config['LDAP_HOST'] = '***';<br />
// set this if you want to limit the scope of the ldap query<br />
$config['LDAP_BASE_DN'] = '';<br />
// the helper account, see the details below<br />
$config['LDAP_HELPER_DN'] = 'CN=...';<br />
$config['LDAP_HELPER_PASSWORD'] = '******';<br />
$config['LDAP_MAIL_ATTR'] = 'mail';<br />
$config['LDAP_ACCOUNT_OBJECTCLASS'] = 'user';<br />
$config['LDAP_DISTRIBUTIONLIST_OBJECTCLASS'] = 'group';<br />
<br />
$config['LDAP_DISTRIBUTIONLIST_ATTR'] = 'member';</div>
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com3tag:blogger.com,1999:blog-6032756734536929288.post-26286241255975556352013-12-11T13:54:00.000-08:002013-12-17T12:20:09.641-08:00Raspberry Pi Internet RadioWe have a radio in the office that gets stations sometimes, and fails sometimes. FM signal is sketchy in my neck of the woods.<br />
<br />
So I grabbed one my stagnant Raspberry Pi's and went about a search on Google to find instructions for an Internet Streaming Radio.<br />
<br />
<a href="http://contractorwolf.wordpress.com/raspberry-pi-radio/">Raspberry Pi Wifi Internet Radion Player</a><br />
<br />
I found this site, and although it has some issues with setup it got me going. Here is my post on what I did using the latest Debian Wheezy for Raspberry Pi and fully updated on Dec. 11, 2013.<br />
<br />
<b><i>sudo apt-get update</i></b><br />
<b><i>sudo apt-get upgrade</i></b><br />
<b><i>sudo apt-get dist-upgrade</i></b><br />
<b><i>sudo apt-get autoclean</i></b><br />
<b><i>sudo apt-get autoremove</i></b><br />
<br />
My favorite set of commands to get things fully updated.<br />
<br />
<b><i>sudo apt-get install mpd mpc</i></b><br />
<br />
MPD is the music player deamon. It does the hard work/heavy lifting. MPC is the music player client.<br />
<br />
<b><i>sudo shutdown -r now</i></b><br />
<br />
After a restart everything just works. Here is a great website with all of the command line tools for using mpc.<br />
<br />
<a href="http://linux.die.net/man/1/mpc">MPC - Linux Man Page</a><br />
<br />
My setup is headless and actually sitting in the switch closet connected to an audio cable to the surround sound amp.<br />
<br />
<b><i>sudo apt-get install php5</i></b><br />
<br />
Below is my php code that I created to control mpc from a webpage. Why ssh into the system when you can keep the website open and control it from there?<br />
<br />
<?php<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if(isset($_POST['p'])){<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>exec("mpc toggle");<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if(isset($_POST['s'])){<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>exec("mpc stop | mpc clear");<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if($_POST['s']==1){<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>exec("mpc add http://ice8.securenetsystems.net/KHTRFM?type=.mp3");<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}else if($_POST['s']==2){<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>exec("mpc add http://streaming207.radionomy.com:80/TheChristmasStation");<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}else if($_POST['s']==3){<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>exec("mpc add http://audioplayer.wunderground.com:80/UniKyrn/Spokane.mp3");<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>exec("mpc play | mpc volume 90");<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if(isset($_POST['v']) || isset($_POST['vol'])){<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if($_POST['v']!=""){$vol = $_POST['v'];}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if($_POST['vol']!=""){$vol = $_POST['vol'];}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>exec("mpc volume ".$vol);<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
?><br />
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><br />
<head><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><meta http-equiv="refresh" content="30" /><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><link rel="icon" href="favicon.ico" type="image/x-icon" /><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><title>DO Radio</title><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><style type="text/css"><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>h4{margin:0;}<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span></style><br />
</head><br />
<body><br />
<h1>District Office Radio</h1><br />
<?php<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>echo "<h3>".exec("mpc -f '%name%' current")."</h3>";<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>echo "<h2>".exec("mpc -f '[[%artist% ]%title%' current")."</h2>";<br />
?><br />
<form action="index.php" method="post"><br />
<button type="submit" name="p">Play/Pause</button><br /><br /><br />
<h4>Volume:<br />
<?php<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>$vol = exec("mpc volume");<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>echo substr($vol,strpos($vol,":")+1);<br />
?></h4><br /><br />
<button type="submit" name="v" value="-10">-10</button><br />
<button type="submit" name="v" value="-1">-1</button><br />
<button type="submit" name="v" value="+1">+1</button><br />
<button type="submit" name="v" value="+10">+10</button><br />
<br /><br />
<input type="text" name="vol" /><input type="submit" value="Submit" /><br /><br />
<br /><br /><br />
<button type="submit" name="s" value="1">KHTR 104.3</button><br /><br />
<button type="submit" name="s" value="2">The Christmas Station</button><br /><br />
<button type="submit" name="s" value="3">NOAA Weather - Spokane, WA</button><br /><br />
</form><br />
</body><br />
</html><br />
<div>
<br />
I have actually added a bunch of more radio stations, just grabbed the stream address from this website:<br />
http://web-radio.fm/st_list.cfm</div>
Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-62036753481481810252012-08-02T16:19:00.000-07:002013-06-18T07:37:24.473-07:00Xibo on Raspberry PiOk, so i know I haven't posted much at all since I started this but I have been busy teaching students and haven't had time to keep updating a blog that no one will check often.<br />
<br />
Anyway, this post is because I have a Raspberry Pi, and I am working to make it into a Xibo Digital Signage station. My current setup is a nComputing terminal at each tv, but that is not 1080P HD over HDMI.<br />
<br />
Listed below is my setup of the Raspberry Pi and what I had to do to get it to run Xibo Pyclient. I have followed some great articles online, one of which is located at: <a href="http://www.cnx-software/2012/01/19/xibo-digital-signage-in-raspberry-pi-emulator-step-1/">http://www.cnx-software/2012/01/19/xibo-digital-signage-in-raspberry-pi-emulator-step-1/</a><br />
<br />
Follow the Xibo Pyclient instructions located at: <a href="http://wiki.xibo.org.uk/wiki/Install_Guide_Python_Client">http://wiki.xibo.org.uk/wiki/Install_Guide_Python_Client</a><br />
<br />
I have also used the assistance of many people on the Raspberry Pi Forum: <a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=12261">http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=12261</a><br />
<br />
(All commands are rough since I built this a week ago, but I should have better instructions when I build it again for the other screen!)<br />
- I started with the latest Raspbian "wheezy" image located at Raspberry pi's <a href="http://www.raspberrypi.org/downloads">Download page</a>.<br />
- Make sure you apt-get update, and apt-get upgrade, and apt-get dist-upgrade to get the latest<br />
- Follow Xibo's Pyclient install instructions: <br />
<pre>sudo apt-get install python-gtk2 glade librsvg2-2 python-imaging dropbear
sudo apt-get install -y libdc1394-22 libgraphicsmagick++3 libgraphicsmagick3 bzr </pre>
<pre> python-soappy python-feedparser python-serial libavcodec52 libavformat52</pre>
<pre> libswscale0 libsdl1.2debian-pulseaudio libvdpau1
?sudo apt-get install libboost-python1.42.0 libboost-thread1.42.0 </pre>
- sudo ldconfig <br />
- sudo apt-get install python-libavg<br />
- The instructions continue with getting Berkelium and libbrowsernode, but those aren't compiled yet. Hopefully someone with knowledge can do that. Berkelium is required, Hexxeh's Chromium is currently not compatible with Xibo, so I don't know if that can be fixed.<br />
- mkdir /opt/zibo<br />
- cd /opt/xibo && sudo bzr branch lp:xibo pyclient<br />
- cd /opt/xibo/pyclient/client/python<br />
- sudo cp site.cfg.default site.cfg<br />
- sudo nano site.cfg<br />
- Edit the server sections to work with your Xibo server.<br />
<br />
<br />
This is as far as I have been able to go before the script tells me that the version of Berkelium is not compatible. I hope that sometime this will be fixed, but until then this is what I got so far. It is close, but still not working. I will edit as I get it working.<br />
<br />
Edit: I decided to give up with this project. If someone else gets this going please message me and I would be glad to test it out. I have moved away from Xibo signage and am just using my own php page with iframes to do what I want to accomplish. At some time I might get back into it. Anyway, good luck.Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com6tag:blogger.com,1999:blog-6032756734536929288.post-50713375535012052042011-09-12T15:49:00.001-07:002011-09-12T15:51:12.222-07:00Tech in ClassroomsCan technology help students increase knowledge?<br /><br /><a href="http://www.nytimes.com/2011/09/04/technology/technology-in-schools-faces-questions-on-value.html?_r=3&src=recg">New York Times Article</a><br /><br />This article has some really good points to ponder. Post your thoughts in the comments.Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-50481179061811102602011-08-22T14:00:00.000-07:002011-08-22T14:05:56.939-07:00Classroom Posts<div>Ok, so since I am starting to teach again this year I will post some teaching stuff to this blog, as well as some tech stuff. These posts will probably be mostly tech related, but will have some teaching thrown in.
<br />
<br /><a href="http://opinionator.blogs.nytimes.com/2011/08/07/education-needs-a-digital-age-upgrade/">http://opinionator.blogs.nytimes.com/2011/08/07/education-needs-a-digital-age-upgrade/</a>
<br />
<br /></div><div> </div><div>This is a link to an excellent article about the future of our students and the need to teach them in the ways that they learn. Some food for thoughts. What do you think? Leave your comments below.</div>Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com2tag:blogger.com,1999:blog-6032756734536929288.post-3376031411135418752011-06-16T20:36:00.000-07:002013-06-18T07:35:26.537-07:00Server SetupI decided to test out VMWare's ESXi server 4.1. I got the install on a cd, setup my usb cd-rom drive, and got it all loaded without much trouble at all. Then I found out that the hard drives are setup as 4 seperate hard drives. No RAID setup at all...so I will be resetting that when I get back to Potlatch. (I am at a conference in Boise for the week.)<br />
<br />
But since I have remote access to the server while at my conference, why not test out some of the settings and setup a Windows XP and Windows Server Core 2008x64 virtual machines.<br />
<br />
Windows XP was no problem at all. Although I found out that Windows XP defaults to an IDE hard drive setup. Well apparently you can't change the size of an IDE hard drive. You can change the size of a SCSI hard drive. But you can convert an IDE drive to SCSI, change the size and then change it back to IDE. (<a href="http://claykinney.blogspot.com/2010/06/vmware-esxi-4-increase-ide-drive-size.html">How To</a>)<br />
<br />
Needless to say, I will now be using SCSI drives only!<br />
<br />
More information about my official server setup will follow when I get back to town and setup the RAID. I will post any new information that I find and figure out as I continue to setup my server.Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-40708385414407315142011-06-16T20:26:00.001-07:002011-06-16T20:35:49.211-07:00New Server!<div>I am so excited to announce that I was allowed to purchase a new server...budget: $3500. So I went shopping...here are the specs:<br /><br /></div><div> </div><div>*Dual Xeon (Quad-Core) 2.13Ghz</div><div>*16 Gb of DDR3</div><div>*4 Tb of Hard Drive Space</div><div><br />Nothing pre-loaded on it...</div><div> </div><div><br />So the first thing I did was get a space set aside for it on the rack and get it placed inside. I might want to get a second power supply, it only came with one, but I don't think those are too expensive and redundant power supplies aren't that mission critical for this server. I plan to use it for mostly a file server, to increase storage space. More on what I did with the server in another post.</div><div> </div>Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-41986923147239984322011-03-29T14:26:00.000-07:002011-03-29T14:26:15.527-07:00MySQL on Windows ServerThese are the steps to install MySQL on a Windows Server.<br />
<br />
Download MySQL for windows from <a href="http://www.mysql.com/why-mysql/windows/">here</a>. Make sure you have IIS and PHP installed.<br />
<br />
Run the installer and choose the options that you feel are important for your setup, I usually use the Typical setup. I also like to include PHPMyAdmin, which you can get from <a href="http://www.phpmyadmin.net/home_page/index.php">here</a>.<br />
<br />
When MySQL is finished installing then you need to set it up. Run the Server Instance Configuration Wizard and select detailed install. Then select either Server or developer machine. I also use Multi-functional database setup. I use mostly default settings except I like to include the bin directors in the windows path. I also like to give Root a password but allow root access from remote machines. Then you are done.<br />
<br />
Copy PHPMyAdmin to your InetPub folder and you now have access to your MySQL database from an easy to use front-end application.<br />
<br />
That is it.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-60328975972082005292011-03-29T14:15:00.000-07:002011-03-29T14:15:17.729-07:00PHP on Windows ServerSo I have spent the past few months working to get a few web servers up and running. I am finding that the more I can make things available on the web the more information that the users can get access to. I like how php works and I like programming in it so I am setting up PHP as often as I can. This is a document on my steps that I have taken to get PHP setup on a Windows 2003 R2 server. I am also going to include the install of MySQL as well because the two go hand in hand.<br />
<br />
First you need to go and download the latest version of PHP from <a href="http://windows.php.net/">this website</a>. As of this writing they were on 5.3.6.<br />
<br />
While that is downloading, you also need to download the latest version of FastCGI for IIS. You can get it <a href="http://www.iis.net/download/fastcgi">here</a>. This is used by PHP for server response.<br />
<br />
Start the PHP installer and answer the basic questions. Make sure to place PHP directly on the C drive. It works better if there are no spaces in the folder names. I like to put it right on C:\PHP\. Select IIS FastCGI as the Web Server Setup. I also like to make sure that all of the expected extensions are installed and enabled.<br />
<br />
When that is installed I like to go to IIS and set the default document to be index.php. It should have already been added to the list so I just move it up to the top. Then I create an index.php file in the inetpub folder and put this code inside:<br />
<br />
<?php phpinfo(); ?><br />
<br />
Make sure you go to Web Service Extensions in IIS and allow FastCGI Handler. I also allow Server Side Includes.<br />
<br />
Then from any web browser you should be able to browse to your server and see the PHP info presented. You have now setup PHP on Windows Server 2003.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-21825252039348573272010-12-20T16:47:00.000-08:002010-12-20T16:47:12.301-08:00Weather<div>I have successfully setup a laptop that had a broken screen as the weather logging station. It is mounted on a tv mount in the corner of the high school science classroom.<br />
<br />
</div><div></div><div>That lab room has a Davis Weather Monitor II mounted and setup. It even has the Data Logger attachment with all of the bells and whistles, but it wasn't exporting outside of the display because the computer it was setup on was a Windows for Workgroups 3.11. Yeah, you heard that right!<br />
<br />
</div><div></div><div>Anyway, got it setup with Windows XP and Weather Underground's WUHU software. You can check it out <a href="http://home.comcast.net/~wuhu_software/">here</a>.<br />
<br />
</div><div></div><div>I setup a Weather Underground account so that we could send the weather data somewhere other than locally. You can see it <a href="http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KIDPOTLA2">here</a>. We were having some power issues, the laptop kept shutting down at 11pm with the power saver feature of our server. I have since gotten that fixed today, or so I hope.<br />
<br />
</div><div></div><div>Anyway, if you want to see the webpages that the WUHU software can create you can also go <a href="http://local.potlatchschools.org/weather/index.html">here</a>. These pages are very basic, and the graphs don't work yet. Apparently the pages use a generic jpeg picture for the graphs. I am working on getting some other javascript graph, or something.</div><div></div>Anonymoushttp://www.blogger.com/profile/03218632125409458118noreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-61486708861436445362010-12-14T09:10:00.000-08:002010-12-14T09:10:07.284-08:00Weather OnlineWe have been able to successfully post the weather data online. There is a weather logger in the science classroom and it is connected to a computer running WUHU (Weather Underground/HeavyWeather Updater).<br />
<br />
I have connected this software to a Weather Underground account and the live data can be viewed at <a href="http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KIDPOTLA2">http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KIDPOTLA2</a>. There is also a "RapidFire" full screen view that can be seen at <a href="http://www.wunderground.com/swf/Rapid_Fire.swf?units=english&station=KIDPOTLA2">http://www.wunderground.com/swf/Rapid_Fire.swf?units=english&station=KIDPOTLA2</a>.<br />
<br />
Please take a look. We are working on getting a webcam to display a live picture. Stay tuned!Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-8290122170556431812010-12-08T09:53:00.000-08:002010-12-08T09:53:18.144-08:00ISEE Cuddo's to the DistrictI received a letter today from the Superintendent. It was actually from the State Superintendent, Tom Luna. I have posted that letter here as a <a href="http://www.potlatchschools.org/website2/services/includes/StateISEELetter.pdf">PDF</a> and anyone is welcome to see just how amazing Potlatch School District really is. I want to thank and recognize the hard work that these staff members have done to make this error free:<br />
<br />
Joe Kren, Superintendent<br />
Gwen Burkgart, Cleark<br />
Verlynn Emerson, Secretary<br />
Lelia Millick, Secretary<br />
Shannon Richards, Special Education Director<br />
<br />
And all of the SPED staff and other staff members that took the time to make sure that the data was entered accurately and in a timely manner.<br />
<br />
I appreciate everyone's hard work and hope that we continue to receive these letters of recognition.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-21140353963333439172010-12-02T15:12:00.000-08:002010-12-02T15:12:04.763-08:00Revamped WebsiteAlright, since no one is following me yet, this is almost pointless, but maybe someone will follow eventually. Anyway, I revamped our entire website, <a href="http://www.potlatchschools.org/">http://www.potlatchschools.org</a>. You can access the new site at <a href="http://new.potlatchschools.org/">http://new.potlatchschools.org</a>. Of course this link will continue to be a look at the changes that I have made to the website. I kept changing the main site and people would look at me funny when it wouldn't work! So I created this side area, which is just a mirror of the live site.<br />
<br />
Anyway, check it out and send me some feedback through the feedback form. There is a link to it at the top and bottom of every page.Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-6032756734536929288.post-22397282078187656602010-12-02T09:53:00.000-08:002010-12-02T09:53:21.114-08:00Move Embedded Flash Content To The BackI have been working on the school district website, <a href="http://www.potlatchschools.org/">http://www.potlatchschools.org</a>. I have created a couple of slide shows of pictures for the Principals, so they can post current stuff to their respective websites. I created them using Google's Picasa web albums. It worked very well, however, the embedded code seemed to be on top of my menu bar.<br />
<br />
After much confusion and frustration I determined that putting the embedded flash in the back just wasn't possible. Until today!<br />
<br />
Before the <embed> code add <param name="wmode" value="transparent"> and then within the code add wmode="transparent". Surprisingly it works great! I would assume that Adobe has information on why this works, and someday I might even go searching for why, but for now...Anonymousnoreply@blogger.com1