Win32 iTunes Alarm Clock (Ole!)
on Jul 06, 2006 at 20:44
|
1 reply
|
by Adam
|
|
I was playing with the iTunes SDK interface via OLE and Perl. There are plenty of other ways to do this, and mine is pretty quick and dirty, but it gives you an idea of where to start. Realistically, you don't want to use sleep for an alarm clock, but I was toying around and I left it in. If you decide to make a real alarm clock with this, just use the OLE code and then schedule your script with the NT scheduler or something. My favorite parts here are that it fades up the music and that it plays an iTunes playlist. I made one that starts out with a brief bit o' classical music to fade up on, followed by that Good Morning song off of the Beatle's Sgt. Pepper's - the one that starts with a rooster crowing. Now if only I can figure out how to get those at the top of the party shuffle so that the rest of the morning music is random. I digress.
|
SSH Failed Attempt Monitor
on Jul 05, 2006 at 21:57
|
1 reply
|
by Anonymous Monk
|
|
sshmon was written to fend of some of the ssh brute force attacks I seem to get at least 1 or 2 a day of. if the failed attempts get to high, then the script adds a reject route into the routing table and poof, problem solved.
For CentOS 4 - make sure to add a log facility or change it.. I used local1.
|
JavaScript::XRay + HTTP::Proxy equals Crazy Delicious
on Jul 05, 2006 at 14:31
|
0 replies
|
by diotalevi
|
|
Blame the author of JavaScript::XRay. He demoed this at YAPC::NA 2006 but there wasn't a proxy in the distribution. I wrote this so I could use it. Just run this and set your browser to use it as a proxy. The simplest way to use this is just run it and tell your browser to use a proxy at port 8080 on your local host.
|
ypne
on Jul 03, 2006 at 20:35
|
1 reply
|
by LordScinawa
|
|
you can use this to run nmap every x minutez :)
:* btw.. my first useful program
|
FSInfo
on Jun 29, 2006 at 13:40
|
0 replies
|
by bpoag
|
|
FSInfo will dump useful information about the LVM structure of a given filesystem in AIX. It's a simple script that prevents you from having to do the legwork involved in discovering which logical volume and corresponding volume group a given filesystem belongs to.
|
LSVPMembers
on Jun 29, 2006 at 13:21
|
0 replies
|
by bpoag
|
|
LSVPMembers is a simple script that produces a plain-English report of what hdisks are mapped to each virtual path (vpath), and which LUN ID on your SAN each vpath corresponds to. While written with AIX in mind, this script could presumably be modified fairly easilly to handle other multipath I/O solutions (other than SDD) on other platforms. Interestingly, this script produces a majority of the information found in the lsvp -a table, but in a fraction of the time.
|
LSVGMembers
on Jun 29, 2006 at 13:12
|
0 replies
|
by bpoag
|
|
LSVGMembers is a simple script that produces a plain-English report of what logical volumes belong to what volume groups on an AIX box.
|
LSLVMembers
on Jun 29, 2006 at 13:05
|
0 replies
|
by bpoag
|
|
LSLVMembers is a simple script that produces a plain-English report of what member hdisks belong to what logical volumes on an AIX box.
|
CeilingReport
on Jun 29, 2006 at 13:00
|
0 replies
|
by bpoag
|
|
CeilingReport is a simple Perl script that examines volume groups present on an AIX host, and reports how many free physical partitions remain in each. This is useful for system administration purposes, in that it gives you a heads-up when for when a volume group may need more storage given to it.
|
Exchange to Postfix Firewall Configuration
on Jun 29, 2006 at 12:00
|
1 reply
|
by madbombX
|
|
This script will pull all users SMTP addresses from your Active Directory (including primary and secondary email addresses) and list them in the format "user@example.com OK" which Postfix uses with relay_recipient_maps. It will also automatically create a mynetworks file, transport file, and relay_domains file to ensure all information is properly included. Additionally, if you have amavisd installed, you can specify whitelist and blacklist information for the information retrieved. You can also include senders and recipients not on either list and assign them a score. Don't forget to restart postfix after running this script.
Project Page: http://eric.lubow.org/projects/getcrr.php
There are links to the latest version of the file and the latest version of the config file located on the project page.
|