Call: (480) 382-8464

Perl

How to Use PAR with Strawberry Perl

By: James  /  Perl  /  no Comment

If you want to share your cool script with your non scripting buddies, you can convince them to learn perl and install modules, etc. Or you can remote into their machine and do a bunch of work getting stuff working on their machine, or you can use PAR and send them a compiled script.

Read More

Test List of URLs for Fastest Response

By: James  /  Perl  /  no Comment

This Perl script will take a list of URLs and sort them by the fastest ping response.

Read More

Perl Keyword Density Checker

By: James  /  Perl  /  2 Comments

Not so much now, but keyword density used to be a very large factor in determining how well a website ranks. This perl script counts words and tells you what their percentage is:

Read More

Perl Remove Unwanted HTML

By: James  /  Perl  /  no Comment

In case you want to remove the extra email such as spans, div, and other junk from a block of text, you can use HTML::Restrict like this:

Read More

Perl MD5sum Using Digest::MD5

By: James  /  Perl  /  no Comment

There is a binary utility on most flavors of linux that allows you to compare if a file is exactly the same as another. Here is how you get MD5 info using Perl:

Read More

Perl Strip Out hrefs

By: James  /  Perl  /  no Comment

I was importing text into a shopping cart that was provided by the vendor, but they included links back to all their products! I wanted the keywords, but not the links. HTML::TokeParser::Simple did the job:

Read More

Perl MIME::Base64

By: James  /  Perl  /  no Comment

Base64 Encoding allows you to convert a binary file into a text message. Sometimes binary is not allowed to be transmitted. Whatever your reason, here is how you create a Base64 encoded file using Perl:

Read More

Extract IPv4 Address From Text Using Perl

By: James  /  Perl  /  no Comment

I had a list of IP address and wanted to know what they were – but I didn’t want to do a DNS lookup by hand on each. The list I had was really a chunk of text with IPv4 addresses all over in it. Here is how I extracted them for the report:

Read More

Perl Check Open Ports

By: James  /  Perl  /  no Comment

I needed to check a list of jumphosts and see if they were linux or windows. I didn’t want to log in to each one manually and wanted the results of something like nmap saved into a CSV file. I could of grepped through nmap output, but it wouldn’t of formatted the way I wanted. […]

Read More

Perl Convert List of Hostnames to IP4 Addresses

By: James  /  Perl  /  2 Comments

Instead of having to type nslookup over and over, let’s script a solution that queries a list. We can then redirect the output into a file and have a nice, CSV output – all automated.

Read More

Main Offers/Services

Hosting and website related services offered by Digital Crunch:



Managed VPS Hosting

Server Updates, Module/Software Installs, Firewall, Security, Hosting Management, Wordpress - let us manage it for you

Hosted Email

Setup and Maintain Business Class, Secure Email Hosting including spam protection and 25GB of storage space

Linux Consulting

Server Updates, Module/Software Installs, Firewall, Security, Hosting, Wordpress and Apps, anything related to Linux

Managed Newsletters

We broadcast your content to your list, capture leads for you, follow up on schedules, make more sales for you

Website Maintenance

Content updates, menu changes, graphics changes, adding content, getting links, building traffic, building sales funnels

Hosting Tutorials

Tutorials we've written for other customers that like to get their hands dirty and learn about hosting