Tip:
Perl
Snippets (hashes)
$cars{$make}{$model}++; foreach my $make ( sort keys (%cars)) { my $carcnt = ""; foreach my $model ( sort { $model{$a} <=> $model{$b} } keys %{ $cars{$make} } ) { $carcnt = sprintf("%0.5d", $cars{$make}{$model}); print "$make $model = $carcnt\n"; } } #============# %hash = ( "element1" => "value1", "element2" => "value2" );
Various hash functions
Steve Dickinson
Web/Software/Systems
Development and Administration
Featured Software
FreeDiskO v0.3
Mac OS X widget that displays current disk volume usage.
ChmodPro v0.1
Mac OS X Widget that determines UNIX/Linux permissions in various formats and displays chmod syntax suggestions.
SysfO v0.2
Mac OS X widget that displays various system hardware and software information.
dwit v0.1
Task manager to organize and keep to-do lists manageable via the command line. Light weight and easy to use. This software uses SQLite for the back-end db so no db maintenance is required.
progstat v0.2
PHP script used to view current download statistics for posted programs on various sites.
dst v0.1
Perl script that returns various information in regards to daylight savings time for the US and UK.
sitetools v1.0.0
A collection of cli website management tools. This suite of tools includes the sitediff, sitepet and sitesync programs.
pgtools v0.1.0
The pgtools project is a collection of perl tools written to facilitate obtaining information about various entities of a PostgreSQL server database via the command line.
getdhcp v0.1
Parses the DHCP leases file and displays information of DHCP address allocation.
CU News / Blogs
- Jan 06 2020 02:05:00 EST | Perl Weekly #441 (Article Author - Use TheSchwartz Part 2)
- Jan 05 2020 17:30:00 EST | How to use Git Large File Storage (git-lfs)
- Jan 01 2020 01:15:00 EST | Article published on how to use TheSchwartz Perl module (Part 2).
- Dec 24 2019 22:15:00 EST | Tutorial on how to convert a Mercurial repo to a Git repo.
- Aug 31 2018 14:15:00 EST | Conversation on how to use hponcfg to configure HP iLO hardware.
- June 11 2018 12:45:00 EST | A discussion on how DNS zone transfers work.
- Jan 10 2017 22:15:00 EST | Upgrading iocage jails from FreeBSD 10.3 to 11.0 (major upgrade).
- Jan 10 2017 15:15:00 EST | Upgrading from FreeBSD 10.3 to 11.0 (major upgrade).
- Jan 9 2017 11:30:00 EST | Display “real” FreeBSD version.
- Feb 13 2016 01:37:00 EST | Article published on how to use TheSchwartz Perl module (Part 1).
Tutorials
- Web Hosting: Apache 2 - Virtual Hosts
- Web Hosting: Apache 2 - Configurations
- Web Hosting: Apache 2 - Installations
- Version Control: CVS - repo setup
- Networking: ndiswrapper setup (wireless)
- Linux: Root password reset (grub)
- Linux: NTP server setup
- Dual Boot Systems: Red Hat/FreeBSD
- Dual Boot Systems: Fedora/Windows XP
- Documentation: Creating man(ual) pages