IT Support vs Management

Posted by batman on Feb 27th, 2010
2010
Feb 27

A man in a hot air balloon realized he was lost. He reduced altitude and spotted a woman below. He descended a bit more and shouted, “Excuse me, can you help me? I promised a friend I would meet him an hour ago, but I don’t know where I am.”

The woman below replied, “You’re in a hot air balloon hovering approximately 30 feet above the ground. You’re between 40 and 41 degrees north latitude and between 59 and 60 degrees west longitude.

“You must be in IT Support” said the balloonist.

“I am,” replied the woman, “How did you know?”

“Well,” answered the balloonist, “everything you told me is technically correct, but I’ve no idea what to make of your information, and the fact is I’m still lost. Frankly, you’ve not been much help at all. If anything, you’ve delayed my trip.”

The woman below responded, “You must be in Management.”

“I am,” replied the balloonist, “but how did you know?”

“Well,” said the woman, “you don’t know where you are or where you’re going. You have risen to where you are due to a large quantity of hot air. You made a promise, which you’ve no idea how to keep, and you expect people beneath you to solve your problems. The fact is you are in exactly the same position you were in before we met, but now, somehow, it’s my fault.”

Technorati :
Del.icio.us :
Zooomr :
Flickr :

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit
  • humour
  • Comments Off on IT Support vs Management

Apache ANT – javac classpath

Posted by batman on Feb 27th, 2010
2010
Feb 27

Have you ever wondered exactly what the classpath is you’re using when compiling your java classes using the ant task “javac”? Well, here’s a useful little addition that can easily be added to your ant builds. It’s really no rocket science, but just provides a “visual” listing of the contents of the classpath.

<target depends="_setup" name="_compile" />
      <pathconvert property="echo.path.compile" pathsep="${line.separator}| |--" refid="project.class.path"></pathconvert>

      <echo message="|-- compile classpath" />
      <echo message="| |" />
      <echo message="| |-- ${echo.path.compile}" />

      <javac debug="${compile.debug}" srcdir="src" target="1.5" destdir="build" source="1.5">
             <classpath refid="project.class.path" />
      </javac>
</target>

Output similar to the following can be expected:

init:
compile:
|-- compile classpath
|   |
|   |-- /home/bruce/projects/quartz/lib/activation.jar
|   |-- /home/bruce/projects/quartz/lib/log4j.jar
|   |-- /home/bruce/projects/quartz/lib/mail.jar
|   |-- /home/bruce/projects/quartz/lib/commons-cli-1.1.jar
|   |-- /home/bruce/projects/quartz/lib/commons-configuration-1.5.jar
|   |-- /home/bruce/projects/quartz/lib/commons-dbutils-1.1.jar
|   |-- /home/bruce/projects/quartz/lib/commons-dbcp-1.2.2.jar
|   |-- /home/bruce/projects/quartz/lib/commons-pool-1.3.jar
|   |-- /home/bruce/projects/quartz/lib/commons-io-1.3.2.jar
|   |-- /home/bruce/projects/quartz/lib/commons-lang-2.3.jar

Powered by Zoundry Raven

Technorati :
Del.icio.us :
Zooomr :
Flickr :

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit
  • ant , howto , java
  • Comments Off on Apache ANT – javac classpath

Record JMeter Web TestPlan

Posted by batman on Feb 27th, 2010
2010
Feb 27

These steps should help you to record a Test Plan for browsing a website.

  • run JMeter
  • add a Thread Group to the Test Plan
    • add a Recording Controller to the Thread Group
    • add a Http Request Defaults to the Thread Group
    • add a Http Cookie Manager to the Thread Group
  • modify Http Request Defaults:
    • set protocol=http
    • set server name=
    • set path=/
    • set port number=80
  • add Http Proxy Server in Workbench
    • set port :8999 (can be anything – but use the same one in your browser)
    • set Target Controller ( Thread Group > Use Recording Controller)
  • save your Test Plan
  • open your browser
    • set proxy=localhost; port=8999
  • click on Start in JMeter
  • click on the links you would like to be recorded
  • click on Stop in JMeter
  • these links should have been recorded by JMeter
  • reset the proxy settings in your browser

Technorati :
Del.icio.us :
Zooomr :
Flickr :

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit
  • howto , java
  • Comments Off on Record JMeter Web TestPlan

Apache JMeter

Posted by batman on Feb 27th, 2010
2010
Feb 27

Apache JMeter is a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.

jakarta.apache.org/jmeter

Technorati : ,
Del.icio.us : ,
Zooomr : ,
Flickr : ,

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit
  • java
  • Comments Off on Apache JMeter

Quartz Enterprise Job Scheduler

Posted by batman on Feb 27th, 2010
2010
Feb 27

Quartz is a full-featured, open source job scheduling system that can be integrated with, or used along side virtually any J2EE or J2SE application – from the smallest stand-alone application to the largest e-commerce system.

Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even tens-of-thousands of jobs; jobs whose tasks are defined as standard Java components or EJBs. The Quartz Scheduler includes many enterprise-class features, such as JTA transactions and clustering.

Quartz is freely usable, licensed under the Apache 2.0 license.

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit
  • java
  • Comments Off on Quartz Enterprise Job Scheduler

Gorilla Password Manager

Posted by batman on Feb 27th, 2010
2010
Feb 27

Download Password Gorilla as a platform-independent, ready-to-run Starkit (239 kB).

To run the Password Gorilla Starkit, you need a Tclkit for your platform. Tclkits exist for
many operating system, including Windows, Mac OS X, Linux, FreeBSD and others. (Mac OS X note: you need the Wishkit, not the Tclkit.)

Follow the link to the “Download” section in the right-hand menu, and then to the “download area.” Use any “8.4” version.

Don’t forget to assign execute permission to the tclkit after downloading, i.e., chmod +x tclkit

After following the installation instructions for tclkit, you should be able to run Password Gorilla by typing

tclkit gorilla-1.4.kit

at the console. If desired, rename the “.kit” file as “gorilla”, assign execute permission
(i.e. chmod +x gorilla), and move both tclkit and “gorilla” to a directory in your “$PATH”.
After that exercise, Password Gorilla can be started by typing gorilla at a console.

Note: default builds of tclkit come without support for internationalization, but only with support for the ASCII and ISO-8859-1 character sets. To use Password Gorilla with other character sets, use the source code below.

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit
  • software
  • Comments Off on Gorilla Password Manager

Birth of a website

Posted by batman on Feb 27th, 2010
2010
Feb 27

Introduction

There are literally hundreds of ways of doing this, with many offerings and services. I’m not claiming any of them to be the best – merely sharing the specific route that I followed – what worked for me, and what didn’t.

Register a domain

I used GoDaddy to register my domain (www.brucewaynehart.com). I paid 9.99 USD, which is annually renewable.

Hosting

I used Servage to host my domains. I paid 6.49 USD per month (I opted for the 6 month option, but will definitely renew after that). This includes 510GB of diskspace, 5010GB of data transfer per month, unlimited domains, virtual hosting, FTP, several useful automated installer scripts e.g. wordpress, mediawiki, openbook, etc.. and their response times are very good.

You will need to bring your domain across to your hosting provider – they will provide you with DNS settings (Name Servers) – that you will need to take back to the place where you registered your domain. You can also register a domain with servage, altho i only found that out later…

Site Statistics

I used StatCounter to monitor the traffic on my site. Its free, but offers a professional and really comprehensive service. Features include number of visits, number of distinct visitors, maps of visitors, statistics per site per day,week, month, etc.. It really provides all that I need.

Start a Blog

I uploaded the latest WordPress 2.5 to my servage host (you can use one of their existing installers, but they do not as yet provide the latest wordpress). Its very easy to upload a few themes and plugins, and you can be blogging away in minutes.

Content Duplication

Tempting though it may be to copy, or “steal content from other sites, don’t do it. The SEO’s are wise to it, and there are some very smart tools out there that can detect duplication in a whisker. They will penalise your site because of this which will harm your page rank, and ultimately affect the traffic to your site. Look at CopyScape as an example. Even changing words in a block of text doesn’t help – they’ve got really advanced tools out there.

Increase Traffic

  • submit your site to the search engines e.g. Google, Yahoo or Ask.com
  • submit your blog to a few of the blog directories out there Technorati, Blogging Fusion or Blog Catalog, or 20 Essential Blog Dirs,
  • provide as many links TO your site as possible e.g. from other blogs, social networks e.g. Facebook, LinkedIn. And the higher ranked they are, the better.
  • leave comments on other blog articles, making sure to leave a link back to your blog. please ensure that your comments are legit and sincere – no blogger likes a spammer leaving his trail of trash at the end of any of his articles…
  • advertise your blog – if you can make a mention in your company’s newsletter, the signature at the end of your emails, messages to user groups and forums, messages sent to your contacts in social networks, etc…
  • BUT PLEASE DON’T BECOME A SPAMMER!!!!!!!

Making Money

Googles Adsense is one of the leading ads programs out there. How does it work? Well first of all people will pay Google money to advertise their products. What Adsense does is to display relevant ads on your site, and Google will pay you for displaying these ads, or for when people click on ads on your site. Simple really. Admittedly its not that easy to make serious amounts of money – but you have to start somewhere.

Powered by Zoundry Raven

Technorati : , , , ,
Del.icio.us : , , , ,
Zooomr : , , , ,
Flickr : , , , ,

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit
  • blog
  • Comments Off on Birth of a website

Install VMWare Tools

Posted by batman on Feb 27th, 2010
2010
Feb 27

The following procedure shows how to extract and install the VMware Tools image from the VMware Workstation “tarball” (.tar.gz file).

Is it legal to do this? According to this thread, yes.

1. Download the latest “Archived Version” of VMware Workstation in .tar.gz format at http://www.vmware.com/download/ws/. You do not need to be registered nor have a VMware Workstation license key to download this version.

Example:
$ wget http://download3.vmware.com/software/wkst/VMware-workstation-5.5.0-18463.tar.gz

2. Locate and extract the linux.iso VMware Tools image from the tarball.

Locate the linux.iso file (example):
$ tar ztvf VMware-workstation-5.5.0-18463.tar.gz | grep linux.iso
vmware-distrib/lib/isoimages/linux.iso

Extract the linux.iso file (example):
$ tar zxvf VMware-workstation-5.5.0-18463.tar.gz vmware-distrib/lib/isoimages/linux.iso

3. Mount the linux.iso file as a loopback file system, and either share the loopback file system with Samba, or copy the VMware Tools files to a location accessible by your guest system.

$ mkdir /tmp/vmware_tools
$ mount -o loop linux.iso /tmp/vmware_tools

4. In your guest system, run vmware-install.py from the VMware Tools directory.

Technorati : , , ,
Del.icio.us : , , ,
Zooomr : , , ,
Flickr : , , ,

Technorati : , , ,
Del.icio.us : , , ,
Zooomr : , , ,
Flickr : , , ,

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit
  • howto
  • Comments Off on Install VMWare Tools

java.text.SimpleDateFormat

Posted by batman on Feb 27th, 2010
2010
Feb 27
Let  Date or Time          Component   Presentation Examples          
G Era designator Text AD y Year Year 1996; 96 M Month in year Month July; Jul; 07 w Week in year Number 27 W Week in month Number 2 D Day in year Number 189 d Day in month Number 10 F Day of week in month Number 2 E Day in week Text Tuesday; Tue a Am/pm marker Text PM H Hour in day (0-23) Number 0 k Hour in day (1-24) Number 24 K Hour in am/pm (0-11) Number 0 h Hour in am/pm (1-12) Number 12 m Minute in hour Number 30 s Second in minute Number 55 S Millisecond Number 978 z Time zone General GMT-08:00 Z Time zone RFC 822 -0800

Technorati : ,
Del.icio.us : ,
Zooomr : ,
Flickr : ,

Technorati : ,
Del.icio.us : ,
Zooomr : ,
Flickr : ,

Share and Enjoy:
  • Facebook
  • Twitter
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • laaik.it
  • Google Buzz
  • Technorati
  • Slashdot
  • Reddit
  • java
  • Comments Off on java.text.SimpleDateFormat

« Prev