May 2010

Perl LWP UserAgent Example: Get Picture Using LWP

Perl LWP UserAgent is an amazing tool for automating web queries. Here is the simple text to get HTTP or FTP data using the Perl LWP UserAgent:

Read the full article →

Perl LWP UserAgent Example: Get a http or ftp data

Perl LWP UserAgent is an amazing tool for automating web queries. Here is the simple text to get HTTP or FTP data using the Perl LWP UserAgent:

Read the full article →

Perl Shorthand If Clause

Perl has a ton of short hand features. One that a lot of non-beginners use, and that I forget frequently, is the perl short hand if clause. This tutorial will show you how to use the shorthand if clause in perl:

Read the full article →

0x800704b3 Error – ReadyNAS Windows 7

How to Fix the 0x800704b3 Error with the ReadyNAS Duo and Windows 7

Read the full article →

How to Disable the Home Group Service

This article will show you how to disable homegroup in windows 7/vista – and what services required by this cruddy feature.

Read the full article →

SSH Security Checklist

SSH Security is easy. Edit the /etc/ssh/sshd_config and review the following ssh security checklist:

Read the full article →

ssh timeout

SSH Timeout If SSH timeout is bugging you, here is how to increase the timeout for the ssh shell: On the Server: sudo vim /etc/sshd_config #add this line for server side keep alives every 60s: ClientAliveInterval 60 On the Client: sudo vim /etc/ssh_config #add this line to send keep alives from client to server every […]

Read the full article →

Best Free Anti Virus

“Best” Free Anti Virus is subjective – you and I may disagree on which Anti Virus does the “Best” at removing spyware, malware, viruses etc. In reality you need an arsenal – something designed to do each job very well. The one I use on my personal computers for Anti Virus is Avast. The reasons for this choice are listed below:

Read the full article →

Perl Script Process a CSV File Line by Line

While the following Perl script probably won’t be used exactly like I used it – you can still benefit from processing files line by line. Here is how you open a file in Perl, process it line by line (instead of slurping the entire file inefficiently) and modify each line as you go:

Read the full article →

sudo vim AFTER you typed

I was looking up how to goto a line in VIM, and found a great article that had the method of going to a line (:1322 if you wanted to go to link 1322), and I found a gem:

Read the full article →