3 Basic Google Search Tips

January 22, 2013 - 4:25pm
Searching the web can be frustrating if you don't know how to filter out entries irrelevant to your query. Here are three quick tips that will help you earn your first merit badge for web searching. (Note: these tips assume you are entering your search at www.google.com but the tips will also work with bing or yahoo.) 1. Omit keywords with the dash (-) character. Sometimes we want to ensure a...

Browse the internet faster and safer with Chrome

January 15, 2013 - 12:44pm
This article is part of my tech blog posts for hamlethub.com. You're probably familiar with Google the search engine. But did you know that Google also offers a web browser? In fact, the engineers at Google have spent a significant amount of effort crafting a browser worthy to compete among IE, Firefox, Safari and Opera. Their goal was to create a browser that is fast and simple to use. In my...

Brew

December 13, 2012 - 5:48pm
The brew manager needs files in /usr/local/share to be writeable by the user who runs brew. In the case of my user, 'alan' in macosx, I changed the group ownership of all files under /usr/local/share to admin of which my user belongs to. MacOSX is POSIX compliant which means that nothing is installed under /usr/local by default; /usr/local is brew's default PREFIX. Key commands: $brew update $...

the unix man command

December 13, 2012 - 5:35pm
In Mac OS X, the man command is configured with a combination of commandline switches, environment variables and settings in the /private/etc/man.conf file. Under Mac OS X Mountain Lion, the user's bash shell's default configuration does not define a MANPATH variable. Running man with the -d option provides useful debugging information when trying to figure out what MANPATH is being used. $man -d...

A Tour of the Mac OS X /bin directory

December 13, 2012 - 3:57pm
On my copy of Mac OS X Mountain Lion, the /bin directory contains 38 binaries. [ the condition evaluation utillity. Used in shell scripting to evaluate expressions. Is exactly the same at the 'test' utility. bash a popular unix shell cat a utility that reads the contents of files and writes them out to STDOUT. cat can number lines with the n switch: cat -n <filename> chmod modifies the...

Managing the costs of a web development project.

August 1, 2012 - 12:38pm
"How much will this website cost me?" is a very common question I field from clients. Much to their disappointment, there is no simple answer; there is no generic dollar figure. The real answer is much less glamorous : "it depends." But then what is it exactly that the cost depends on? Actually the cost is highly dependent on the client's priorities. Clients may prioritize high quality over...

How to remove all data from my iPhone 4

June 26, 2012 - 2:57pm
I've recently upgraded my iphone 4 to the iphone 4 S as my old iPhone has had more than its fair share of fights with gravity. The process to migrate between the data from one iPhone to another is as simple as backing up your old phone with iTunes, connecting the new phone and then restoring the backup. That process was easy and has been well documented with apple's support site. What I was...

CSS menus

August 31, 2010 - 11:09pm
For the longest time I had been battling css menus with floating LIs. If the LI has within it normal text, instead of an image, each browser will indefinitely display the LI's with different widths because each font will be displayed differently. I either ended up usually giving fixed widths to each of the LIs, (which sort of defeated the purpose), or ended up with the entire menu being short of...

Learning Javascript Through Negative Example

June 24, 2010 - 11:09am
The last couple weeks I've spent learning a client-side Javascript application framework, sproutcore. In the process, I took the opportunity to take a refresher on my javascript skills. A decade and a half after the emergence of Javascript, there is still a tremendous amount of confusion, even among developers, between Javascript (an awesome scripting language that is built into web browsers)...

Read notes as html

June 17, 2010 - 3:04pm
I tend to keep a lot of notes around my ~/docs directory. They are formatted in Pandoc Markdown because it's easy to type and easy to read. However, sometimes the notes get fairly extensive, and it's nice to be able to read them as html in a web browser rather than in the terminal window. To that end, I wrote up this little tool that I call vah -- "View As HTML". All it does is orchestrate the...

Old Greenwich, CT 06870 - (914) 275 5520