The world of online marketing is split into two separate and occasionally difficult to distinguish groups: The first has legitimate products and services and attempts to spread the word about their products and services to the attention of the masses. The second sprays the internet with unsolicited garble and hopes that enough suckers will click thereon to justify their sad existance. Predominantly, they peddle pills, porn, or poker.
The other day, several clients from up north came to visit as we helped them launch a new marketing product. As they sat watching me pound out code on my computers, they were quite curious about my three monitors. They watched me flow back and forth amongst the three, changing this, checking that, saving here, reloading there… normal operations for me, but not for them. One, who had some previous programming experience, asked if I preferred Linux to Windows. I replied that both had their uses and so I was using both. He was somewhat taken aback by my statement and looked closer at my monitors.
March 19th 2009, Microsoft released IE8 to the general public and made it available for Windows updates. The good news with this version of IE is it includes improved standards support. However for many of you who’s websites were designed with frontpage, word, or powerpoint, you may find that your website no longer displays correctly. Some websites will be viewable by using the compatibility mode, but even that will not solve all the problems.
In the realm of internet marketing, one can not with impunity ignore Google and it’s pay-per-click search listings known only as “AdWords”. Optimization of your Google AdWords campaign is critical to surviving and can save you untold thousands. There are many tips and tricks you can find about AdWords optimization, most of them are worth looking into. In my experience though, the best boost our AdWords campaign ever got was the placement of the Google Checkout badge beneath our ads. Continue reading →
When running a shared hosting environment, it is impossible to stay competitive without the use of some form of control panel. And in the world of linux shared web hosting, no control panel is as widely used as cPanel Inc‘s cPanel/WHM combo. The Cpanel team has put a lot of time and effort into the remote administration of WHM, and through that Cpanel. With a little ingenuity and not much work, really, this API can be extended to include any functions you can imagine, up to and including the system administration of the machine itself. So lets look at the basics thereof. Continue reading →
The art of debugging differs, some, with each language and it’s specific tools. Perl provides an interesting challenge to programmers since it, like most linux-originating languages, has no real IDE wherein it can be debugged step by step with breakpoints and like methodologies. Instead, the perl programmer must resort to using print statements, logging mechanisms, and then there is the __END__. Continue reading →
PowerShell’s switch statement is similar to an if statement though easier to implement when you want to evaluate numerous conditions. You can use the switch statement to automate tasks such as retrieving System event log entries and performing actions based on the type of entry, and or moving and deleting files based on their file names.
This week’s lesson builds on last weeks tutorial but introduces the For statement. The For statement uses a counting loop that processes and continues through a collection as long as the condition equals true. Similar to If statements, the for statement includes a conditional code block and a script block. However you will see that the conditional code block is far more complex.
There are several ways to control the flow of code within your powershell scripts. The if, for, and while statements are used to define conditions and the actions to happen when the conditions are met. In this blog I’ll focus specifically on the if statement.