it.rcmd.org

base || news || coding || networks || linux || stuff || contact



scripts

Some very old scripts, more or less useful. I like the birthday-reminder script and still use it on my debian server.

setstdprnt : script to set the default printer of a win32 box
sd_moc.cmd : script to remotely shut down the hosts of a MOC environment
university code snippets : various stuff written for university classes
birthday reminder : perl script to be run by cron that reminds you of birthdays of friends and ex-girlfriends




setstdprnt (VBscript)

this small vb script sets the default printer on a m$ box. especially useful for networked boxes, call the script with different arguments for machines in different rooms to make your machines use the printer nearest to them as their default printer.



usage: "setstdprnt.vbs printername"

download link (http) : setstdprnt.zip





sd_moc.bat - win32 batch file to remotely shut down the hosts of a MOC environment

a simple batch file using shutdown.exe to make sure all MOC hosts are shut down at the end of the course so you don't have to run around the room and switch every box off manually. there's nothing you can do with it if you don't know what a MOC environment is. fire it up from an account with appropriate priviledges, admin of nwtraders.msft is an obvious example.

grab it (.bat) .



university code snippets : various stuff written for university classes

perfect-numbers.cpp - calculate perfect numbers

Hanoi.java - solves the "towers of hanoi" - problem

seven-seg-display.py - a seven-seg display

bubble-sort.py - bubble sort algorithm






birthday reminder : perl script to be run by cron that reminds you of birthdays of friends and ex-girlfriends

this is a quick hack done in a few hours. see README for instructions and more info.

bday-notice.pl - the script itself

README - readme file

addressbook.csv - example data







base || news || coding || networks || linux || stuff || contact