1/20/11

CIDR RegEx shortcuts

POSIX RegEx shortcuts I found that made my life easier that I used with PostFix header maps for dealing with IP addresses


/19 subnets
0-31
([12]?[0-9]|3[01])

32-63
(3[2-9]|[45][0-9]|6[0-3])


64-95
(6[4-9]|[78][0-9]|9[0-5])


96-127
(9[6-9]|1[01][0-9]|12[0-7])


128-159
(12[89]|1[3-5][0-9])


160-191
(1[6-8][0-9]|19[01])


192-223
(19[2-9]|2[01][0-9]|22[0-3])


224-255
(22[4-9]|2[34][0-9]|25[0-5])



DriveImage XML

Excellent Freeware (there is a commercial version as well) tool to image or backup logical drives & partitions sector-by-sector.

http://www.runtime.org/driveimage-xml.htm

Agent Ransack - Free File Searching Utility

Agent Ransack is an awesome File search freeware tool for MS OSes.

http://www.mythicsoft.com/page.aspx?type=agentransack&page=home

Freeware: Phantom CD & Microsoft Virtual CD-ROM


Writable optical discs like CD-R/RW, DVD+-R/RW and Blu-ray BD-RE have a life span of two to five years. They have a recording surface consisting of a layer of dye that can be modified by heat. The degradation process can result in the data "shifting" on the surface and thus becoming unreadable to the laser beam.

To avoid burning your discs every few years, copy the CD, DVD or Blu-ray discs to ISO or BIN/CUE disc images to your hard drive.

Hard drives have their limitations too. However, it is much easier and faster to copy dozens or even hundreds of disc image files to a new hard drive than to burn dozens of new CD's or DVD's. 

These two CD emulating software solutions are what I use on Windows machines:

  1. Phantom CD
    Download it from the developer's site:
    http://www.phantombility.com/en/prod/phantomcd/download/
  2. Microsoft's Virtual CDROM software can’t be found via a regular search on Microsoft Downloads. This is a free program (Unsupported by Microsoft PSS) for Windows XP, 2000 and 2003 that lets you create a virtual CD drive on your hard disk. Supported file formats are: .udf; .cdfs; .jo; .iso; .rock. It weighs only 60KB in size.
MS Virtual CD software Installation instructions (copied from the included Readme)
  • Copy VCdRom.sys to your %systemroot%\system32\drivers folder.
  • Execute VCdControlTool.exe
  • Click “Driver control”
  • If the “Install Driver” button is available, click it. Navigate to the %systemroot%\system32\drivers folder, select VCdRom.sys, and click Open.
  • Click “Start”
  • Click OK
  • Click “Add Drive” to add a drive to the drive list. Ensure that the drive added is not a local drive. If it is, continue to click “Add Drive” until an unused drive letter is available.
  • Select an unused drive letter from the drive list and click “Mount”.
  • Navigate to the image file, select it, and click “OK”. UNC naming conventions should not be used, however mapped network drives should be OK.

Quick HTTP to HTTPS - Apache2

There are several methods for redirecting your Apache-based website visitors who might type your servers URL using the plain (non-secure) HT...