Blog Archives
Search Blog Archives
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
Posted in Perl, Programming Languages
Tagged count words, file word count, file word counter, open file, perl, perl close file, perl code, perl file input, perl open file, perl read file, perl regex, perl regular expressions, perl word count code, regex, regex expression, regular expressions, whitespace, word counter
Leave a comment
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
Posted in Force10 Networks, Labs, Networking, Perl, Programming Languages, Python, Technology
Tagged console, default route, external Internet access, Force10, Force10 Networks, management interface, management port, management route, management switch, nat, natted IP, perl, Python, router, S60, S60 Switch, switch
Leave a comment
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
Posted in Java, Programming Languages, Technology, Virtualization and Cloud Computing
Tagged ESX, ESXi, VI Java API, VI SDK, virtual machine, vmware
5 Comments
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
Posted in Bay Area JUG Roundup 2010, Java, Programming Languages, Tech Events, Technology
Tagged Bay Area JUG Roundup 2010, IBM, James Gosling, Java, JUG, Oracle, Sun, Sun Microsystems, Tiobe Index
Leave a comment
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