SearchUser loginNavigation |
Code SamplesSome introductory AutoIT code to create a backup batch file and schedule it (mybackup_src.zip v0.4 by Ben Chapman)Submitted by bchapman on Wed, 05/28/2008 - 11:33am.
Recently, some of our older desktops' hard drives have started failing. We've discovered that a lot of our users do not backup their valuable desktop data to our server. There are lots of ways to deal with this: folder redirection, backup-pc, Dantz/EMC Retrospect, etc. However, I wanted something that would be a stop-gap until we could implement a better solution. Our users use Windows XP and are admins on their local machines. We have a file server; user home directories on the server are mapped to drive H:\ . A reasonable solution to the backup issue is to use a batch file with xcopy commands combined with Windows task scheduler. The difficulty is in teaching users how to install the batch file and configure the Windows task scheduler. The result was this AutoIT v. 3 script. It might be useful as a example of an approach to writing a simple AutoIT script. It demonstrates some GUI menu functionality, along with reading stdout and stderr, running DOS programs. login to post comments | 782 reads
( categories: Code Samples )
Python script for updating list of approved posters in mailman list from ldap (ldap_addposters.py v0.1 by Ben Chapman)Submitted by bchapman on Wed, 03/29/2006 - 11:42am.
Imagine that you run a mailman (http://www.list.org) mailing list called "2006-announce". Everyone on your faculty and staff should be able to post to this list; however, not everyone wants to subscribe to the list. All members of your faculty and staff are members of an LDAP group called "contactlist". Because your faculty and staff come and go, you want an automated method for making sure that current members of contactlist have permissions to send mails out to the announcement lists. You'd like to have something that you could run from cron that would make sure that people can post to the appropriate lists. ( categories: Code Samples | Python )
Seating Chart Code (seatingchart.zip by Jamie Butler, Matthew Kurpiewski, and Luis Torrefranca)Submitted by butler on Wed, 02/22/2006 - 2:31pm.
This is our first version of a seating chart program using PHP and MySQL. Many ideas have come up to improve this code, but this is at least a start. I hope this may benefit a few of you. Ideally if you make any improvements you will share them back with us. I plan to add the ability to output PDF documents and a GUI to create the room layouts, perhaps this will get done over the summer. login to post comments | 1888 reads
( categories: Code Samples )
access2mysql (access2mysql.zip by unknown)Submitted by tdivito on Mon, 12/05/2005 - 10:53am.
2 templates for converting exisiting Access databases to other formats including MySQL. Features include conversion of dates to MySQL friendly formats. login to post comments | 2233 reads
( categories: Code Samples | Templates )
A dirty little browser checker (browsercheck.php by Elmer Masters)Submitted by elmer on Thu, 06/02/2005 - 6:41pm.
This tidbit just grabs the raw browser ID string from the $_SERVER variable. It looks for a couple of strings that identify IE, Opera, Mozilla, and Netscape 7.x. If it doesn't find one of these it assumes an old browser that can't deal with things like CSS and alerts the user. Finally, it sets a $_SESSION variable that can be checked later. Quick and dirty, but works for me :) 3 comments | 2271 reads
( categories: Code Samples | PHP )
|
Google SearchSearch AmazonActive forum topicsFiles- Code Samples (21)
- .NET (2) - ASP - ColdFusion (1) - Java (2) - JavaScript (1) - PERL - PHP (6) - Python (3) - Ruby (1) - Courtroom Technology (2) - Policies - Testimonials (1) - IT Policies and Forms (31) - Forms (7) - Org Charts - Policies (10) - Strategic Plans (1) - Useful Documents (4) - HowTo - Templates (1) - User Guides (1) - Utilities (3) - Windows (1) Ads by Google |