Category Archives: Programming Languages
Use Perl’s regex to count the # of words in a file
In the below code I use Perl’s regex capabilites to count the # of words in a file. Notice I used “\s” in the regex expression to account for not only spaces but also tab and new line characters. In … Continue reading
How Perl/Python Scripts on Force10 S60 Switches Can Access the Internet
Let’s say you have a Force10 S60 switch [FTOS 8.3.3.4] hooked-up at a datacenter that currently has a console connection connected to a management switch that provides external Internet access. The natted IP address is 10.0.8.10/24 and the external IP … Continue reading
Using the VI Java API with VMware ESXi
Earlier this year, when I first thought to test out the VI Java API, I estimated I would spend several hours learning the API just to write a simple test program. I was surprised when in less than two hours, … Continue reading
Oracle – Running with Java
Today at the “Bay Area JUG Roundup 2010” at Oracle’s office in Redwood City, I got my first glimpse into what the future of Java may be under Oracle. It was a fun event and a good sign that Oracle … Continue reading
UC Berkeley Java Certification
I just finished up my last class to get the UC Berkeley Java Certificate. The program is offered by UC Berkeley Extension, an arm of UC Berkeley. The program consists of taking and passing three Java programming courses spanning 90 … Continue reading
SproutCore with Google App Engine and Chrome
Yesterday I participated in a Google User Group Meeting at Google where presentations were made regarding SproutCore (a JavaScript framework) and Google App Engine. In this blog I will mainly focus on SproutCore as that was the main discussion topic … Continue reading