Peacock Software Blog Posts

Silk Icon Set Made Easy

If you are anything like me, you find yourself using the Silk icon set (from famfamfam) all the time.  The icons are very smooth and modern-- in fact, you will find a few on this site.

But, they are often difficult to pick what you want, because you have to load the index in one screen, then find the file you want in the zip file.

SSH Key Authentication in Eclipse

I love Aptana as a PHP IDE which lets me edit remote files, through an SSH/SFTP connection.  However, at the time of this writing, it does not support every kind of SSH exchange algorithm.  When it hits a snag, the exact error message it gives is "No suitable key exchange algorithm could be agreed."  I found this was the case on Acquia servers.

While this can be fixed at the server level, if you are working for a client who does not have access at that level (For example, on an Acquia server), you just can't use Aptana.

Which is where regular old Eclipse comes back into play. - Great for Small Business Finances

This post isn't really about IT or programming, but I thought it could help some folks out anyway.  I am a freelance developer, and like a lot of freelancers, I need an easy system for keeping track of my finances.  I believe I found that in the free web site

Let me state for the record that I am not paid by Wave, nor am I in any way connected to this company.  All I can say is that in my own experience, it has made keeping track of purchases & invoices a lot easier.

Best Screenshot Software Hands-Down

If you find yourself sending a lot of screenshots to clients or colleagues, I can't recommend enough the program "Greenshot".  It's free and open source, and allows you to very quickly and easily capture just regions of your screen, certain windows, etc.

You can then either save your screenshot directly, or edit it in a basic image editor which lets you draw arrows, rectangles, and even blur regions-- very handy if you are sending sensitive information.

The Benefits of Virtual Servers Over Physical Servers

If you are considering a new startup or have an existing business with a physical server somewhere on-site (in a closet or something similar), you should consider the benefits of using a virtual server instead.

Full disclosure: I have used the virtual server company before, though I am not being paid by them and receive no benefit from my endorsement.

Let me break it down simply, by price:

At the time of this writing, a basic capable Linode virtual server costs $20/month.  Through my own benchmarking tests, I've found its processor speed to be comparable with a modern medium-priced physical server.

Shortcut to Chrome With Completely Different Configurations

If you have multiple gmail accounts, and would like a desktop shortcut to launch Chrome with completely different configurations (including different logged-in users), there are a couple different ways you can do this.  The following technique is what I used, so I could have a shortcut on my Windows desktop specifically for 1 gmail account, that was always logged in and separate from my normal instance of Chrome, where my personal gmail account was always logged in.

Easily Scan to PDF

In the business world, we frequently have a need to create PDF documents which can then be emailed around (for example, contracts and proposals).  The alternative would be to use an old-fashioned fax machine; something most average users do not want to keep up with.  However, many scanning programs do not make it easy to save a multi-page PDF document, instead forcing you to deal with several JPG files or something similar.

I would like to introduce to you my favorite method of scanning to PDF:  "NAPS", which stands for "Not Another PDF Scanner."  It's free, simple, and works with every scanner I've found.  Once you scan your pages, you can easily reorder them if you like, and then save the collection of pages to PDF (or directly email if your workstation is set up with an email client).

Java Associative Arrays (Sort Of)

Ever wish that Java had associative arrays (aka assoc arrays) like in PHP?  As in, $x["name"] = "Bill" ?  Well, I created a helper class for Java which comes close to approximating it.  It can even loop through it similar to foreach().

ipad-java.jpgI call the class PseudoAssocArray, because it actually uses a HashMap to do the behind the scenes work. 

Click here to download the source file (CC BY 3.0 "Open Source" license)

Simply download and import the file in your project, then use it like so:


Dropbox and Programming - A Match Made in Heaven

For those that don't know, Dropbox is a free service which lets you share a folder across multiple computers, even with different OSes like Mac, Windows, and Linux.  It's great for keeping all your personal files with you on both your work and home PC (without the need for a USB drive).  But where it really shines for me is when it comes to programming.

Dropbox-Review-2.jpgProgramming from multiple computers is always a bit of a pain.  What I used to do is keep all my source files on a USB drive, and just have to remember to carry it with me every where I go.  I'm always worried about breaking or losing it, so I have to back it up frequently.